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:
@@ -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
4
tests/phpstan.neon
Normal file
@@ -0,0 +1,4 @@
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
# The namespace is referenced, not the class.
|
||||
- '#Class dibi referenced with incorrect case: Dibi#'
|
Reference in New Issue
Block a user