forked from juampi92/phecks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
56 lines (46 loc) · 3.19 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
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, int\\>, Closure\\(Illuminate\\\\Support\\\\Collection\\)\\: array\\<int, int\\> given\\.$#"
count: 1
path: src/Application/Baseline/BaselineCollection.php
-
message: "#^Call to an undefined method League\\\\Flysystem\\\\FilesystemOperator\\:\\:getAdapter\\(\\)\\.$#"
count: 1
path: src/Application/Baseline/BaselineLoader.php
-
message: "#^Constructor of class Juampi92\\\\Phecks\\\\Application\\\\Formatters\\\\ConsoleFormatter has an unused parameter \\$input\\.$#"
count: 1
path: src/Application/Formatters/ConsoleFormatter.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: "#^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\\\\GithubActionFormatter has an unused parameter \\$input\\.$#"
count: 1
path: src/Application/Formatters/GithubActionFormatter.php
-
message: "#^Constructor of class Juampi92\\\\Phecks\\\\Application\\\\Formatters\\\\SummaryFormatter has an unused parameter \\$input\\.$#"
count: 1
path: src/Application/Formatters/SummaryFormatter.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