-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpstan-baseline.neon
86 lines (70 loc) · 5.71 KB
/
phpstan-baseline.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$config \\(array\\{pattern\\?\\: string\\}\\) of method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\SlugTransformer\\:\\:fromArray\\(\\) should be contravariant with parameter \\$config \\(array\\<string, mixed\\>\\) of method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\TransformerInterface\\:\\:fromArray\\(\\)$#"
count: 1
path: src/Asset/Environment/Transformer/SlugTransformer.php
-
message: "#^Parameter \\#1 \\$config \\(array\\{value\\?\\: string\\}\\) of method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\StaticTransformer\\:\\:fromArray\\(\\) should be contravariant with parameter \\$config \\(array\\<string, mixed\\>\\) of method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\TransformerInterface\\:\\:fromArray\\(\\)$#"
count: 1
path: src/Asset/Environment/Transformer/StaticTransformer.php
-
message: "#^Parameter \\#1 \\$config \\(array\\{version\\?\\: string\\}\\) of method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\VersionTransformer\\:\\:fromArray\\(\\) should be contravariant with parameter \\$config \\(array\\<string, mixed\\>\\) of method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\TransformerInterface\\:\\:fromArray\\(\\)$#"
count: 1
path: src/Asset/Environment/Transformer/VersionTransformer.php
-
message: "#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#"
count: 1
path: src/Command/FetchAssetsCommand.php
-
message: "#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#"
count: 1
path: src/Command/InspectAssetsCommand.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: src/Processor/FileArchiveProcessor.php
-
message: "#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#"
count: 1
path: src/Processor/FileArchiveProcessor.php
-
message: "#^Parameter \\#1 \\$transformers of class CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Map\\\\MapFactory constructor expects array\\<string, class\\-string\\<CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\TransformerInterface\\>\\>, array\\<string, string\\> given\\.$#"
count: 2
path: tests/src/Asset/Environment/Map/MapFactoryTest.php
-
message: "#^Parameter \\#1 \\$pairs of class CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Map\\\\Map constructor expects list\\<CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Map\\\\Pair\\>, array\\{1\\: CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Map\\\\Pair, 0\\: CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Map\\\\Pair\\} given\\.$#"
count: 1
path: tests/src/Asset/Environment/Map/MapTest.php
-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with array\\{\\} and array\\{\\} will always evaluate to true\\.$#"
count: 1
path: tests/src/Asset/Environment/Transformer/PassthroughTransformerTest.php
-
message: "#^Parameter \\#1 \\$config of static method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\SlugTransformer\\:\\:fromArray\\(\\) expects array\\{pattern\\?\\: string\\}, array\\{pattern\\?\\: string\\|false\\} given\\.$#"
count: 1
path: tests/src/Asset/Environment/Transformer/SlugTransformerTest.php
-
message: "#^Parameter \\#1 \\$config of static method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\SlugTransformer\\:\\:fromArray\\(\\) expects array\\{pattern\\?\\: string\\}, array\\{pattern\\?\\: string\\|null\\} given\\.$#"
count: 1
path: tests/src/Asset/Environment/Transformer/SlugTransformerTest.php
-
message: "#^Parameter \\#1 \\$config of static method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\StaticTransformer\\:\\:fromArray\\(\\) expects array\\{value\\?\\: string\\}, array\\{value\\?\\: false\\} given\\.$#"
count: 1
path: tests/src/Asset/Environment/Transformer/StaticTransformerTest.php
-
message: "#^Parameter \\#1 \\$config of static method CPSIT\\\\FrontendAssetHandler\\\\Asset\\\\Environment\\\\Transformer\\\\VersionTransformer\\:\\:fromArray\\(\\) expects array\\{version\\?\\: string\\}, array\\{version\\?\\: false\\} given\\.$#"
count: 1
path: tests/src/Asset/Environment/Transformer/VersionTransformerTest.php
-
message: "#^Parameter \\#1 \\$files \\(iterable\\<string\\>\\|string\\) of method CPSIT\\\\FrontendAssetHandler\\\\Tests\\\\Fixtures\\\\Classes\\\\DummyFilesystem\\:\\:remove\\(\\) should be contravariant with parameter \\$files \\(iterable\\|string\\) of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:remove\\(\\)$#"
count: 1
path: tests/src/Fixtures/Classes/DummyFilesystem.php
-
message: "#^Parameter \\#3 \\$iterator \\(Traversable\\<mixed, SplFileInfo\\>\\|null\\) of method CPSIT\\\\FrontendAssetHandler\\\\Tests\\\\Fixtures\\\\Classes\\\\DummyFilesystem\\:\\:mirror\\(\\) should be contravariant with parameter \\$iterator \\(Traversable\\|null\\) of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:mirror\\(\\)$#"
count: 1
path: tests/src/Fixtures/Classes/DummyFilesystem.php
-
message: "#^Parameter \\#4 \\$options \\(array\\<string, bool\\>\\) of method CPSIT\\\\FrontendAssetHandler\\\\Tests\\\\Fixtures\\\\Classes\\\\DummyFilesystem\\:\\:mirror\\(\\) should be contravariant with parameter \\$options \\(array\\) of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:mirror\\(\\)$#"
count: 1
path: tests/src/Fixtures/Classes/DummyFilesystem.php