From ef389f9f7aa7bfc5262ba4949ef9fe7cb2f7e2cd Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 14 Aug 2023 01:39:56 +0100 Subject: [PATCH] build: Restore failing Phan build on PHP 8.0+ Follows-up e68d82fdfcebe. The only reason .phan/stubs/ existed was to replace the Selector.php file with a stub that doesn't cause Phan's parser to crash on PHP 8.0, as per https://github.com/phan/phan/issues/4751. Removing that, brought the fatal back when running `composer phan` on PHP 8.0+ locally (and also on the CI builds at https://github.com/wikimedia/less.php). Change-Id: I913f6b7bc22457aefbac4bbf449dec3e0239d4df --- .phan/stubs/Less_Tree_Selector.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.phan/stubs/Less_Tree_Selector.php b/.phan/stubs/Less_Tree_Selector.php index 6077d06c..14ad2cf7 100644 --- a/.phan/stubs/Less_Tree_Selector.php +++ b/.phan/stubs/Less_Tree_Selector.php @@ -1,5 +1,7 @@