mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-09-11 01:46:41 +00:00
add phpstan
This commit is contained in:
+5
-1
@@ -21,7 +21,8 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "@stable",
|
||||
"friendsofphp/php-cs-fixer": "^3.13"
|
||||
"friendsofphp/php-cs-fixer": "^3.13",
|
||||
"phpstan/phpstan": "^1.9"
|
||||
},
|
||||
"suggest": {
|
||||
"bacon/bacon-qr-code": "Needed for BaconQrCodeProvider provider",
|
||||
@@ -38,6 +39,9 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"phpstan": [
|
||||
"phpstan analyze --xdebug lib tests testsDependency"
|
||||
],
|
||||
"lint": [
|
||||
"php-cs-fixer fix -v"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user