-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpstan-baseline.neon
96 lines (78 loc) · 6.53 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
87
88
89
90
91
92
93
94
95
96
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),Juampi92\\\\Phecks\\\\Domain\\\\Violations\\\\Violation\\>\\:\\:map\\(\\) expects callable\\(Juampi92\\\\Phecks\\\\Domain\\\\Violations\\\\Violation, \\(int\\|string\\)\\)\\: array\\<int\\>, Closure\\(Illuminate\\\\Support\\\\Collection\\)\\: array\\<int\\> given\\.$#"
count: 1
path: src/Application/Baseline/BaselineCollection.php
-
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),Juampi92\\\\Phecks\\\\Domain\\\\Violations\\\\Violation\\>\\:\\:each\\(\\) expects callable\\(Juampi92\\\\Phecks\\\\Domain\\\\Violations\\\\Violation, \\(int\\|string\\)\\)\\: mixed, Closure\\(Juampi92\\\\Phecks\\\\Domain\\\\Violations\\\\ViolationsCollection, string\\)\\: void given\\.$#"
count: 1
path: src/Application/Formatters/ConsoleFormatter.php
-
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),Juampi92\\\\Phecks\\\\Domain\\\\Violations\\\\Violation\\>\\:\\:map\\(\\) expects callable\\(Juampi92\\\\Phecks\\\\Domain\\\\Violations\\\\Violation, \\(int\\|string\\)\\)\\: int, Closure\\(Illuminate\\\\Support\\\\Collection\\)\\: int given\\.$#"
count: 1
path: src/Application/Formatters/ConsoleFormatter.php
-
message: "#^Offset string on array\\<non\\-empty\\-string, class\\-string\\<Juampi92\\\\Phecks\\\\Application\\\\Contracts\\\\Formatter\\>\\> on left side of \\?\\? always exists and is not nullable\\.$#"
count: 1
path: src/Application/Formatters/FormatResolver.php
-
message: "#^Constructor of class Juampi92\\\\Phecks\\\\Application\\\\Formatters\\\\GithubFormatter has an unused parameter \\$input\\.$#"
count: 1
path: src/Application/Formatters/GithubFormatter.php
-
message: "#^Method Juampi92\\\\Phecks\\\\Domain\\\\CheckRunner\\:\\:getChecks\\(\\) should return Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), Juampi92\\\\Phecks\\\\Domain\\\\Contracts\\\\Check\\<mixed\\>\\> but returns Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), Juampi92\\\\Phecks\\\\Domain\\\\Contracts\\\\Check\\>\\.$#"
count: 1
path: src/Domain/CheckRunner.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 1
path: src/Domain/CheckRunner.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 1
path: src/Domain/CheckRunner.php
-
message: "#^Property Juampi92\\\\Phecks\\\\Domain\\\\MatchCollection\\<TMatch\\>\\:\\:\\$matches \\(Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), Juampi92\\\\Phecks\\\\Domain\\\\DTOs\\\\MatchValue\\<TMatch\\>\\>\\) does not accept Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), array\\<TKey of \\(int\\|string\\), TValue\\>\\|bool\\|Juampi92\\\\Phecks\\\\Domain\\\\DTOs\\\\MatchValue\\<TMatch\\>\\>\\.$#"
count: 1
path: src/Domain/MatchCollection.php
-
message: "#^Method Juampi92\\\\Phecks\\\\Domain\\\\Pipes\\\\Filters\\\\WhereFileDoesntMatchFilter\\:\\:__invoke\\(\\) should return Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), TInputOutput of Juampi92\\\\Phecks\\\\Domain\\\\DTOs\\\\FileMatch\\|Roave\\\\BetterReflection\\\\Reflection\\\\ReflectionClass\\> but returns Illuminate\\\\Support\\\\Collection\\<int, TInputOutput of Juampi92\\\\Phecks\\\\Domain\\\\DTOs\\\\FileMatch\\>\\.$#"
count: 1
path: src/Domain/Pipes/Filters/WhereFileDoesntMatchFilter.php
-
message: "#^Method Juampi92\\\\Phecks\\\\Domain\\\\Pipes\\\\Filters\\\\WhereFileDoesntMatchFilter\\:\\:__invoke\\(\\) should return Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), TInputOutput of Juampi92\\\\Phecks\\\\Domain\\\\DTOs\\\\FileMatch\\|Roave\\\\BetterReflection\\\\Reflection\\\\ReflectionClass\\> but returns Illuminate\\\\Support\\\\Collection\\<int, TInputOutput of Roave\\\\BetterReflection\\\\Reflection\\\\ReflectionClass\\>\\.$#"
count: 1
path: src/Domain/Pipes/Filters/WhereFileDoesntMatchFilter.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/Domain/Pipes/Filters/WhereFileDoesntMatchFilter.php
-
message: "#^Method Juampi92\\\\Phecks\\\\Domain\\\\Pipes\\\\Filters\\\\WhereFileMatchesFilter\\:\\:__invoke\\(\\) should return Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), TInputOutput of Juampi92\\\\Phecks\\\\Domain\\\\DTOs\\\\FileMatch\\|Roave\\\\BetterReflection\\\\Reflection\\\\ReflectionClass\\> but returns Illuminate\\\\Support\\\\Collection\\<int, TInputOutput of Juampi92\\\\Phecks\\\\Domain\\\\DTOs\\\\FileMatch\\>\\.$#"
count: 1
path: src/Domain/Pipes/Filters/WhereFileMatchesFilter.php
-
message: "#^Method Juampi92\\\\Phecks\\\\Domain\\\\Pipes\\\\Filters\\\\WhereFileMatchesFilter\\:\\:__invoke\\(\\) should return Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), TInputOutput of Juampi92\\\\Phecks\\\\Domain\\\\DTOs\\\\FileMatch\\|Roave\\\\BetterReflection\\\\Reflection\\\\ReflectionClass\\> but returns Illuminate\\\\Support\\\\Collection\\<int, TInputOutput of Roave\\\\BetterReflection\\\\Reflection\\\\ReflectionClass\\>\\.$#"
count: 1
path: src/Domain/Pipes/Filters/WhereFileMatchesFilter.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/Domain/Pipes/Filters/WhereFileMatchesFilter.php
-
message: "#^Parameter \\#3 \\$arguments of class Juampi92\\\\Phecks\\\\Domain\\\\Sources\\\\ValueObjects\\\\ArtisanCommandInfo constructor expects array\\<non\\-empty\\-string, Juampi92\\\\Phecks\\\\Domain\\\\Sources\\\\ValueObjects\\\\ArtisanCommandArgument\\>, array\\<Juampi92\\\\Phecks\\\\Domain\\\\Sources\\\\ValueObjects\\\\ArtisanCommandArgument\\> given\\.$#"
count: 1
path: src/Domain/Sources/ArtisanListSource.php
-
message: "#^Parameter \\#4 \\$options of class Juampi92\\\\Phecks\\\\Domain\\\\Sources\\\\ValueObjects\\\\ArtisanCommandInfo constructor expects array\\<non\\-empty\\-string, Juampi92\\\\Phecks\\\\Domain\\\\Sources\\\\ValueObjects\\\\ArtisanCommandOption\\>, array\\<Juampi92\\\\Phecks\\\\Domain\\\\Sources\\\\ValueObjects\\\\ArtisanCommandOption\\> given\\.$#"
count: 1
path: src/Domain/Sources/ArtisanListSource.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 3
path: src/Domain/Sources/ArtisanListSource.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 3
path: src/Domain/Sources/ArtisanListSource.php