PHPCompatibility / PHPCompatibility

PHP Compatibility check for PHP_CodeSniffer

Home Page:http://techblog.wimgodden.be/tag/codesniffer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trailing commas in functions are not detected

ivanomatteo opened this issue · comments

When checking 8.0 code for compatibility against 7.x version, Trailing commas in functions arguments/use are not detected.

https://php.watch/versions/8.0/trailing-comma-parameter-use-list

This was already fixed in #1164 and #1190. Please use the develop branch for detection of PHP 8+ features (until PHPCompatibility 10.0.0 has been released).

Also see #809, #1299, #1348

P.S.: Also please check the develop branch before opening an issue (and please use the issue templates).