diff --git a/CakePHPOefenweb/ruleset.xml b/CakePHPOefenweb/ruleset.xml index 5cbfe2e..b938575 100644 --- a/CakePHPOefenweb/ruleset.xml +++ b/CakePHPOefenweb/ruleset.xml @@ -1,7 +1,7 @@ Oefenweb Code Sniffer for CakePHP 3 - + @@ -10,4 +10,8 @@ + + + + diff --git a/README.md b/README.md index 007b9cb..8a24ae6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ mkdir CakePHP3Oefenweb && cd $_ && composer require oefenweb/cakephp-codesniffer ```sh vendor/bin/phpcs \ - --config-set installed_paths "${PWD}/vendor/cakephp/cakephp-codesniffer,${PWD}/vendor/oefenweb/cakephp-codesniffer" \ + --config-set installed_paths "${PWD}/vendor/cakephp/cakephp-codesniffer,${PWD}/vendor/oefenweb/cakephp-codesniffer,${PWD}/vendor/phpcompatibility/php-compatibility" \ ; ``` diff --git a/composer.json b/composer.json index b97b380..b3afb2b 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,8 @@ ], "require": { "php": ">=5.4", - "cakephp/cakephp-codesniffer": "^3.0.0" + "cakephp/cakephp-codesniffer": "^3.0.0", + "phpcompatibility/php-compatibility": "^9.0" }, "support": { "issues": "https://github.com/Oefenweb/cakephp-codesniffer/issues",