Skip to content

Commit 4e108a3

Browse files
authored
fix CS (#1054)
1 parent c8cfb93 commit 4e108a3

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
@@ -16,6 +16,7 @@ error.log
1616
/tests/test_app/config/TestsMigrations/schema-dump-test.lock
1717
/tests/test_app/Plugin/TestBlog/config/Migrations/*
1818
.phpunit.cache
19+
.phpcs.cache
1920
.ddev
2021

2122
# IDE and editor specific files #

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
"@stan",
6969
"@test"
7070
],
71-
"cs-check": "phpcs --parallel=16 -p",
72-
"cs-fix": "phpcbf --parallel=16 -p",
71+
"cs-check": "phpcs",
72+
"cs-fix": "phpcbf",
7373
"phpstan": "tools/phpstan analyse",
7474
"stan": "@phpstan",
7575
"stan-baseline": "tools/phpstan --generate-baseline",

phpcs.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?xml version="1.0"?>
22
<ruleset name="CakePHP Core">
3-
<arg value="ns"/>
3+
<arg value="nps"/>
4+
<arg name="colors"/>
5+
<arg name="parallel" value="4"/>
6+
<arg name="cache" value=".phpcs.cache"/>
47

58
<file>src/</file>
69
<file>tests/</file>

0 commit comments

Comments
 (0)