Skip to content

Commit 227d979

Browse files
Merge pull request #603 from MauricioFauth/mysql-9.1-context
Add context files for MySQL 9.1
2 parents 77e8675 + 6072d1d commit 227d979

File tree

7 files changed

+2137
-10
lines changed

7 files changed

+2137
-10
lines changed

phpstan-baseline.neon

-10
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ parameters:
2020
count: 1
2121
path: src/Components/AlterOperation.php
2222

23-
-
24-
message: "#^array\\<PhpMyAdmin\\\\SqlParser\\\\Token\\>\\|string does not accept PhpMyAdmin\\\\SqlParser\\\\Token\\.$#"
25-
count: 3
26-
path: src/Components/AlterOperation.php
27-
2823
-
2924
message: "#^Cannot access property \\$values on array\\<PhpMyAdmin\\\\SqlParser\\\\Component\\>\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\ArrayObj\\.$#"
3025
count: 1
@@ -635,11 +630,6 @@ parameters:
635630
count: 1
636631
path: src/Statements/CreateStatement.php
637632

638-
-
639-
message: "#^array\\<PhpMyAdmin\\\\SqlParser\\\\Token\\>\\|string does not accept PhpMyAdmin\\\\SqlParser\\\\Token\\.$#"
640-
count: 4
641-
path: src/Statements/CreateStatement.php
642-
643633
-
644634
message: "#^Argument of an invalid type array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\>\\|null supplied for foreach, only iterables are supported\\.$#"
645635
count: 1

psalm-baseline.xml

+3
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,9 @@
671671
<file src="src/Contexts/ContextMySql90000.php">
672672
<PropertyTypeCoercion occurrences="1"/>
673673
</file>
674+
<file src="src/Contexts/ContextMySql90100.php">
675+
<PropertyTypeCoercion occurrences="1"/>
676+
</file>
674677
<file src="src/Lexer.php">
675678
<LoopInvalidation occurrences="3">
676679
<code>$this-&gt;last</code>

0 commit comments

Comments
 (0)