diff --git a/.gitattributes b/.gitattributes index 59bf335..88ab648 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,7 +18,6 @@ /package-lock.json export-ignore /package.json export-ignore /phive.xml export-ignore -/phpcs.xml export-ignore /phpstan-baseline.neon export-ignore /phpstan.neon export-ignore /rector.php export-ignore diff --git a/phpcs.xml b/Build/phpcs/phpcs.xml similarity index 100% rename from phpcs.xml rename to Build/phpcs/phpcs.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 0108d65..5d28704 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). - Add support for PostgreSQL 16 (#1271) ### Changed +- Move php sniff configuration to Build dir (#1357) - Move xliff configuration to Build xliff dir (#1356) - Move tests configuration to Build dir (#1352) - Stop storing development tool PHARs in the repository (#1277) diff --git a/composer.json b/composer.json index 513b884..d5de972 100644 --- a/composer.json +++ b/composer.json @@ -147,7 +147,7 @@ "ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff", "ci:php:lint": "parallel-lint .*.php *.php Classes Configuration Tests", "ci:php:mess": "phpmd Classes text Build/phpmd/phpmd.xml", - "ci:php:sniff": "phpcs Classes Configuration Tests", + "ci:php:sniff": "phpcs --standard=Build/phpcs/phpcs.xml Classes Configuration Tests", "ci:php:stan": "phpstan --no-progress -v", "ci:static": [ "@ci:composer:normalize", @@ -178,7 +178,7 @@ "@fix:php:sniff" ], "fix:php:cs": "php-cs-fixer fix --config .php-cs-fixer.php", - "fix:php:sniff": "phpcbf Classes Configuration Tests", + "fix:php:sniff": "phpcbf --standard=Build/phpcs/phpcs.xml Classes Configuration Tests", "phpstan:baseline": "phpstan --generate-baseline --allow-empty-baseline", "prepare-release": [ "rm -rf .Build", @@ -202,7 +202,6 @@ "rm package-lock.json", "rm package.json", "rm phive.xml", - "rm phpcs.xml", "rm phpstan-baseline.neon", "rm phpstan.neon", "rm rector.php",