Skip to content

Commit cb68684

Browse files
authored
[TASK] Move the PHP-CS-Fixer configuration to Build/ (#2189)
1 parent c33d213 commit cb68684

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
/.github/ export-ignore
55
/.gitignore export-ignore
66
/.phive/ export-ignore
7-
/.php-cs-fixer.php export-ignore
87
/.php_cs.dist export-ignore
98
/Build/ export-ignore
109
/CODE_OF_CONDUCT.md export-ignore

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"check:dynamic": [
127127
"@check:tests"
128128
],
129-
"check:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff",
129+
"check:php:cs-fixer": "php-cs-fixer fix --config ./Build/php-cs-fixer/config.php -v --dry-run --diff",
130130
"check:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
131131
"check:php:rector": "rector process --dry-run",
132132
"check:php:sniff": "phpcs Classes Configuration Tests",
@@ -158,7 +158,7 @@
158158
"@fix:php:cs-fixer",
159159
"@fix:php:sniff"
160160
],
161-
"fix:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php",
161+
"fix:php:cs-fixer": "php-cs-fixer fix --config ./Build/php-cs-fixer/config.php",
162162
"fix:php:rector": "rector process",
163163
"fix:php:sniff": "phpcbf Classes Configuration Tests",
164164
"phpstan:baseline": "phpstan --generate-baseline=Build/phpstan/phpstan-baseline.neon --allow-empty-baseline --configuration=Build/phpstan/phpstan.neon",
@@ -172,7 +172,6 @@
172172
"rm .editorconfig",
173173
"rm .gitattributes",
174174
"rm .gitignore",
175-
"rm .php-cs-fixer.php",
176175
"rm Configuration/FunctionalTests.xml",
177176
"rm Configuration/UnitTests.xml",
178177
"rm crowdin.yml",

0 commit comments

Comments
 (0)