Skip to content

Commit 9b032b1

Browse files
committed
Add phpcs
1 parent e2e0c79 commit 9b032b1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

composer.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
}
2828
},
2929
"require-dev": {
30-
"vimeo/psalm": "^4.21"
30+
"vimeo/psalm": "^4.21",
31+
"squizlabs/php_codesniffer": "^3.6"
3132
},
3233
"config": {
3334
"sort-packages": true,
@@ -36,7 +37,10 @@
3637
}
3738
},
3839
"scripts": {
39-
"psalm": "psalm --no-cache"
40+
"test": [
41+
"psalm --no-cache",
42+
"phpcs --standard=phpcs.xml"
43+
]
4044
},
4145
"extra": {
4246
"branch-alias": {

0 commit comments

Comments
 (0)