diff --git a/composer.json b/composer.json index df390465..c0947cbe 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/tests/phpstan.neon b/tests/phpstan.neon new file mode 100644 index 00000000..edf5045b --- /dev/null +++ b/tests/phpstan.neon @@ -0,0 +1,4 @@ +parameters: + ignoreErrors: + # The namespace is referenced, not the class. + - '#Class dibi referenced with incorrect case: Dibi#'