diff --git a/CHANGELOG.md b/CHANGELOG.md index 8047d86d..e4d50f30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), #### Changed * [#267](https://github.com/shlinkio/shlink/issues/267) API responses and the CLI interface is no longer translated and uses english always. Only not found error templates are still translated. +* [#289](https://github.com/shlinkio/shlink/issues/289) Extracted coding standard rules to a separated package. #### Deprecated diff --git a/composer.json b/composer.json index 8c79a730..898ce0ed 100644 --- a/composer.json +++ b/composer.json @@ -56,8 +56,7 @@ "phpstan/phpstan": "^0.10.0", "phpunit/phpcov": "^5.0", "phpunit/phpunit": "^7.3", - "slevomat/coding-standard": "^4.0", - "squizlabs/php_codesniffer": "^3.2.3", + "shlinkio/php-coding-standard": "~1.0.0", "symfony/dotenv": "^4.0", "symfony/var-dumper": "^4.0", "zendframework/zend-component-installer": "^2.1", diff --git a/phpcs.xml b/phpcs.xml index 40a10e91..ee4221b4 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,53 +1,13 @@ Coding standard - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + bin @@ -55,6 +15,8 @@ data/migrations config public/index.php + + config/params/* public/index.php