-
Notifications
You must be signed in to change notification settings - Fork 13
/
phpstan.neon
67 lines (55 loc) · 2.57 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
parameters:
level: max
paths:
- src
- tests
ignoreErrors:
-
message: "#tag\\:v6\\.7\\.0 - reason:becomes-internal#"
count: 1
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: "#^Call to an undefined method Shopware\\\\Core\\\\Content\\\\Media\\\\Message\\\\GenerateThumbnailsMessage\\:\\:setContext\\(\\)\\.$#"
count: 1
path: src/DependencyInjection/FileSaver.php
reportUnmatched: false
-
message: "#^Method Frosh\\\\ThumbnailProcessor\\\\DependencyInjection\\\\ThumbnailService\\:\\:(.*)\\(\\) is unused\\.$#"
path: src/DependencyInjection/ThumbnailService.php
-
message: "#^Anonymous function should return array but returns mixed.#"
path: src/DependencyInjection/ThumbnailService.php
reportUnmatched: false
-
message: '#^Call to deprecated method#'
path: src/DependencyInjection/FileSaver.php
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