From 0761e73a07ee3f248f851b61228ea4ced3a40dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Tue, 17 Sep 2024 12:50:26 +0200 Subject: [PATCH] Apply changes from CR --- .gitattributes | 1 - Build/php-cs-fixer/{.php-cs-fixer.php => php-cs-fixer.php} | 0 composer.json | 5 ++--- 3 files changed, 2 insertions(+), 4 deletions(-) rename Build/php-cs-fixer/{.php-cs-fixer.php => php-cs-fixer.php} (100%) diff --git a/.gitattributes b/.gitattributes index 88ab648..05ab302 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,7 +7,6 @@ /.gitlab/ export-ignore /.npmrc export-ignore /.nvmrc export-ignore -/.php-cs-fixer.php export-ignore /.prettierrc.js export-ignore /Build/ export-ignore /Configuration/FunctionalTests.xml export-ignore diff --git a/Build/php-cs-fixer/.php-cs-fixer.php b/Build/php-cs-fixer/php-cs-fixer.php similarity index 100% rename from Build/php-cs-fixer/.php-cs-fixer.php rename to Build/php-cs-fixer/php-cs-fixer.php diff --git a/composer.json b/composer.json index dce00d8..da11816 100644 --- a/composer.json +++ b/composer.json @@ -144,7 +144,7 @@ "@ci:php:sniff", "@ci:php:stan" ], - "ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff", + "ci:php:cs-fixer": "php-cs-fixer fix --config ./Build/php-cs-fixer/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 --standard=Build/phpcs/phpcs.xml Classes Configuration Tests", @@ -177,7 +177,7 @@ "@fix:php:cs", "@fix:php:sniff" ], - "fix:php:cs": "php-cs-fixer fix --config .php-cs-fixer.php", + "fix:php:cs": "php-cs-fixer fix --config ./Build/php-cs-fixer/php-cs-fixer.php", "fix:php:sniff": "phpcbf --standard=Build/phpcs/phpcs.xml Classes Configuration Tests", "phpstan:baseline": "phpstan --generate-baseline --allow-empty-baseline", "prepare-release": [ @@ -195,7 +195,6 @@ "rm .gitignore", "rm .npmrc", "rm .nvmrc", - "rm .php-cs-fixer.php", "rm .prettierrc.js", "rm package-lock.json", "rm package.json",