Skip to content

Commit 6540b9a

Browse files
authored
Merge pull request #321 from cakephp/3.x-fix-cs
cleanup CS
2 parents 902a245 + 580c5b2 commit 6540b9a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/vendor
88
.phpunit.cache
99
.phpunit.result.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
@@ -67,8 +67,8 @@
6767
"@stan",
6868
"@test"
6969
],
70-
"cs-check": "phpcs --colors -p",
71-
"cs-fix": "phpcbf --colors -p",
70+
"cs-check": "phpcs",
71+
"cs-fix": "phpcbf",
7272
"phpstan": "tools/phpstan analyse",
7373
"stan": "@phpstan",
7474
"stan-baseline": "tools/phpstan --generate-baseline",

phpcs.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
<file>src/</file>
66
<file>tests/</file>
7-
7+
8+
<arg value="nps"/>
9+
<arg name="colors"/>
10+
<arg name="parallel" value="4"/>
11+
<arg name="cache" value=".phpcs.cache"/>
12+
813
<exclude-pattern>tests/comparisons/*</exclude-pattern>
914
</ruleset>

0 commit comments

Comments
 (0)