phpstan.neon.dist
parameters:
level: 9
paths:
- src
- tests
editorUrl: '%%file%%:%%line%%'
symfony:
containerXmlPath: var/cache/dev/App_KernelDevDebugContainer.xml
checkExplicitMixed: false
ignoreErrors:
-
identifier: missingType.generics
-
messages:
- '#Access to constant class on an unknown class PHPUnit\\Framework\\MockObject\\MockObject.#'
- '#Call to method (.*) on an unknown class PHPUnit\\Framework\\MockObject\\MockObject.#'
- '#Cloning object of an unknown class PHPUnit\\Framework\\MockObject\\MockObject.#'
- '#Method (.*) has invalid return type PHPUnit\\Framework\\MockObject\\MockObject.#'
- '#PHPDoc tag @var for variable (.*) contains unknown class PHPUnit\\Framework\\MockObject\\MockObject.#'
paths:
- tests/Integration/*
-
messages:
- '#has PHPDoc tag \@method for method (.*)\(\) parameter \#(\d+) \$(.*) with no value type specified in iterable type array#'
paths:
- tests/*
- src/*
includes:
- tools/02_phpstan/vendor/phpstan/phpstan/conf/bleedingEdge.neon
- tools/02_phpstan/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- tools/02_phpstan/vendor/phpstan/phpstan-phpunit/extension.neon
- tools/02_phpstan/vendor/phpstan/phpstan-symfony/extension.neon