PHP-Parser: No longer to parse PHP 7.4 syntax in php parser
The following file is valid PHP 7 syntax, however php parser rejects it:
<?php
class Match {}
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 13
- Comments: 21 (21 by maintainers)
Commits related to this issue
- Remove PHPUnit dependency from example scripts This makes examples independent from tests and fixes the following psalm error: ERROR: ParseError - vendor/phpunit/phpunit/src/Framework/MockObject/Bui... — committed to tarantool-php/client by rybakit 4 years ago
- Remove PHPUnit dependency from example scripts This makes examples independent from tests and fixes the following psalm error: ERROR: ParseError - vendor/phpunit/phpunit/src/Framework/MockObject/Bui... — committed to tarantool-php/client by rybakit 4 years ago
- Remove PHPUnit dependency from example scripts This makes examples independent from tests and fixes the following psalm error: ERROR: ParseError - vendor/phpunit/phpunit/src/Framework/MockObject/Bui... — committed to tarantool-php/client by rybakit 4 years ago
- Add a conflict with nikic/php-parser (see #2002) Description ----------- As of version 4.7, the PHP parser supports PHP 8 match expressions, which unfortunately [breaks PHPUnit](https://github.com/n... — committed to contao/contao by leofeyer 4 years ago
- supress issues relating to nikic/php-parser#690 — committed to bapcltd/php-imap by bapcltd-marv 4 years ago
- Add conflict to nikic/php-parser 4.7.0 as it issues with the term match SPBCC-11 https://github.com/nikic/PHP-Parser/issues/690 — committed to HEPTACOM/heptaconnect-dataset-base by JoshuaBehrens 4 years ago
- Add a conflict with nikic/php-parser (see #2002) Description ----------- As of version 4.7, the PHP parser supports PHP 8 match expressions, which unfortunately [breaks PHPUnit](https://github.com/n... — committed to AlexejKossmann/contao by leofeyer 4 years ago
Yeah, I wanted to suggest Emulative lexer to be configurable with a PHP version but unfortunately spilled water on my Macbook during preparing a PR for that and killed it on Wednesday 😂