-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpstan-baseline.neon
175 lines (147 loc) · 8.83 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
parameters:
ignoreErrors:
-
message: '#^Parameter \#1 \$view of function view expects view\-string\|null, string given\.$#'
identifier: argument.type
count: 1
path: src/Console/MetaCommand.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Factories\\Actions\\FindFactories\:\:execute\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Domain/Factories/Actions/FindFactories.php
-
message: '#^Parameter \#1 \$fqcn of class Soyhuce\\NextIdeHelper\\Domain\\Factories\\Entities\\Factory constructor expects class\-string\<Illuminate\\Database\\Eloquent\\Factories\\Factory\>, class\-string given\.$#'
identifier: argument.type
count: 1
path: src/Domain/Factories/Actions/FindFactories.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Factories\\Actions\\ResolveModels\:\:execute\(\) has parameter \$factories with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Domain/Factories/Actions/ResolveModels.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Factories\\Entities\\Factory\:\:__construct\(\) has parameter \$fqcn with generic class Illuminate\\Database\\Eloquent\\Factories\\Factory but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Domain/Factories/Entities/Factory.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Factories\\Entities\\Factory\:\:instance\(\) return type with generic class Illuminate\\Database\\Eloquent\\Factories\\Factory does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Domain/Factories/Entities/Factory.php
-
message: '#^Property Soyhuce\\NextIdeHelper\\Domain\\Factories\\Entities\\Factory\:\:\$extraMethods with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Domain/Factories/Entities/Factory.php
-
message: '#^Property Soyhuce\\NextIdeHelper\\Domain\\Factories\\Entities\\Factory\:\:\$fqcn with generic class Illuminate\\Database\\Eloquent\\Factories\\Factory does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Domain/Factories/Entities/Factory.php
-
message: '#^Property Soyhuce\\NextIdeHelper\\Domain\\Factories\\Entities\\Factory\:\:\$instance with generic class Illuminate\\Database\\Eloquent\\Factories\\Factory does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Domain/Factories/Entities/Factory.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Macros\\Actions\\FindMacroableClasses\:\:execute\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Domain/Macros/Actions/FindMacroableClasses.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Macros\\Output\\MacrosHelperFile\:\:__construct\(\) has parameter \$class with generic class ReflectionClass but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/Domain/Macros/Output/MacrosHelperFile.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Macros\\Output\\MacrosHelperFile\:\:constructor\(\) has parameter \$class with generic class ReflectionClass but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/Domain/Macros/Output/MacrosHelperFile.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Meta\\Actions\\ResolveContainerBindings\:\:execute\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Domain/Meta/Actions/ResolveContainerBindings.php
-
message: '#^Parameter \#1 \$fqcn of class Soyhuce\\NextIdeHelper\\Domain\\Models\\Entities\\Model constructor expects class\-string\<Illuminate\\Database\\Eloquent\\Model\>, class\-string given\.$#'
identifier: argument.type
count: 1
path: src/Domain/Models/Actions/FindModels.php
-
message: '#^Call to an undefined static method Illuminate\\Database\\Eloquent\\Model\:\:factory\(\)\.$#'
identifier: staticMethod.notFound
count: 1
path: src/Domain/Models/Output/ModelDocBlock.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Models\\Output\\QueryBuilderDocBlock\:\:attributeScopes\(\) should return Illuminate\\Support\\Collection\<int, string\> but returns Illuminate\\Support\\Collection\<int, non\-falsy\-string\>\.$#'
identifier: return.type
count: 1
path: src/Domain/Models/Output/QueryBuilderDocBlock.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Models\\Output\\QueryBuilderDocBlock\:\:resultMethods\(\) should return Illuminate\\Support\\Collection\<int, string\> but returns Illuminate\\Support\\Collection\<int, non\-falsy\-string\>\.$#'
identifier: return.type
count: 1
path: src/Domain/Models/Output/QueryBuilderDocBlock.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Models\\Output\\QueryBuilderDocBlock\:\:scopeMethods\(\) should return Illuminate\\Support\\Collection\<int, string\> but returns Illuminate\\Support\\Collection\<int, non\-falsy\-string\>\.$#'
identifier: return.type
count: 1
path: src/Domain/Models/Output/QueryBuilderDocBlock.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Models\\Output\\QueryBuilderDocBlock\:\:softDeletesMethods\(\) should return Illuminate\\Support\\Collection\<int, string\> but returns Illuminate\\Support\\Collection\<int, non\-falsy\-string\>\.$#'
identifier: return.type
count: 1
path: src/Domain/Models/Output/QueryBuilderDocBlock.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Domain\\Models\\Output\\QueryBuilderDocBlock\:\:templateBlock\(\) should return Illuminate\\Support\\Collection\<int, string\> but returns Illuminate\\Support\\Collection\<int, non\-falsy\-string\>\.$#'
identifier: return.type
count: 1
path: src/Domain/Models/Output/QueryBuilderDocBlock.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Entities\\Klass\:\:addDocTags\(\) has parameter \$docTags with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Entities/Klass.php
-
message: '#^Parameter \#1 \$items of method Illuminate\\Support\\Collection\<int,string\>\:\:merge\(\) expects Illuminate\\Contracts\\Support\\Arrayable\<int, non\-falsy\-string\>\|iterable\<int, non\-falsy\-string\>, Illuminate\\Support\\Collection\<int, string\> given\.$#'
identifier: argument.type
count: 1
path: src/Entities/Nemespace.php
-
message: '#^Parameter \#1 \$items of method Illuminate\\Support\\Collection\<int,string\>\:\:merge\(\) expects Illuminate\\Contracts\\Support\\Arrayable\<int, non\-falsy\-string\>\|iterable\<int, non\-falsy\-string\>, Illuminate\\Support\\Collection\<string, string\> given\.$#'
identifier: argument.type
count: 1
path: src/Entities/Nemespace.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Support\\Output\\IdeHelperClass\:\:eloquentBuilder\(\) should return class\-string\<Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\>\> but returns string\.$#'
identifier: return.type
count: 1
path: src/Support/Output/IdeHelperClass.php
-
message: '#^Parameter \#1 \$value of static method Illuminate\\Support\\Str\:\:length\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: src/Support/Reflection/FunctionReflection.php
-
message: '#^Parameter \#1 \$value of static method Illuminate\\Support\\Str\:\:ltrim\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: src/Support/Reflection/FunctionReflection.php
-
message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),ReflectionIntersectionType\|ReflectionNamedType\>\:\:map\(\) expects callable\(ReflectionIntersectionType\|ReflectionNamedType, int\|string\)\: string, Closure\(ReflectionNamedType\)\: string given\.$#'
identifier: argument.type
count: 1
path: src/Support/Reflection/TypeReflection.php
-
message: '#^Method Soyhuce\\NextIdeHelper\\Support\\Type\:\:qualify\(\) should return T of string but returns string\.$#'
identifier: return.type
count: 2
path: src/Support/Type.php
-
message: '#^Parameter \#1 \$key of method Illuminate\\Support\\Collection\<\(int\|string\),string\>\:\:contains\(\) expects \(callable\(string, int\|string\)\: bool\)\|string, Closure\(string\)\: \(0\|1\|false\) given\.$#'
identifier: argument.type
count: 1
path: src/Support/Type.php