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
Copy file name to clipboardExpand all lines: config/phpstan-baseline.neon
+59Lines changed: 59 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,18 @@ parameters:
12
12
count:1
13
13
path:../src/CSSList/AtRuleBlockList.php
14
14
15
+
-
16
+
message:'#^Parameter &\$result by\-ref type of method Sabberworm\\CSS\\CSSList\\CSSBlockList\:\:allSelectors\(\) expects array\<int, Sabberworm\\CSS\\Property\\Selector\>, array\<int, Sabberworm\\CSS\\Property\\Selector\|string\> given\.$#'
17
+
identifier:parameterByRef.type
18
+
count:2
19
+
path:../src/CSSList/CSSBlockList.php
20
+
21
+
-
22
+
message:'#^Parameter &\$result by\-ref type of method Sabberworm\\CSS\\CSSList\\CSSBlockList\:\:allValues\(\) expects array\<int, Sabberworm\\CSS\\Value\\Value\>, array\<int, Sabberworm\\CSS\\CSSList\\CSSList\|Sabberworm\\CSS\\Value\\Value\> given\.$#'
23
+
identifier:parameterByRef.type
24
+
count:1
25
+
path:../src/CSSList/CSSBlockList.php
26
+
15
27
-
16
28
message:'#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:safely\(\)\.$#'
17
29
identifier:method.notFound
@@ -54,6 +66,24 @@ parameters:
54
66
count:1
55
67
path:../src/CSSList/KeyFrame.php
56
68
69
+
-
70
+
message:'#^Method Sabberworm\\CSS\\OutputFormat\:\:getRGBHashNotation\(\) should return bool but returns string\.$#'
71
+
identifier:return.type
72
+
count:1
73
+
path:../src/OutputFormat.php
74
+
75
+
-
76
+
message:'#^Property Sabberworm\\CSS\\OutputFormat\:\:\$bRGBHashNotation \(string\) does not accept bool\.$#'
77
+
identifier:assign.propertyType
78
+
count:1
79
+
path:../src/OutputFormat.php
80
+
81
+
-
82
+
message:'#^Property Sabberworm\\CSS\\OutputFormat\:\:\$bRGBHashNotation \(string\) does not accept default value of type true\.$#'
83
+
identifier:property.defaultValue
84
+
count:1
85
+
path:../src/OutputFormat.php
86
+
57
87
-
58
88
message:'#^Default value of the parameter \#2 \$bIncludeEnd \(false\) of method Sabberworm\\CSS\\Parsing\\ParserState\:\:consumeUntil\(\) is incompatible with type string\.$#'
59
89
identifier:parameter.defaultValue
@@ -78,12 +108,24 @@ parameters:
78
108
count:1
79
109
path:../src/Property/CSSNamespace.php
80
110
111
+
-
112
+
message:'#^Return type \(array\<int, string\>\) of method Sabberworm\\CSS\\Property\\CSSNamespace\:\:atRuleArgs\(\) should be compatible with return type \(string\|null\) of method Sabberworm\\CSS\\Property\\AtRule\:\:atRuleArgs\(\)$#'
113
+
identifier:method.childReturnType
114
+
count:1
115
+
path:../src/Property/CSSNamespace.php
116
+
81
117
-
82
118
message:'#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
83
119
identifier:method.notFound
84
120
count:1
85
121
path:../src/Property/Charset.php
86
122
123
+
-
124
+
message:'#^Method Sabberworm\\CSS\\Property\\Charset\:\:atRuleArgs\(\) should return string but returns Sabberworm\\CSS\\Value\\CSSString\.$#'
125
+
identifier:return.type
126
+
count:1
127
+
path:../src/Property/Charset.php
128
+
87
129
-
88
130
message:'#^PHPDoc tag @param references unknown parameter\: \$oCharset$#'
89
131
identifier:parameter.notFound
@@ -96,6 +138,12 @@ parameters:
96
138
count:1
97
139
path:../src/Property/Import.php
98
140
141
+
-
142
+
message:'#^Return type \(array\<int, Sabberworm\\CSS\\Value\\URL\|string\>\) of method Sabberworm\\CSS\\Property\\Import\:\:atRuleArgs\(\) should be compatible with return type \(string\|null\) of method Sabberworm\\CSS\\Property\\AtRule\:\:atRuleArgs\(\)$#'
143
+
identifier:method.childReturnType
144
+
count:1
145
+
path:../src/Property/Import.php
146
+
99
147
-
100
148
message:'#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
101
149
identifier:method.notFound
@@ -150,6 +198,12 @@ parameters:
150
198
count:1
151
199
path:../src/RuleSet/DeclarationBlock.php
152
200
201
+
-
202
+
message:'#^Argument of an invalid type Sabberworm\\CSS\\Rule\\Rule supplied for foreach, only iterables are supported\.$#'
203
+
identifier:foreach.nonIterable
204
+
count:2
205
+
path:../src/RuleSet/RuleSet.php
206
+
153
207
-
154
208
message:'#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:removeLastSemicolon\(\)\.$#'
155
209
identifier:method.notFound
@@ -234,4 +288,9 @@ parameters:
234
288
count:1
235
289
path:../src/Value/ValueList.php
236
290
291
+
-
292
+
message:'#^Method Sabberworm\\CSS\\Tests\\Unit\\Value\\ValueTest\:\:provideCssFunctionTemplates\(\) should return array\<string, array\{string, string\}\> but returns array\{calc\: array\{to be parsed\: ''calc\(%%s\);'', expected\: ''calc\(%%s\)''\}, max\: array\{to be parsed\: ''max\(300px, %%s\);'', expected\: ''max\(300px,%%s\)''\}, clamp\: array\{to be parsed\: ''clamp\(2\.19rem, %%s,…'', expected\: ''clamp\(2\.19rem,%%s,2…''\}\}\.$#'
0 commit comments