Skip to content

Commit 3e85433

Browse files
committed
Added linting
1 parent a92f0a0 commit 3e85433

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@
5656
},
5757
"scripts": {
5858
"ensure-installed": "composer install --ansi -n -q",
59+
"lint-php": [
60+
"@ensure-installed",
61+
"parallel-lint --exclude vendor ."
62+
],
5963
"cs": [
6064
"@ensure-installed",
6165
"phpcs --standard=PSR2 src/"
@@ -65,10 +69,12 @@
6569
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml"
6670
],
6771
"qa-all": [
72+
"@lint-php",
6873
"@cs",
6974
"@unit"
7075
],
7176
"qa-windows": [
77+
"@lint-php",
7278
"@cs",
7379
"@unit"
7480
],

0 commit comments

Comments
 (0)