Skip to content

Commit 41ad592

Browse files
committed
Update baselines
Signed-off-by: William Desportes <[email protected]>
1 parent c123f08 commit 41ad592

2 files changed

Lines changed: 3 additions & 16 deletions

File tree

phpstan-baseline.neon

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,6 @@ parameters:
170170
count: 1
171171
path: src/Components/ExpressionArray.php
172172

173-
-
174-
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\FunctionCall\\:\\:\\$name \\(string\\|null\\) does not accept mixed\\.$#"
175-
count: 1
176-
path: src/Components/FunctionCall.php
177-
178173
-
179174
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\FunctionCall\\:\\:\\$parameters \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\ArrayObj\\|null\\) does not accept array\\<PhpMyAdmin\\\\SqlParser\\\\Component\\>\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\ArrayObj\\.$#"
180175
count: 1
@@ -560,11 +555,6 @@ parameters:
560555
count: 1
561556
path: src/Parser.php
562557

563-
-
564-
message: "#^Cannot access property \\$type on PhpMyAdmin\\\\SqlParser\\\\Token\\|null\\.$#"
565-
count: 1
566-
path: src/Statement.php
567-
568558
-
569559
message: "#^Offset 'class' does not exist on array\\{class\\?\\: string, field\\?\\: non\\-empty\\-string, options\\?\\: array\\<string, string\\>\\}\\.$#"
570560
count: 1

psalm-baseline.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@
203203
</RedundantCondition>
204204
</file>
205205
<file src="src/Components/FunctionCall.php">
206-
<MixedAssignment occurrences="1">
207-
<code>$ret-&gt;name</code>
208-
</MixedAssignment>
206+
<MixedOperand occurrences="1">
207+
<code>$token-&gt;value</code>
208+
</MixedOperand>
209209
<MoreSpecificImplementedParamType occurrences="1">
210210
<code>$component</code>
211211
</MoreSpecificImplementedParamType>
@@ -877,9 +877,6 @@
877877
<MixedOperand occurrences="1">
878878
<code>$class::build($this-&gt;$field)</code>
879879
</MixedOperand>
880-
<PossiblyNullPropertyFetch occurrences="1">
881-
<code>$list-&gt;offsetGet($list-&gt;idx)-&gt;type</code>
882-
</PossiblyNullPropertyFetch>
883880
<PossiblyUndefinedArrayOffset occurrences="4">
884881
<code>Parser::$KEYWORD_PARSERS[$name]['class']</code>
885882
<code>Parser::$KEYWORD_PARSERS[$name]['field']</code>

0 commit comments

Comments
 (0)