Update PHPCompatibility

Comment out installed_paths config to fix error:

    $ ./tests/check_coding_standards.sh
    PHP_CodeSniffer version 3.7.1 (stable) by Squiz (http://www.squiz.net)
    ERROR: Referenced sniff "PHPCS23Utils" does not exist

    Run "phpcs --help" for usage information

    Error: found standard violation(s)
This commit is contained in:
Zach Borboa
2022-09-23 07:59:39 -07:00
parent 3ff53bfbdf
commit 6ce21bb755
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -19,7 +19,8 @@
},
"require-dev": {
"ext-gd": "*",
"phpcompatibility/php-compatibility": "*",
"phpcompatibility/php-compatibility": "dev-develop",
"phpcsstandards/phpcsutils": "@alpha",
"phpunit/phpunit": "*",
"squizlabs/php_codesniffer": "*",
"vimeo/psalm": "*"
+2
View File
@@ -2,7 +2,9 @@
<ruleset name="PSR2Modified">
<!-- Run against the PHPCompatibility ruleset. -->
<rule ref="PHPCompatibility" />
<!--
<config name="installed_paths" value="vendor/phpcompatibility/php-compatibility" />
-->
<!-- Run against the PSR2 ruleset with some exclusions. -->
<rule ref="PSR2">