Skip to content

Commit 20770b3

Browse files
committed
Added script for coding style fixing
1 parent 842b64f commit 20770b3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"require-dev": {
2222
"arachne/coding-style": "~0.2",
23-
"squizlabs/php_codesniffer": "~1.4"
23+
"squizlabs/php_codesniffer": "~2.0"
2424
},
2525
"autoload": {
2626
"psr-4": {

tests/fix.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
cd ./vendor/bin
2+
./phpcbf --standard=../arachne/coding-style/ruleset.xml ../../src
3+
./phpcbf --standard=../arachne/coding-style/ruleset.xml --ignore=_* ../../tests

0 commit comments

Comments
 (0)