diff --git a/README.md b/README.md index 4b80fa05..cdfa2cab 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Plugin for PHP_CodeSniffer static analysis tool that adds analysis of problemati ### Requirements -VariableAnalysis requires PHP 5.6 or higher and [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) version **3.0.2** or higher. +VariableAnalysis requires PHP 5.6 or higher and [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) version **3.1.0** or higher. ### With PHPCS Composer Installer diff --git a/composer.json b/composer.json index c7ec8443..dfe8bea7 100644 --- a/composer.json +++ b/composer.json @@ -35,13 +35,13 @@ "phpstan": "./vendor/bin/phpstan analyse -l 7 VariableAnalysis" }, "require" : { - "php" : ">=5.6.0" + "php" : ">=5.6.0", + "squizlabs/php_codesniffer": "^3.1" }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4", "phpunit/phpunit": "^6.5", "sirbrillig/phpcs-import-detection": "^1.1", - "squizlabs/php_codesniffer": "^3.1", "limedeck/phpunit-detailed-printer": "^3.1", "phpstan/phpstan": "^0.11.8" }