-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathphpstan.neon
45 lines (36 loc) · 1.02 KB
/
phpstan.neon
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
33
34
35
36
37
38
39
40
41
42
43
44
45
includes:
- vendor/contributte/phpstan/phpstan.neon
parameters:
level: 9
phpVersion: 80000
scanDirectories:
- src
fileExtensions:
- php
paths:
- src
- .docs
ignoreErrors:
-
message: "#^Dead catch \\- ReflectionException is never thrown in the try block\\.$#"
count: 1
path: src/DI/Pass/HandlerPass.php
-
message: """
#^Fetching class constant class of deprecated class Symfony\\\\Component\\\\Messenger\\\\Handler\\\\MessageHandlerInterface\\:
since Symfony 6\\.2, use the \\{@see AsMessageHandler\\} attribute instead$#
"""
count: 1
path: src/DI/Pass/HandlerPass.php
-
message: "#^Class ReflectionIntersectionType not found\\.$#"
count: 1
path: src/DI/Utils/Reflector.php
-
message: "#^Dead catch \\- ReflectionException is never thrown in the try block\\.$#"
count: 1
path: src/DI/Utils/Reflector.php
-
message: "#^PHPDoc tag @var for variable \\$type contains unknown class ReflectionIntersectionType\\.$#"
count: 1
path: src/DI/Utils/Reflector.php