add phpstan

This commit is contained in:
Daniel Seifert 2022-07-26 16:01:33 +02:00
parent 21fd6e14e7
commit 37c28d5b59
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F
2 changed files with 10 additions and 1 deletions

View File

@ -29,7 +29,8 @@
}, },
"require-dev": { "require-dev": {
"oxid-esales/oxideshop-ce": "~6.10.0", "oxid-esales/oxideshop-ce": "~6.10.0",
"friendsofphp/php-cs-fixer": "^2.19" "friendsofphp/php-cs-fixer": "^2.19",
"phpstan/phpstan": "^1.8"
}, },
"extra": { "extra": {
"oxideshop": { "oxideshop": {

8
phpstan.neon Normal file
View File

@ -0,0 +1,8 @@
parameters:
scanFiles:
- IntelliSenseHelper.php
paths:
- Application
- Modules
level: 0
phpVersion: 80000