Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin tommcfarlin/00-error.txt Secret

Created Dec 5, 2019
Embed
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
You can’t perform that action at this time.