Closed sebastianbergmann closed 1 month ago
That's certainly a bug in my parser code.
Triggered by the use of constant named "NAMESPACE":
I'll have look in more detail later.
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.