Skip to content

Commit

Permalink
[project-base] fixed phpstan config (#1733)
Browse files Browse the repository at this point in the history
  • Loading branch information
pesektomas authored Mar 19, 2020
1 parent 55c113d commit b39e998
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b39e998

Please sign in to comment.