Skip to content

Commit 448c92e

Browse files
committed
Update baselines
Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent c4d58c0 commit 448c92e

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

phpstan-baseline.neon

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,36 @@ parameters:
700700
count: 1
701701
path: src/Statements/DeleteStatement.php
702702

703+
-
704+
message: "#^Cannot access property \\$keyword on PhpMyAdmin\\\\SqlParser\\\\Token\\|null\\.$#"
705+
count: 1
706+
path: src/Statements/ExplainStatement.php
707+
708+
-
709+
message: "#^Cannot access property \\$options on PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null\\.$#"
710+
count: 1
711+
path: src/Statements/ExplainStatement.php
712+
713+
-
714+
message: "#^Cannot access property \\$value on PhpMyAdmin\\\\SqlParser\\\\Token\\|null\\.$#"
715+
count: 1
716+
path: src/Statements/ExplainStatement.php
717+
718+
-
719+
message: "#^Parameter \\#1 \\$component of static method PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\:\\:build\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray, PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null given\\.$#"
720+
count: 1
721+
path: src/Statements/ExplainStatement.php
722+
723+
-
724+
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\ExplainStatement\\:\\:\\$connectionId \\(int\\|null\\) does not accept mixed\\.$#"
725+
count: 1
726+
path: src/Statements/ExplainStatement.php
727+
728+
-
729+
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\ExplainStatement\\:\\:\\$explainedTable \\(string\\|null\\) does not accept mixed\\.$#"
730+
count: 1
731+
path: src/Statements/ExplainStatement.php
732+
703733
-
704734
message: "#^Cannot access property \\$keyword on PhpMyAdmin\\\\SqlParser\\\\Token\\|null\\.$#"
705735
count: 2

psalm-baseline.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,29 @@
10001000
<code>$this-&gt;from</code>
10011001
</PossiblyNullIterator>
10021002
</file>
1003+
<file src="src/Statements/ExplainStatement.php">
1004+
<MixedAssignment occurrences="2">
1005+
<code>$this-&gt;connectionId</code>
1006+
<code>$this-&gt;explainedTable</code>
1007+
</MixedAssignment>
1008+
<PossiblyNullArgument occurrences="2">
1009+
<code>$this-&gt;options</code>
1010+
<code>$this-&gt;options-&gt;options</code>
1011+
</PossiblyNullArgument>
1012+
<PossiblyNullPropertyFetch occurrences="3">
1013+
<code>$nextToken-&gt;keyword</code>
1014+
<code>$nextToken-&gt;value</code>
1015+
<code>$this-&gt;options-&gt;options</code>
1016+
</PossiblyNullPropertyFetch>
1017+
<PropertyNotSetInConstructor occurrences="1">
1018+
<code>$statementAlias</code>
1019+
</PropertyNotSetInConstructor>
1020+
<UnusedVariable occurrences="3">
1021+
<code>$connectionToken</code>
1022+
<code>$currToken</code>
1023+
<code>$forToken</code>
1024+
</UnusedVariable>
1025+
</file>
10031026
<file src="src/Statements/InsertStatement.php">
10041027
<PossiblyNullOperand occurrences="2">
10051028
<code>$this-&gt;into</code>

0 commit comments

Comments
 (0)