mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-30 20:16:48 +00:00
🚨 add auto lint test capability
This commit is contained in:
+5
-1
@@ -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"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user