-
-
Notifications
You must be signed in to change notification settings - Fork 205
Closed
Labels
Description
When doing phpcs -s . --extensions=php --ignore=vendor/,node_modules/ --standard=PHPCompatibility --runtime-set testVersion 7.2- --exclude=PHP.ForbiddenCallTimePassByReference.NotAllowed getting the error below:
PHP Fatal error: Cannot declare class PHPCompatibility\Sniffs\PHP\RequiredOptionalFunctionParametersSniff, because the name is already in use in /Users/mirzazeyrek/php-projects/PHPCompatibility/PHPCompatibility/Sniffs/PHP/RequiredOptionalFunctionParametersSniff.php on line 228
Fatal error: Cannot declare class PHPCompatibility\Sniffs\PHP\RequiredOptionalFunctionParametersSniff, because the name is already in use in /Users/mirzazeyrek/php-projects/PHPCompatibility/PHPCompatibility/Sniffs/PHP/RequiredOptionalFunctionParametersSniff.php on line 228
I'm able to execute same command without any issues when switching 8.0.1 by doing **git checkout -f 4c4385fb891dff0501009670f988d4fe36785249**
Using:
PHP_CodeSniffer version 3.2.3
mac os high sierra 10.13.3
PHP 7.0.27 (cli)
What could be the issue ?
Reactions are currently unavailable