You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sebastianbergmann
changed the title
Undefined array key 1 in phar:///usr/local/src/phpunit/tools/phpab/phpab/Parser.php on line 425
Parser does not handle (class) constants named NAMESPACEOct 6, 2024
I'm actually inclined to call this a PHP Bug as the token_get_all function claims the constant name to be T_NAMESPACE while it should be T_STRING given the context.
I'm working on trying to find a reliable workaround.
I wanted to build the PHAR for PHPUnit 11.4.0 just now and ran into this issue:
I have not recently updated PHPAB, but I have not seen this warning before.
The text was updated successfully, but these errors were encountered: