Added config directorios to phpstan inspections

This commit is contained in:
Alejandro Celaya 2019-08-12 17:58:04 +02:00
parent 0c7dd18b7c
commit d88f535444
2 changed files with 7 additions and 5 deletions

View File

@ -25,10 +25,10 @@
"endroid/qr-code": "^1.7", "endroid/qr-code": "^1.7",
"firebase/php-jwt": "^4.0", "firebase/php-jwt": "^4.0",
"geoip2/geoip2": "^2.9", "geoip2/geoip2": "^2.9",
"guzzlehttp/guzzle": "^6.2", "guzzlehttp/guzzle": "^6.3",
"lstrojny/functional-php": "^1.8", "lstrojny/functional-php": "^1.9",
"mikehaertl/phpwkhtmltopdf": "^2.2", "mikehaertl/phpwkhtmltopdf": "^2.2",
"monolog/monolog": "^1.21", "monolog/monolog": "^1.24",
"ocramius/proxy-manager": "~2.2.2", "ocramius/proxy-manager": "~2.2.2",
"phly/phly-event-dispatcher": "^1.0", "phly/phly-event-dispatcher": "^1.0",
"predis/predis": "^1.1", "predis/predis": "^1.1",
@ -37,7 +37,7 @@
"symfony/filesystem": "^4.3", "symfony/filesystem": "^4.3",
"symfony/lock": "^4.3", "symfony/lock": "^4.3",
"symfony/process": "^4.3", "symfony/process": "^4.3",
"theorchard/monolog-cascade": "^0.4", "theorchard/monolog-cascade": "^0.5",
"zendframework/zend-config": "^3.3", "zendframework/zend-config": "^3.3",
"zendframework/zend-config-aggregator": "^1.1", "zendframework/zend-config-aggregator": "^1.1",
"zendframework/zend-diactoros": "^2.1.3", "zendframework/zend-diactoros": "^2.1.3",
@ -108,7 +108,7 @@
"cs": "phpcs", "cs": "phpcs",
"cs:fix": "phpcbf", "cs:fix": "phpcbf",
"stan": "phpstan analyse module/*/src/ --level=5 -c phpstan.neon", "stan": "phpstan analyse module/*/src/ module/*/config config --level=5 -c phpstan.neon",
"test": [ "test": [
"@test:unit", "@test:unit",

View File

@ -3,3 +3,5 @@ parameters:
- '#League\\Plates\\callback#' - '#League\\Plates\\callback#'
- '#is not subtype of Throwable#' - '#is not subtype of Throwable#'
- '#ObjectManager::flush()#' - '#ObjectManager::flush()#'
- '#\$metadata ClassMetadata#'
- '#Undefined variable: \$metadata#'