Skip to content

Commit 3c309fd

Browse files
authored
Merge pull request #1064 from cakephp/5.x-fix-CS
fix CS
2 parents e3f92a1 + 71fea6a commit 3c309fd

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ nbproject/*
1313
.DS_Store
1414
.cache
1515
.phpunit.cache
16+
.phpcs.cache
1617
.project
1718
.settings
1819
.svn

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
}
6161
},
6262
"scripts": {
63-
"cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
64-
"cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
63+
"cs-check": "phpcs",
64+
"cs-fix": "phpcbf",
6565
"phpstan": "tools/phpstan analyse",
6666
"stan": "@phpstan",
6767
"stan-baseline": "tools/phpstan --generate-baseline",

phpcs.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@
55

66
<rule ref="CakePHP"/>
77

8-
<arg value="s"/>
8+
<arg value="nps"/>
9+
<arg name="colors"/>
10+
<arg name="parallel" value="4"/>
11+
<arg name="cache" value=".phpcs.cache"/>
912
</ruleset>

0 commit comments

Comments
 (0)