Closed as not planned
Description
Is your feature request related to a problem?
incompatibility of PHP-Parser 4.x and 5.x, see nikic/PHP-Parser#981
Describe the solution you'd like
PHP-CS ships with a bunch of polyfill values for Tokens in https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/45c61f55b6ead1a86212c0a75c7a635456a2844e/src/Util/Tokens.php
PHP-Parser 5.x requires these token values to be integers. currently these polyfill tokens contain string values.
PHP-Parser 4.x did not define the value type of these constants.
phpDocumentor contained a similar issue, which was fixed in phpDocumentor/TypeResolver#197
Additional context (optional)
- I intend to create a pull request to implement this feature.