Skip to content

Commit 8b5c61c

Browse files
committed
🚨 add auto lint test capability
1 parent d86c73e commit 8b5c61c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"php": ">=5.6.0"
2222
},
2323
"require-dev": {
24-
"phpunit/phpunit": "@stable"
24+
"phpunit/phpunit": "@stable",
25+
"php-parallel-lint/php-parallel-lint": "^1.2"
2526
},
2627
"suggest": {
2728
"bacon/bacon-qr-code": "Needed for BaconQrCodeProvider provider",
@@ -38,6 +39,9 @@
3839
}
3940
},
4041
"scripts": {
42+
"lint": [
43+
"parallel-lint --exclude vendor ."
44+
],
4145
"test": [
4246
"XDEBUG_MODE=coverage phpunit"
4347
]

0 commit comments

Comments
 (0)