[Added] phpstan + phpstan file

This commit is contained in:
MaxBUhe 2024-01-02 11:54:07 +01:00
parent e2564f613a
commit 6047f72edf
2 changed files with 7 additions and 6 deletions

View File

@ -45,8 +45,9 @@
}, },
"require": { "require": {
"php": ">=7.1", "php": ">=7.1",
"oxid-esales/oxideshop-ce": "v6.0 - 6.3", "oxid-esales/oxideshop-ce": "v6.0 - v6.3",
"google/apiclient":" ^2.0" "google/apiclient":"^2.0",
"phpstan/phpstan": "^1.8"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

View File

@ -3,8 +3,8 @@ parameters:
- IntelliSenseHelper.php - IntelliSenseHelper.php
- ../../oxid-esales/oxideshop-ce/source/oxfunctions.php - ../../oxid-esales/oxideshop-ce/source/oxfunctions.php
- ../../oxid-esales/oxideshop-ce/source/overridablefunctions.php - ../../oxid-esales/oxideshop-ce/source/overridablefunctions.php
level: 9 paths:
phpVersion: 70100 - ./
level: 0
phpVersion: 70200
checkMissingIterableValueType: false checkMissingIterableValueType: false
ignoreErrors:
- '#Psr\\Container\\ContainerExceptionInterface is not subtype of Throwable#'