generated from pestphp/pest-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathphpstan-baseline.neon
131 lines (106 loc) · 5.43 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
parameters:
ignoreErrors:
-
message: "#^Function Spatie\\\\RouteTesting\\\\routeTesting\\(\\) has no return type specified\\.$#"
count: 1
path: src/Autoload.php
-
message: "#^Parameter \\#1 \\$testCall of class Spatie\\\\RouteTesting\\\\RouteTestingTestCall constructor expects Pest\\\\PendingCalls\\\\TestCall, Pest\\\\PendingCalls\\\\TestCall\\|Pest\\\\Support\\\\HigherOrderTapProxy given\\.$#"
count: 1
path: src/Autoload.php
-
message: "#^In method \"Spatie\\\\RouteTesting\\\\RouteResolver\\:\\:resolveFullRouteList\", caught \"Exception\" must be rethrown\\. Either catch a more specific exception or add a \"throw\" clause in the \"catch\" block to propagate the exception\\. More info\\: http\\://bit\\.ly/failloud$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteResolver\\:\\:bindingNames\\(\\) has parameter \\$bindingNames with no value type specified in iterable type array\\.$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteResolver\\:\\:exceptPaths\\(\\) has parameter \\$paths with no value type specified in iterable type array\\.$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteResolver\\:\\:getBindingsFromUrl\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteResolver\\:\\:getFilteredRouteList\\(\\) should return array\\<int, array\\<int, string\\>\\> but returns array\\<int, mixed\\>\\.$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteResolver\\:\\:paths\\(\\) has parameter \\$paths with no value type specified in iterable type array\\.$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteResolver\\:\\:resolveFullRouteList\\(\\) should return Illuminate\\\\Support\\\\Collection\\<int, array\\{method\\: string, uri\\: string\\}\\> but returns Illuminate\\\\Support\\\\Collection\\<int, array\\{method\\: string, uri\\: mixed\\}\\>\\.$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:flatMap\\(\\) expects callable\\(mixed, int\\|string\\)\\: \\(array\\<int, array\\{method\\: string, uri\\: mixed\\}\\>\\|Illuminate\\\\Support\\\\Collection\\<int, array\\{method\\: string, uri\\: mixed\\}\\>\\), Closure\\(array\\)\\: Illuminate\\\\Support\\\\Collection\\<int, array\\{method\\: string, uri\\: mixed\\}\\> given\\.$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Parameter \\#1 \\$value of function collect expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<\\(int\\|string\\), mixed\\>\\|iterable\\<\\(int\\|string\\), mixed\\>\\|null, mixed given\\.$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 1
path: src/RouteResolver.php
-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Routing\\\\UrlGenerator\\:\\:toRoute\\(\\)\\.$#"
count: 1
path: src/RouteTest.php
-
message: "#^Call to an undefined method Pest\\\\PendingCalls\\\\TestCall\\:\\:defer\\(\\)\\.$#"
count: 1
path: src/RouteTest.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteTest\\:\\:test\\(\\) has parameter \\$assertions with no value type specified in iterable type array\\.$#"
count: 1
path: src/RouteTest.php
-
message: "#^PHPDoc tag @var for variable \\$testResponse contains generic class Illuminate\\\\Testing\\\\TestResponse but does not specify its types\\: TResponse$#"
count: 1
path: src/RouteTest.php
-
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:first\\(\\) expects \\(callable\\(mixed, int\\|string\\)\\: bool\\)\\|null, Closure\\(Illuminate\\\\Routing\\\\Route\\)\\: bool given\\.$#"
count: 1
path: src/RouteTest.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 1
path: src/RouteTest.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 1
path: src/RouteTest.php
-
message: "#^Undefined variable\\: \\$this$#"
count: 6
path: src/RouteTest.php
-
message: "#^Variable \\$this on left side of \\?\\? is never defined\\.$#"
count: 1
path: src/RouteTest.php
-
message: "#^Call to an undefined method Pest\\\\PendingCalls\\\\TestCall\\:\\:defer\\(\\)\\.$#"
count: 1
path: src/RouteTestingTestCall.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteTestingTestCall\\:\\:__call\\(\\) has parameter \\$method with no type specified\\.$#"
count: 1
path: src/RouteTestingTestCall.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteTestingTestCall\\:\\:__call\\(\\) has parameter \\$parameters with no type specified\\.$#"
count: 1
path: src/RouteTestingTestCall.php
-
message: "#^Method Spatie\\\\RouteTesting\\\\RouteTestingTestCall\\:\\:with\\(\\) has parameter \\$routes with no value type specified in iterable type array\\.$#"
count: 1
path: src/RouteTestingTestCall.php