1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-09 07:37:08 +02:00

added phpstan.neon

This commit is contained in:
David Grudl
2020-02-23 18:57:56 +01:00
parent 73160e9418
commit 34e16031f7
2 changed files with 5 additions and 1 deletions

View File

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

4
tests/phpstan.neon Normal file
View File

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