Closed
Closed
iluuu1994 added a commit to iluuu1994/php-src that referenced this pull request
Jul 11, 2020As suggested by Tyson Andre: php#5371 (comment) Also fix line number of unhandled match error
Merged
devengineerikrime pushed a commit to devengineerikrime/PHP-Parser that referenced this pull request
Jul 17, 2023jrfnl added a commit to PHPCompatibility/PHPCompatibility that referenced this pull request
Aug 4, 2023PHP 8.0 introduced match expressions. What with originally still supporting a wide range of PHPCS versions, detection of match expressions would need a lot of custom logic, so this would get a separate sniff (which I had as WIP locally). However, now support for PHPCS < 3.7.1 has been dropped, detection of the keyword can be handled by the `NewKeywords` sniff. Includes the tests I had originally set up for the separate sniff. Refs: * https://wiki.php.net/rfc/match_expression_v2 * php/php-src#5371 * php/php-src@ 9fa1d13 Related to 809
jrfnl
mentioned this pull request
Merged
sdevtop100-dot added a commit to sdevtop100-dot/php-parser that referenced this pull request
Feb 17, 2026adrian-enspired pushed a commit to adrian-enspired/php-src that referenced this pull request
Aug 4, 2026adrian-enspired pushed a commit to adrian-enspired/php-src that referenced this pull request
Aug 4, 2026