Skip to content

Commit

Permalink
Merge pull request #603 from MauricioFauth/mysql-9.1-context
Browse files Browse the repository at this point in the history
Add context files for MySQL 9.1
  • Loading branch information
MauricioFauth authored Dec 5, 2024
2 parents 77e8675 + 6072d1d commit 227d979
Show file tree
Hide file tree
Showing 7 changed files with 2,137 additions and 10 deletions.
10 changes: 0 additions & 10 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ parameters:
count: 1
path: src/Components/AlterOperation.php

-
message: "#^array\\<PhpMyAdmin\\\\SqlParser\\\\Token\\>\\|string does not accept PhpMyAdmin\\\\SqlParser\\\\Token\\.$#"
count: 3
path: src/Components/AlterOperation.php

-
message: "#^Cannot access property \\$values on array\\<PhpMyAdmin\\\\SqlParser\\\\Component\\>\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\ArrayObj\\.$#"
count: 1
Expand Down Expand Up @@ -635,11 +630,6 @@ parameters:
count: 1
path: src/Statements/CreateStatement.php

-
message: "#^array\\<PhpMyAdmin\\\\SqlParser\\\\Token\\>\\|string does not accept PhpMyAdmin\\\\SqlParser\\\\Token\\.$#"
count: 4
path: src/Statements/CreateStatement.php

-
message: "#^Argument of an invalid type array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\>\\|null supplied for foreach, only iterables are supported\\.$#"
count: 1
Expand Down
3 changes: 3 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,9 @@
<file src="src/Contexts/ContextMySql90000.php">
<PropertyTypeCoercion occurrences="1"/>
</file>
<file src="src/Contexts/ContextMySql90100.php">
<PropertyTypeCoercion occurrences="1"/>
</file>
<file src="src/Lexer.php">
<LoopInvalidation occurrences="3">
<code>$this-&gt;last</code>
Expand Down
Loading

0 comments on commit 227d979

Please sign in to comment.