add phpstan and configuration

This commit is contained in:
Daniel Seifert 2022-07-21 00:15:04 +02:00
parent 7e43fa1537
commit ff0784ce46
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170
2 changed files with 8 additions and 1 deletions

View File

@ -32,7 +32,8 @@
"require-dev": {
"php": "^7.4",
"phpunit/phpunit" : "^9.5",
"friendsofphp/php-cs-fixer": "^3.9"
"friendsofphp/php-cs-fixer": "^3.9",
"phpstan/phpstan": "^1.8"
},
"autoload": {
"psr-4": {

6
phpstan.neon Normal file
View File

@ -0,0 +1,6 @@
parameters:
paths:
- src
- Tests
level: 0
phpVersion: 70300