From cd0278c1468571a6876bc4fe87097c5cf902c0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1chym=20Tou=C5=A1ek?= Date: Sat, 15 Jul 2017 18:49:00 +0200 Subject: [PATCH] Fix phpstan configuration --- phpstan.neon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 33a8ba5..8581acc 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -3,9 +3,9 @@ includes: - vendor-tools/phpstan/phpstan-nette/rules.neon parameters: + excludes_analyse: + - %rootDir%/../../../tests/_* + ignoreErrors: - '#^Access to an undefined property Eloquent\\Phony\\Mock\\Handle\\InstanceHandle::\$[a-zA-Z]++#' - '#^Parameter \#[0-9]++ \$[a-zA-Z]++ of method [a-zA-Z\\:]++\(\) expects [a-zA-Z\\]++, Eloquent\\Phony\\Mock\\Mock given#' - - excludes_analyse: - - %rootDir%/../../../tests/_helpers/*