We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When looking at the php-8.0-dev tests on GitHub Action, it seems to be failed during PHPUnit test.
php-8.0-dev
The PHPtoken polyfill result is as follows when running IsCheckTest class:
IsCheckTest
['T_OPEN_TAG', true], ['T_COMMENT', true], ['T_DOC_COMMENT', true], ['T_WHITESPACE', true], ['T_FUNCTION', false], ['T_WHITESPACE', true], ['T_STRING', false], ['(', false], [')', false], ['T_WHITESPACE', true], ['{', false],
When running PhpToken::getAll on php-8.0-dev, it will be:
PhpToken::getAll
['T_OPEN_TAG', true], ['T_COMMENT', true], ['T_WHITESPACE', true], // This is different stuff from PHPToken polyfill ['T_DOC_COMMENT', true], ['T_WHITESPACE', true], ['T_FUNCTION', false], ['T_WHITESPACE', true], ['T_STRING', false], ['(', false], [')', false], ['T_WHITESPACE', true], ['{', false],
The text was updated successfully, but these errors were encountered:
I suspect the token_get_all behavior is not same as PhpToken::getAll method.
token_get_all
Sorry, something went wrong.
@Ayesh, do you have any idea about this?
No branches or pull requests
When looking at the
php-8.0-dev
tests on GitHub Action, it seems to be failed during PHPUnit test.The PHPtoken polyfill result is as follows when running
IsCheckTest
class:When running
PhpToken::getAll
onphp-8.0-dev
, it will be:The text was updated successfully, but these errors were encountered: