-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathphpstan.neon
More file actions
113 lines (92 loc) · 4.39 KB
/
phpstan.neon
File metadata and controls
113 lines (92 loc) · 4.39 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
includes:
- phpstan.baseline-generated-files.neon
parameters:
level: max
paths:
- src
- tests
ignoreErrors:
-
message: "#Call to static method PHPUnit\\\\Framework\\\\Assert::assertIsIterable\\(\\) with array<int\\|string, string> will always evaluate to true.#"
reportUnmatched: false
-
message: "#staticMethod.alreadyNarrowedType#"
path: tests/unit/Core/Media/MediaUrlGeneratorTest.php
reportUnmatched: false
-
message: "#tag\\:v6\\.8\\.0 - reason:return-type-change - return type will be nullable#"
path: tests/integration/MediaUrlTest.php
reportUnmatched: false
-
message: "#tag\\:v6\\.7\\.0 - reason:becomes-internal#"
count: 1
path: tests/integration/MediaUrlTest.php
reportUnmatched: false
-
message: "#tag\\:v6\\.7\\.0 - Will be natively typed#"
count: 2
path: tests/integration/MediaUrlTest.php
reportUnmatched: false
-
message: "#tag\\:v6\\.7\\.0 - reason\\:exception-change Thrown exception will change from InternalFieldAccessNotAllowedException to DataAbstractionLayerException#"
reportUnmatched: false
-
message: "#possible constant types, only#"
reportUnmatched: false
-
message: "#possible param types, only#"
reportUnmatched: false
-
message: "#(.*?)Shopware\\\\Tests\\\\Unit\\\\Common\\\\Stubs\\\\SystemConfigService\\\\StaticSystemConfigService#"
reportUnmatched: false
-
message: "#(.*?)Shopware\\\\Tests\\\\Unit\\\\Common\\\\Stubs\\\\DataAbstractionLayer\\\\StaticEntityRepository#"
reportUnmatched: false
-
message: '#.* generic class Shopware\\Core\\Framework\\DataAbstractionLayer\\EntityRepository.*not specify its types: TEntityCollection#'
reportUnmatched: false
-
message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 1
path: src/DependencyInjection/GeneratorCompilerPass.php
-
message: "#^Property Frosh\\\\ThumbnailProcessor\\\\Tests\\\\Integration\\\\MediaUrlTest.*does not accept object.*#"
path: tests/integration/MediaUrlTest.php
-
message: "#Use AbstractMediaUrlGenerator instead#"
reportUnmatched: false
-
message: "#^Strict comparison using === between array<PhpParser\\\\Node\\\\Stmt> and null will always evaluate to false\\.$#"
count: 1
path: src/DependencyInjection/GeneratorCompilerPass.php
reportUnmatched: false
-
message: "#^Call to function method_exists\\(\\) with 'PhpParser\\\\\\\\ParserFactory' and 'createForHostVersion' will always evaluate to true\\.$#"
count: 1
path: src/DependencyInjection/GeneratorCompilerPass.php
reportUnmatched: false
-
message: "#^Access to undefined constant PhpParser\\\\ParserFactory::ONLY_PHP7\\.$#"
count: 1
path: src/DependencyInjection/GeneratorCompilerPass.php
reportUnmatched: false
-
message: "#^Call to an undefined method PhpParser\\\\ParserFactory::create\\(\\)\\.$#"
count: 1
path: src/DependencyInjection/GeneratorCompilerPass.php
reportUnmatched: false
-
message: "#^Method Frosh\\\\ThumbnailProcessor\\\\DependencyInjection\\\\GeneratorCompilerPass::getPhpParser\\(\\) should return PhpParser\\\\Parser but returns mixed\\.$#"
count: 1
path: src/DependencyInjection/GeneratorCompilerPass.php
reportUnmatched: false
-
message: "#^Property PhpParser\\\\Node\\\\Stmt\\\\Namespace_::\\$stmts \\(array<PhpParser\\\\Node\\\\Stmt>\\) does not accept array<PhpParser\\\\Node\\\\Stmt>\\|null\\.$#"
count: 1
path: src/DependencyInjection/GeneratorCompilerPass.php
reportUnmatched: false
-
message: "#IdSearchResult constructor expects#"
count: 3
path: tests/unit/Controller/Api/TestControllerTest.php
reportUnmatched: false