diff --git a/composer.json b/composer.json index 9b26bb0d..835e40f7 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,8 @@ "squizlabs/php_codesniffer": "*" }, "require-dev": { - "composer/composer": "*" + "composer/composer": "*", + "wimg/php-compatibility": "^8.0" }, "suggest": { "dealerdirect/qa-tools": "All the PHP QA tools you'll need" @@ -40,5 +41,10 @@ }, "extra": { "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + }, + "scripts": { + "install-codestandards": [ + "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run" + ] } } diff --git a/phpcs.xml.dist b/phpcs.xml.dist new file mode 100644 index 00000000..eae3b8b0 --- /dev/null +++ b/phpcs.xml.dist @@ -0,0 +1,17 @@ + + + Coding standards for PHP_CodeSniffer Standards Composer Installer Plugin + + + + + + . + */.github/* + */vendor/* + + + + + +