forked from spatie/php-structure-discoverer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
41 lines (34 loc) · 1.52 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
parameters:
ignoreErrors:
-
message: "#^Parameter \\$file of class Spatie\\\\StructureDiscoverer\\\\Data\\\\DiscoveredClass constructor expects string, string\\|false given\\.$#"
count: 1
path: src/Data/DiscoveredClass.php
-
message: "#^Parameter \\$file of class Spatie\\\\StructureDiscoverer\\\\Data\\\\DiscoveredEnum constructor expects string, string\\|false given\\.$#"
count: 1
path: src/Data/DiscoveredEnum.php
-
message: "#^Parameter \\$file of class Spatie\\\\StructureDiscoverer\\\\Data\\\\DiscoveredInterface constructor expects string, string\\|false given\\.$#"
count: 1
path: src/Data/DiscoveredInterface.php
-
message: "#^Parameter \\$file of class Spatie\\\\StructureDiscoverer\\\\Data\\\\DiscoveredTrait constructor expects string, string\\|false given\\.$#"
count: 1
path: src/Data/DiscoveredTrait.php
-
message: "#^Unable to resolve the template type T in call to function Amp\\\\Promise\\\\wait$#"
count: 1
path: src/DiscoverWorkers/ParallelDiscoverWorker.php
-
message: "#^Match arm is unreachable because previous comparison is always true\\.$#"
count: 1
path: src/Enums/DiscoveredStructureType.php
-
message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionEnum constructor expects class\\-string\\<T of UnitEnum\\>\\|T of UnitEnum, class\\-string\\<object\\> given\\.$#"
count: 1
path: src/StructureParsers/ReflectionStructureParser.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/StructureScout.php