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
+36-1Lines changed: 36 additions & 1 deletion
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
@@ -78,12 +90,24 @@ parameters:
78
90
count:1
79
91
path:../src/Property/CSSNamespace.php
80
92
93
+
-
94
+
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\(\)$#'
95
+
identifier:method.childReturnType
96
+
count:1
97
+
path:../src/Property/CSSNamespace.php
98
+
81
99
-
82
100
message:'#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
83
101
identifier:method.notFound
84
102
count:1
85
103
path:../src/Property/Charset.php
86
104
105
+
-
106
+
message:'#^Method Sabberworm\\CSS\\Property\\Charset\:\:atRuleArgs\(\) should return string but returns Sabberworm\\CSS\\Value\\CSSString\.$#'
107
+
identifier:return.type
108
+
count:1
109
+
path:../src/Property/Charset.php
110
+
87
111
-
88
112
message:'#^PHPDoc tag @param references unknown parameter\: \$oCharset$#'
89
113
identifier:parameter.notFound
@@ -96,6 +120,12 @@ parameters:
96
120
count:1
97
121
path:../src/Property/Import.php
98
122
123
+
-
124
+
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\(\)$#'
125
+
identifier:method.childReturnType
126
+
count:1
127
+
path:../src/Property/Import.php
128
+
99
129
-
100
130
message:'#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
101
131
identifier:method.notFound
@@ -150,6 +180,12 @@ parameters:
150
180
count:1
151
181
path:../src/RuleSet/DeclarationBlock.php
152
182
183
+
-
184
+
message:'#^Argument of an invalid type Sabberworm\\CSS\\Rule\\Rule supplied for foreach, only iterables are supported\.$#'
185
+
identifier:foreach.nonIterable
186
+
count:2
187
+
path:../src/RuleSet/RuleSet.php
188
+
153
189
-
154
190
message:'#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:removeLastSemicolon\(\)\.$#'
0 commit comments