🚨 add auto lint test capability

This commit is contained in:
William Hall
2021-02-03 09:31:27 +00:00
parent d86c73ebff
commit 8b5c61cc1d
+5 -1
View File
@@ -21,7 +21,8 @@
"php": ">=5.6.0"
},
"require-dev": {
"phpunit/phpunit": "@stable"
"phpunit/phpunit": "@stable",
"php-parallel-lint/php-parallel-lint": "^1.2"
},
"suggest": {
"bacon/bacon-qr-code": "Needed for BaconQrCodeProvider provider",
@@ -38,6 +39,9 @@
}
},
"scripts": {
"lint": [
"parallel-lint --exclude vendor ."
],
"test": [
"XDEBUG_MODE=coverage phpunit"
]