-
Notifications
You must be signed in to change notification settings - Fork 55
/
phpstan.neon.dist
32 lines (32 loc) · 1.42 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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