Skip to content

Instantly share code, notes, and snippets.

Created Dec 5, 2019
What would you like to do?
[PHP] Fix the Referenced PHPCompatibility Sniff Error
ERROR: Referenced sniff "PHPCompatibility" does not exist
The installed coding standards are PEAR, PSR1, Zend, Squiz, PSR12, PSR2, MySource and PHPCompatibility.
"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