From 212dd1ae553a70bd6f8bd291013fa8e84276c52c Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 29 Oct 2020 01:37:39 +0100 Subject: [PATCH] updated phpstan --- composer.json | 2 +- tests/phpstan.neon => phpstan.neon | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) rename tests/phpstan.neon => phpstan.neon (82%) diff --git a/composer.json b/composer.json index aece27b..2245acd 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "classmap": ["src/"] }, "scripts": { - "phpstan": "phpstan analyse --autoload-file vendor/autoload.php --level 5 --configuration tests/phpstan.neon src", + "phpstan": "phpstan analyse", "tester": "tester tests -s" }, "extra": { diff --git a/tests/phpstan.neon b/phpstan.neon similarity index 82% rename from tests/phpstan.neon rename to phpstan.neon index edf5045..8505859 100644 --- a/tests/phpstan.neon +++ b/phpstan.neon @@ -1,4 +1,9 @@ parameters: + level: 5 + + paths: + - src + ignoreErrors: # The namespace is referenced, not the class. - '#Class dibi referenced with incorrect case: Dibi#'