Skip to content

Commit 3815528

Browse files
committed
cleanup CS
1 parent 20d7f1e commit 3815528

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/composer.lock
33
/tools
44
.phpunit.result.cache
5+
.phpcs.cache

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"@cs-check",
4444
"@test"
4545
],
46-
"cs-check": "phpcs --colors --parallel=16 -p",
47-
"cs-fix": "phpcbf --colors --parallel=16 -p",
46+
"cs-check": "phpcs",
47+
"cs-fix": "phpcbf",
4848
"phpstan": "tools/phpstan analyse",
4949
"stan": "@phpstan",
5050
"stan-tests": "phpstan.phar analyze -c tests/phpstan.neon",

phpcs.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
<file>src/</file>
44
<file>tests/</file>
55
<rule ref="CakePHP" />
6+
<arg value="nps"/>
7+
<arg name="colors"/>
8+
<arg name="parallel" value="4"/>
9+
<arg name="cache" value=".phpcs.cache"/>
610
</ruleset>

0 commit comments

Comments
 (0)