From b39e998127f868783bbee74dbd03b86d78e74d79 Mon Sep 17 00:00:00 2001 From: Tomas Pesek Date: Thu, 19 Mar 2020 08:24:09 +0100 Subject: [PATCH] [project-base] fixed phpstan config (#1733) --- phpstan.neon | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 08b3972651..5e34adeaf3 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -6,19 +6,19 @@ parameters: - # We need to have undefined variable for testing purposes message: '#^Undefined variable: \$undefined$#' - path: %currentWorkingDirectory%/project-base/src/Controller/Test/ErrorHandlerController.php + path: %currentWorkingDirectory%/src/Controller/Test/ErrorHandlerController.php - # We need to have undefined variable for testing purposes message: '#^Expression "\$undefined\[42\]" on a separate line does not do anything\.$#' - path: %currentWorkingDirectory%/project-base/src/Controller/Test/ErrorHandlerController.php + path: %currentWorkingDirectory%/src/Controller/Test/ErrorHandlerController.php - # Ignore annotations in generated code message: '#^PHPDoc tag @(param|return) has invalid value (.|\n)+ expected type at offset \d+$#' - path: %currentWorkingDirectory%/project-base/tests/App/Test/Codeception/_generated/AcceptanceTesterActions.php + path: %currentWorkingDirectory%/tests/App/Test/Codeception/_generated/AcceptanceTesterActions.php - # Ignore annotations in generated code message: '#^PHPDoc tag @throws with type .+ is not subtype of Throwable$#' - path: %currentWorkingDirectory%/project-base/tests/App/Test/Codeception/_generated/AcceptanceTesterActions.php + path: %currentWorkingDirectory%/tests/App/Test/Codeception/_generated/AcceptanceTesterActions.php includes: - vendor/phpstan/phpstan-doctrine/extension.neon - vendor/phpstan/phpstan-phpunit/extension.neon