Skip to content

Commit d6c30fe

Browse files
authored
Merge pull request #776 from cakephp/4.x-fix-CS
cleanup CS
2 parents 4439096 + cb23615 commit d6c30fe

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/tools
88
.phpunit.result.cache
99
.phpunit.cache
10+
.phpcs.cache
1011

1112
# OS generated files #
1213
######################

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969
"@cs-check",
7070
"@test"
7171
],
72-
"cs-check": "phpcs --colors -p",
73-
"cs-fix": "phpcbf --colors -p",
72+
"cs-check": "phpcs",
73+
"cs-fix": "phpcbf",
7474
"phpstan": "tools/phpstan analyse",
7575
"stan": "@phpstan",
7676
"stan-baseline": "tools/phpstan --generate-baseline",

phpcs.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@
44

55
<file>src/</file>
66
<file>tests/</file>
7+
8+
<arg value="nps"/>
9+
<arg name="colors"/>
10+
<arg name="parallel" value="4"/>
11+
<arg name="cache" value=".phpcs.cache"/>
712
</ruleset>

0 commit comments

Comments
 (0)