diff --git a/composer.json b/composer.json index b69aeb1..cc17a9d 100644 --- a/composer.json +++ b/composer.json @@ -23,18 +23,9 @@ "require-dev": { "squizlabs/php_codesniffer": "^2.5", "escapestudios/symfony2-coding-standard": "^2.9", - "wimg/php-compatibility": "^7.0" + "phpcompatibility/php-compatibility": "^9.0", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7" }, - "scripts": { - "default-scripts": [ - "rm -rf vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility; cp -rp vendor/wimg/php-compatibility vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility" - ], - "post-install-cmd": [ - "@default-scripts" - ], - "post-update-cmd": [ - "@default-scripts" - ] - }, - "minimum-stability": "dev" + "minimum-stability": "dev", + "prefer-stable": true } diff --git a/ruleset.xml b/phpcs.xml.dist old mode 100755 new mode 100644 similarity index 69% rename from ruleset.xml rename to phpcs.xml.dist index 3fcb5f3..3785df8 --- a/ruleset.xml +++ b/phpcs.xml.dist @@ -5,10 +5,10 @@ vendor/ Resources/ - - + + - + 0