-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
156 lines (126 loc) · 6.7 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
parameters:
ignoreErrors:
-
message: "#^Abstract class Intermax\\\\LaravelOpenApi\\\\Generator\\\\Attributes\\\\Attribute cannot be an Attribute class\\.$#"
count: 1
path: src/Generator/Attributes/Attribute.php
-
message: "#^Cannot call method getName\\(\\) on ReflectionType\\|null\\.$#"
count: 1
path: src/Generator/ComponentsCreator.php
-
message: "#^Function factory not found\\.$#"
count: 2
path: src/Generator/ComponentsCreator.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ComponentsCreator\\:\\:determineProperty\\(\\) has parameter \\$dates with no type specified\\.$#"
count: 1
path: src/Generator/ComponentsCreator.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ComponentsCreator\\:\\:determineProperty\\(\\) has parameter \\$item with no type specified\\.$#"
count: 1
path: src/Generator/ComponentsCreator.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ComponentsCreator\\:\\:determineProperty\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Generator/ComponentsCreator.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ComponentsCreator\\:\\:loadAllRelations\\(\\) has no return type specified\\.$#"
count: 1
path: src/Generator/ComponentsCreator.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ComponentsCreator\\:\\:loadAllRelations\\(\\) has parameter \\$entity with no type specified\\.$#"
count: 1
path: src/Generator/ComponentsCreator.php
-
message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#"
count: 1
path: src/Generator/ComponentsCreator.php
-
message: "#^Property Intermax\\\\LaravelOpenApi\\\\Generator\\\\ComponentsCreator\\:\\:\\$schemas type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Generator/ComponentsCreator.php
-
message: "#^Variable \\$entity in PHPDoc tag @var does not exist\\.$#"
count: 1
path: src/Generator/ComponentsCreator.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\Mapping\\\\ObjectType\\:\\:__construct\\(\\) has parameter \\$properties with no value type specified in iterable type array\\.$#"
count: 1
path: src/Generator/Mapping/ObjectType.php
-
message: "#^Class Intermax\\\\LaravelOpenApi\\\\Generator\\\\Mapping\\\\Property implements generic interface Illuminate\\\\Contracts\\\\Support\\\\Arrayable but does not specify its types\\: TKey, TValue$#"
count: 1
path: src/Generator/Mapping/Property.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\Mapping\\\\Property\\:\\:__construct\\(\\) has parameter \\$properties with no value type specified in iterable type array\\.$#"
count: 1
path: src/Generator/Mapping/Property.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\Mapping\\\\Property\\:\\:__toString\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: src/Generator/Mapping/Property.php
-
message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#"
count: 1
path: src/Generator/Mapping/Property.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\Mapping\\\\Schema\\:\\:__construct\\(\\) has parameter \\$properties with no value type specified in iterable type array\\.$#"
count: 1
path: src/Generator/Mapping/Schema.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\OperationCreator\\:\\:create\\(\\) has parameter \\$responses with no value type specified in iterable type cebe\\\\openapi\\\\spec\\\\Responses\\.$#"
count: 1
path: src/Generator/OperationCreator.php
-
message: "#^PHPDoc tag @param for parameter \\$responses with type \\(cebe\\\\openapi\\\\spec\\\\Responses&iterable\\<cebe\\\\openapi\\\\spec\\\\Response\\>\\)\\|null is not subtype of native type cebe\\\\openapi\\\\spec\\\\Responses\\.$#"
count: 1
path: src/Generator/OperationCreator.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ResourceFactory\\:\\:createFromClassName\\(\\) should return Illuminate\\\\Http\\\\Resources\\\\Json\\\\JsonResource\\|null but returns object\\.$#"
count: 1
path: src/Generator/ResourceFactory.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ResourceFactory\\:\\:discoverFromAttribute\\(\\) has parameter \\$reflectionClass with generic class ReflectionClass but does not specify its types\\: T$#"
count: 1
path: src/Generator/ResourceFactory.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ResourceFactory\\:\\:discoverFromDocBlockProperty\\(\\) has parameter \\$reflectionClass with generic class ReflectionClass but does not specify its types\\: T$#"
count: 1
path: src/Generator/ResourceFactory.php
-
message: "#^Parameter \\#1 \\$docblock of method phpDocumentor\\\\Reflection\\\\DocBlockFactory\\:\\:create\\(\\) expects object\\|string, string\\|false given\\.$#"
count: 1
path: src/Generator/ResourceFactory.php
-
message: "#^Argument of an invalid type array\\|object supplied for foreach, only iterables are supported\\.$#"
count: 1
path: src/Generator/ResponsesCreator.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$resourceName$#"
count: 1
path: src/Generator/ResponsesCreator.php
-
message: "#^Parameter \\#1 \\$className of method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ResourceAnalyser\\:\\:retrieveMappingFromResource\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: src/Generator/ResponsesCreator.php
-
message: "#^Parameter \\#1 \\$className of method Intermax\\\\LaravelOpenApi\\\\Generator\\\\ResponsesCreator\\:\\:discoverResponse\\(\\) expects class\\-string, string given\\.$#"
count: 1
path: src/Generator/ResponsesCreator.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\RouteAnalyser\\:\\:determineRequestClass\\(\\) has no return type specified\\.$#"
count: 1
path: src/Generator/RouteAnalyser.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\RouteAnalyser\\:\\:determineResourceClass\\(\\) has no return type specified\\.$#"
count: 1
path: src/Generator/RouteAnalyser.php
-
message: "#^Method Intermax\\\\LaravelOpenApi\\\\Generator\\\\RouteAnalyser\\:\\:getReflectionMethod\\(\\) has no return type specified\\.$#"
count: 1
path: src/Generator/RouteAnalyser.php
-
message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 1
path: src/Generator/RouteAnalyser.php