1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-02 12:21:06 +02:00

updated phpstan

This commit is contained in:
David Grudl
2020-10-29 01:37:39 +01:00
parent b9683f8a3c
commit 212dd1ae55
2 changed files with 6 additions and 1 deletions

View File

@@ -26,7 +26,7 @@
"classmap": ["src/"] "classmap": ["src/"]
}, },
"scripts": { "scripts": {
"phpstan": "phpstan analyse --autoload-file vendor/autoload.php --level 5 --configuration tests/phpstan.neon src", "phpstan": "phpstan analyse",
"tester": "tester tests -s" "tester": "tester tests -s"
}, },
"extra": { "extra": {

View File

@@ -1,4 +1,9 @@
parameters: parameters:
level: 5
paths:
- src
ignoreErrors: ignoreErrors:
# The namespace is referenced, not the class. # The namespace is referenced, not the class.
- '#Class dibi referenced with incorrect case: Dibi#' - '#Class dibi referenced with incorrect case: Dibi#'