Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,9 @@
<file src="src/Contexts/ContextMariaDb120000.php">
<PropertyTypeCoercion occurrences="1"/>
</file>
<file src="src/Contexts/ContextMariaDb120100.php">
<PropertyTypeCoercion occurrences="1"/>
</file>
<file src="src/Contexts/ContextMySql50000.php">
<PropertyTypeCoercion occurrences="1"/>
</file>
Expand Down Expand Up @@ -680,6 +683,12 @@
<file src="src/Contexts/ContextMySql90100.php">
<PropertyTypeCoercion occurrences="1"/>
</file>
<file src="src/Contexts/ContextMySql90200.php">
<PropertyTypeCoercion occurrences="1"/>
</file>
<file src="src/Contexts/ContextMySql90300.php">
<PropertyTypeCoercion occurrences="1"/>
</file>
<file src="src/Lexer.php">
<LoopInvalidation occurrences="3">
<code>$this-&gt;last</code>
Expand Down
1,105 changes: 1,105 additions & 0 deletions src/Contexts/ContextMariaDb120100.php

Large diffs are not rendered by default.

1,090 changes: 1,090 additions & 0 deletions src/Contexts/ContextMySql90200.php

Large diffs are not rendered by default.

1,090 changes: 1,090 additions & 0 deletions src/Contexts/ContextMySql90300.php

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/Tools/ContextGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class ContextGenerator
'MySql80400' => 'https://dev.mysql.com/doc/refman/8.4/en/keywords.html',
'MySql90000' => 'https://dev.mysql.com/doc/refman/9.0/en/keywords.html',
'MySql90100' => 'https://dev.mysql.com/doc/refman/9.1/en/keywords.html',
'MySql90200' => 'https://dev.mysql.com/doc/refman/9.2/en/keywords.html',
'MySql90300' => 'https://dev.mysql.com/doc/refman/9.3/en/keywords.html',
'MariaDb100000' => 'https://mariadb.com/kb/en/reserved-words/',
'MariaDb100100' => 'https://mariadb.com/kb/en/reserved-words/',
'MariaDb100200' => 'https://mariadb.com/kb/en/reserved-words/',
Expand All @@ -89,6 +91,7 @@ class ContextGenerator
'MariaDb110700' => 'https://mariadb.com/kb/en/reserved-words/',
'MariaDb110800' => 'https://mariadb.com/kb/en/reserved-words/',
'MariaDb120000' => 'https://mariadb.com/kb/en/reserved-words/',
'MariaDb120100' => 'https://mariadb.com/kb/en/reserved-words/',
];

/**
Expand Down
6 changes: 6 additions & 0 deletions tests/Lexer/ContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public static function contextNamesProvider(): array
['MySql80400'],
['MySql90000'],
['MySql90100'],
['MySql90200'],
['MySql90300'],
['MariaDb100000'],
['MariaDb100100'],
['MariaDb100200'],
Expand All @@ -139,6 +141,7 @@ public static function contextNamesProvider(): array
['MariaDb110700'],
['MariaDb110800'],
['MariaDb120000'],
['MariaDb120100'],
];
}

Expand Down Expand Up @@ -172,6 +175,8 @@ public static function contextClassesProvider(): array
[Contexts\ContextMySql80400::class],
[Contexts\ContextMySql90000::class],
[Contexts\ContextMySql90100::class],
[Contexts\ContextMySql90200::class],
[Contexts\ContextMySql90300::class],
[Contexts\ContextMariaDb100000::class],
[Contexts\ContextMariaDb100100::class],
[Contexts\ContextMariaDb100200::class],
Expand All @@ -194,6 +199,7 @@ public static function contextClassesProvider(): array
[Contexts\ContextMariaDb110700::class],
[Contexts\ContextMariaDb110800::class],
[Contexts\ContextMariaDb120000::class],
[Contexts\ContextMariaDb120100::class],
];
}

Expand Down
Loading
Loading