-
-
Notifications
You must be signed in to change notification settings - Fork 205
Closed
Milestone
Description
I get this error every time since i upgraded it to 8.1.0.
PHP Fatal error: Cannot declare class PHPCompatibility\Sniffs\PHP\RequiredOptionalFunctionParametersSniff, because the name is already in use in /home/sagar/Documents/Coding-Standards/PHPCompatibility/PHPCompatibility/Sniffs/PHP/RequiredOptionalFunctionParametersSniff.php on line 236
PHP Stack trace:
PHP 1. {main}() /home/sagar/vendor/squizlabs/php_codesniffer/bin/phpcs:0
PHP 2. PHP_CodeSniffer\Runner->runPHPCS() /home/sagar/vendor/squizlabs/php_codesniffer/bin/phpcs:18
PHP 3. PHP_CodeSniffer\Runner->init() /home/sagar/vendor/squizlabs/php_codesniffer/src/Runner.php:70
PHP 4. PHP_CodeSniffer\Ruleset->__construct() /home/sagar/vendor/squizlabs/php_codesniffer/src/Runner.php:294
PHP 5. PHP_CodeSniffer\Ruleset->registerSniffs() /home/sagar/vendor/squizlabs/php_codesniffer/src/Ruleset.php:217
PHP 6. PHP_CodeSniffer\Autoload::loadFile() /home/sagar/vendor/squizlabs/php_codesniffer/src/Ruleset.php:1103
I degrade the version to 8.0.1 and works fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels