Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit a1ea7e9

Browse files
committed
Add commands for codesniffer
1 parent 9b723de commit a1ea7e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@
2424
],
2525
"require-dev": {
2626
"squizlabs/php_codesniffer": "^3.10"
27+
},
28+
"scripts": {
29+
"phpcs": "./vendor/bin/phpcs --standard=PSR12 src",
30+
"phpcs:fix": "./vendor/bin/phpcbf --standard=PSR12 src"
2731
}
2832
}

0 commit comments

Comments
 (0)