You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message:'#^Method Sabberworm\\CSS\\Parsing\\ParserState\:\:parseIdentifier\(\) should return non\-empty\-string but returns string\.$#'
47
+
identifier:return.type
48
+
count:1
49
+
path:../../src/Parsing/ParserState.php
50
+
51
+
-
52
+
message:'#^Method Sabberworm\\CSS\\Parsing\\ParserState\:\:strlen\(\) should return int\<0, max\> but returns int\<0, max\>\|false\.$#'
53
+
identifier:return.type
54
+
count:1
55
+
path:../../src/Parsing/ParserState.php
56
+
15
57
-
16
58
message:'#^Negated boolean expression is always true\.$#'
17
59
identifier:booleanNot.alwaysTrue
@@ -24,12 +66,78 @@ parameters:
24
66
count:1
25
67
path:../../src/Parsing/ParserState.php
26
68
69
+
-
70
+
message:'#^Property Sabberworm\\CSS\\Parsing\\ParserState\:\:\$currentPosition \(int\<0, max\>\) does not accept int\.$#'
71
+
identifier:assign.propertyType
72
+
count:2
73
+
path:../../src/Parsing/ParserState.php
74
+
75
+
-
76
+
message:'#^Method Sabberworm\\CSS\\Property\\Declaration\:\:getArrayRepresentation\(\) should return array\<string, array\<mixed\>\|bool\|float\|int\|string\|null\> but returns array\<string, bool\|Sabberworm\\CSS\\Value\\RuleValueList\|string\|null\>\.$#'
77
+
identifier:return.type
78
+
count:1
79
+
path:../../src/Property/Declaration.php
80
+
81
+
-
82
+
message:'#^Parameter \#1 \$separator of class Sabberworm\\CSS\\Value\\RuleValueList constructor expects non\-empty\-string, string given\.$#'
83
+
identifier:argument.type
84
+
count:1
85
+
path:../../src/Property/Declaration.php
86
+
87
+
-
88
+
message:'#^Parameter \#1 \$value of method Sabberworm\\CSS\\Property\\Declaration\:\:setValue\(\) expects Sabberworm\\CSS\\Value\\RuleValueList\|string\|null, Sabberworm\\CSS\\Value\\Value\|string given\.$#'
89
+
identifier:argument.type
90
+
count:1
91
+
path:../../src/Property/Declaration.php
92
+
93
+
-
94
+
message:'#^Method Sabberworm\\CSS\\Property\\Selector\:\:getSelector\(\) should return non\-empty\-string but returns string\.$#'
95
+
identifier:return.type
96
+
count:1
97
+
path:../../src/Property/Selector.php
98
+
99
+
-
100
+
message:'#^Method Sabberworm\\CSS\\Property\\Selector\:\:parseComponents\(\) should return non\-empty\-list\<Sabberworm\\CSS\\Property\\Selector\\Component\> but returns list\<Sabberworm\\CSS\\Property\\Selector\\Combinator\|Sabberworm\\CSS\\Property\\Selector\\CompoundSelector\>\.$#'
101
+
identifier:return.type
102
+
count:1
103
+
path:../../src/Property/Selector.php
104
+
105
+
-
106
+
message:'#^Parameter \#1 \$selector of class Sabberworm\\CSS\\Property\\KeyframeSelector constructor expects non\-empty\-list\<Sabberworm\\CSS\\Property\\Selector\\Component\>\|non\-empty\-string, string given\.$#'
107
+
identifier:argument.type
108
+
count:1
109
+
path:../../src/RuleSet/DeclarationBlock.php
110
+
111
+
-
112
+
message:'#^Parameter \#1 \$selector of class Sabberworm\\CSS\\Property\\Selector constructor expects non\-empty\-list\<Sabberworm\\CSS\\Property\\Selector\\Component\>\|non\-empty\-string, string given\.$#'
113
+
identifier:argument.type
114
+
count:1
115
+
path:../../src/RuleSet/DeclarationBlock.php
116
+
27
117
-
28
118
message:'#^Parameters should have "string" types as the only types passed to this method$#'
message:'#^Property Sabberworm\\CSS\\RuleSet\\DeclarationBlock\:\:\$selectors \(list\<Sabberworm\\CSS\\Property\\Selector\>\) does not accept array\<int\<0, max\>, Sabberworm\\CSS\\Property\\Selector\>\.$#'
125
+
identifier:assign.propertyType
126
+
count:1
127
+
path:../../src/RuleSet/DeclarationBlock.php
128
+
129
+
-
130
+
message:'#^Property Sabberworm\\CSS\\RuleSet\\DeclarationBlock\:\:\$selectors \(list\<Sabberworm\\CSS\\Property\\Selector\>\) does not accept list\<Sabberworm\\CSS\\Property\\Selector\|string\>\.$#'
131
+
identifier:assign.propertyType
132
+
count:1
133
+
path:../../src/RuleSet/DeclarationBlock.php
134
+
135
+
-
136
+
message:'#^Parameter \#1 \$name of class Sabberworm\\CSS\\Value\\CSSFunction constructor expects non\-empty\-string, string given\.$#'
137
+
identifier:argument.type
138
+
count:1
139
+
path:../../src/Value/CSSFunction.php
140
+
33
141
-
34
142
message:'#^Parameter \#2 \$arguments of class Sabberworm\\CSS\\Value\\CSSFunction constructor expects array\<Sabberworm\\CSS\\Value\\Value\|string\>\|Sabberworm\\CSS\\Value\\RuleValueList, Sabberworm\\CSS\\Value\\Value\|string given\.$#'
35
143
identifier:argument.type
@@ -48,6 +156,24 @@ parameters:
48
156
count:3
49
157
path:../../src/Value/Color.php
50
158
159
+
-
160
+
message:'#^Parameter \#1 \$name of method Sabberworm\\CSS\\Value\\CSSFunction\:\:__construct\(\) expects non\-empty\-string, string given\.$#'
161
+
identifier:argument.type
162
+
count:1
163
+
path:../../src/Value/Color.php
164
+
165
+
-
166
+
message:'#^Parameter \#1 \$name of method Sabberworm\\CSS\\Value\\CSSFunction\:\:setName\(\) expects non\-empty\-string, string given\.$#'
167
+
identifier:argument.type
168
+
count:1
169
+
path:../../src/Value/Color.php
170
+
171
+
-
172
+
message:'#^Method Sabberworm\\CSS\\Value\\Size\:\:render\(\) should return non\-empty\-string but returns string\.$#'
173
+
identifier:return.type
174
+
count:1
175
+
path:../../src/Value/Size.php
176
+
51
177
-
52
178
message:'#^Parameters should have "float" types as the only types passed to this method$#'
message:'#^Method Sabberworm\\CSS\\Value\\Value\:\:parseIdentifierOrFunction\(\) should return Sabberworm\\CSS\\Value\\CSSFunction\|string but returns Sabberworm\\CSS\\Value\\CSSFunction\|Sabberworm\\CSS\\Value\\URL\|string\.$#'
191
+
identifier:return.type
192
+
count:1
193
+
path:../../src/Value/Value.php
194
+
195
+
-
196
+
message:'#^Parameter \#1 \$name of class Sabberworm\\CSS\\Value\\CSSFunction constructor expects non\-empty\-string, string given\.$#'
197
+
identifier:argument.type
198
+
count:1
199
+
path:../../src/Value/Value.php
200
+
63
201
-
64
202
message:'#^Parameter \#2 \$arguments of class Sabberworm\\CSS\\Value\\CSSFunction constructor expects array\<Sabberworm\\CSS\\Value\\Value\|string\>\|Sabberworm\\CSS\\Value\\RuleValueList, Sabberworm\\CSS\\Value\\Value\|string given\.$#'
65
203
identifier:argument.type
@@ -72,12 +210,36 @@ parameters:
72
210
count:1
73
211
path:../../src/Value/Value.php
74
212
213
+
-
214
+
message:'#^Parameter \#1 \$propertyName of class Sabberworm\\CSS\\Property\\Declaration constructor expects non\-empty\-string, string given\.$#'
message:'#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with ''red'' and Sabberworm\\CSS\\Value\\Value will always evaluate to false\.$#'
77
221
identifier:staticMethod.impossibleType
78
222
count:1
79
223
path:../../tests/ParserTest.php
80
224
225
+
-
226
+
message:'#^Cannot call method getListComponents\(\) on Sabberworm\\CSS\\Value\\RuleValueList\|string\.$#'
227
+
identifier:method.nonObject
228
+
count:2
229
+
path:../../tests/ParserTest.php
230
+
231
+
-
232
+
message:'#^Cannot call method getListSeparator\(\) on Sabberworm\\CSS\\Value\\RuleValueList\|string\.$#'
233
+
identifier:method.nonObject
234
+
count:2
235
+
path:../../tests/ParserTest.php
236
+
237
+
-
238
+
message:'#^Cannot call method render\(\) on Sabberworm\\CSS\\Value\\RuleValueList\|string\.$#'
239
+
identifier:method.nonObject
240
+
count:1
241
+
path:../../tests/ParserTest.php
242
+
81
243
-
82
244
message:'#^Parameter \#1 \$value of method Sabberworm\\CSS\\Property\\Declaration\:\:setValue\(\) expects Sabberworm\\CSS\\Value\\RuleValueList\|string\|null, Sabberworm\\CSS\\Value\\Size given\.$#'
83
245
identifier:argument.type
@@ -107,3 +269,99 @@ parameters:
107
269
identifier:argument.type
108
270
count:2
109
271
path:../../tests/Unit/CSSList/CSSListTest.php
272
+
273
+
-
274
+
message:'#^Method Sabberworm\\CSS\\Tests\\Unit\\Comment\\CommentContainerTest\:\:provideAlternativeNonemptyCommentArray\(\) should return array\<non\-empty\-string, array\{non\-empty\-list\<Sabberworm\\CSS\\Comment\\Comment\>\}\> but returns array\<non\-empty\-string, array\{list\<Sabberworm\\CSS\\Comment\\Comment\>\}\>\.$#'
0 commit comments