@@ -78,6 +78,12 @@ parameters:
78
78
count : 1
79
79
path : ../src/CSSList/Document.php
80
80
81
+ -
82
+ message : ' #^Parameters should have "string\|null" types as the only types passed to this method$#'
83
+ identifier : typePerfect.narrowPublicClassMethodParamType
84
+ count : 1
85
+ path : ../src/CSSList/Document.php
86
+
81
87
-
82
88
message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
83
89
identifier : method.notFound
@@ -90,6 +96,24 @@ parameters:
90
96
count : 1
91
97
path : ../src/CSSList/KeyFrame.php
92
98
99
+ -
100
+ message : ' #^Parameters should have "string" types as the only types passed to this method$#'
101
+ identifier : typePerfect.narrowPublicClassMethodParamType
102
+ count : 2
103
+ path : ../src/CSSList/KeyFrame.php
104
+
105
+ -
106
+ message : ' #^Parameters should have "string\|string" types as the only types passed to this method$#'
107
+ identifier : typePerfect.narrowPublicClassMethodParamType
108
+ count : 1
109
+ path : ../src/OutputFormat.php
110
+
111
+ -
112
+ message : ' #^Returning false in non return bool class method\. Use null with type\|null instead or add bool return type$#'
113
+ identifier : typePerfect.nullOverFalse
114
+ count : 1
115
+ path : ../src/OutputFormat.php
116
+
93
117
-
94
118
message : ' #^Variable property access on \$this\(Sabberworm\\CSS\\OutputFormat\)\.$#'
95
119
identifier : property.dynamicName
@@ -132,6 +156,30 @@ parameters:
132
156
count : 1
133
157
path : ../src/Parsing/ParserState.php
134
158
159
+ -
160
+ message : ' #^Parameters should have "bool" types as the only types passed to this method$#'
161
+ identifier : typePerfect.narrowPublicClassMethodParamType
162
+ count : 2
163
+ path : ../src/Parsing/ParserState.php
164
+
165
+ -
166
+ message : ' #^Parameters should have "int" types as the only types passed to this method$#'
167
+ identifier : typePerfect.narrowPublicClassMethodParamType
168
+ count : 2
169
+ path : ../src/Parsing/ParserState.php
170
+
171
+ -
172
+ message : ' #^Parameters should have "string" types as the only types passed to this method$#'
173
+ identifier : typePerfect.narrowPublicClassMethodParamType
174
+ count : 1
175
+ path : ../src/Parsing/ParserState.php
176
+
177
+ -
178
+ message : ' #^Parameters should have "string\|int\|null" types as the only types passed to this method$#'
179
+ identifier : typePerfect.narrowPublicClassMethodParamType
180
+ count : 1
181
+ path : ../src/Parsing/ParserState.php
182
+
135
183
-
136
184
message : ' #^Cannot call method render\(\) on string\.$#'
137
185
identifier : method.nonObject
@@ -180,6 +228,12 @@ parameters:
180
228
count : 1
181
229
path : ../src/Property/Import.php
182
230
231
+ -
232
+ message : ' #^Parameters should have "string" types as the only types passed to this method$#'
233
+ identifier : typePerfect.narrowPublicClassMethodParamType
234
+ count : 1
235
+ path : ../src/Property/Selector.php
236
+
183
237
-
184
238
message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
185
239
identifier : method.notFound
@@ -204,6 +258,24 @@ parameters:
204
258
count : 1
205
259
path : ../src/Rule/Rule.php
206
260
261
+ -
262
+ message : ' #^Parameters should have "bool" types as the only types passed to this method$#'
263
+ identifier : typePerfect.narrowPublicClassMethodParamType
264
+ count : 1
265
+ path : ../src/Rule/Rule.php
266
+
267
+ -
268
+ message : ' #^Parameters should have "int\|int" types as the only types passed to this method$#'
269
+ identifier : typePerfect.narrowPublicClassMethodParamType
270
+ count : 1
271
+ path : ../src/Rule/Rule.php
272
+
273
+ -
274
+ message : ' #^Parameters should have "string" types as the only types passed to this method$#'
275
+ identifier : typePerfect.narrowPublicClassMethodParamType
276
+ count : 1
277
+ path : ../src/Rule/Rule.php
278
+
207
279
-
208
280
message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
209
281
identifier : method.notFound
@@ -270,6 +342,18 @@ parameters:
270
342
count : 1
271
343
path : ../src/RuleSet/DeclarationBlock.php
272
344
345
+ -
346
+ message : ' #^Parameters should have "string" types as the only types passed to this method$#'
347
+ identifier : typePerfect.narrowPublicClassMethodParamType
348
+ count : 1
349
+ path : ../src/RuleSet/DeclarationBlock.php
350
+
351
+ -
352
+ message : ' #^Returning false in non return bool class method\. Use null with type\|null instead or add bool return type$#'
353
+ identifier : typePerfect.nullOverFalse
354
+ count : 1
355
+ path : ../src/RuleSet/DeclarationBlock.php
356
+
273
357
-
274
358
message : ' #^Argument of an invalid type Sabberworm\\CSS\\Rule\\Rule supplied for foreach, only iterables are supported\.$#'
275
359
identifier : foreach.nonIterable
@@ -324,6 +408,24 @@ parameters:
324
408
count : 1
325
409
path : ../src/RuleSet/RuleSet.php
326
410
411
+ -
412
+ message : ' #^Parameters should have "Sabberworm\\CSS\\Rule\\Rule" types as the only types passed to this method$#'
413
+ identifier : typePerfect.narrowPublicClassMethodParamType
414
+ count : 1
415
+ path : ../src/RuleSet/RuleSet.php
416
+
417
+ -
418
+ message : ' #^Parameters should have "string" types as the only types passed to this method$#'
419
+ identifier : typePerfect.narrowPublicClassMethodParamType
420
+ count : 1
421
+ path : ../src/RuleSet/RuleSet.php
422
+
423
+ -
424
+ message : ' #^Use explicit methods over array access on object$#'
425
+ identifier : typePerfect.noArrayAccessOnObject
426
+ count : 1
427
+ path : ../src/RuleSet/RuleSet.php
428
+
327
429
-
328
430
message : ' #^Loose comparison via "\!\=" is not allowed\.$#'
329
431
identifier : notEqual.notAllowed
@@ -372,12 +474,24 @@ parameters:
372
474
count : 3
373
475
path : ../src/Value/Color.php
374
476
477
+ -
478
+ message : ' #^Provide more specific return type "Sabberworm\\CSS\\Value\\Color" over abstract one$#'
479
+ identifier : typePerfect.narrowReturnObjectType
480
+ count : 1
481
+ path : ../src/Value/Color.php
482
+
375
483
-
376
484
message : ' #^Loose comparison via "\!\=" is not allowed\.$#'
377
485
identifier : notEqual.notAllowed
378
486
count : 1
379
487
path : ../src/Value/Size.php
380
488
489
+ -
490
+ message : ' #^Parameters should have "float" types as the only types passed to this method$#'
491
+ identifier : typePerfect.narrowPublicClassMethodParamType
492
+ count : 1
493
+ path : ../src/Value/Size.php
494
+
381
495
-
382
496
message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:implode\(\)\.$#'
383
497
identifier : method.notFound
0 commit comments