-
-
Save tommcfarlin/757d2eee5c7e21cd0bab8f604d0a95d6 to your computer and use it in GitHub Desktop.
[PHP] Fix the Referenced PHPCompatibility Sniff Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: Referenced sniff "PHPCompatibility" does not exist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The installed coding standards are PEAR, PSR1, Zend, Squiz, PSR12, PSR2, MySource and PHPCompatibility. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"require-dev": { | |
"phpcompatibility/php-compatibility": "*" | |
}, | |
"prefer-stable" : true, | |
"scripts": { | |
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility", | |
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment