Skip to content

Commit f5fda18

Browse files
committed
Fix #587: Add MariaDb 11.6 and 11.7 contexts.
1 parent b14fd66 commit f5fda18

File tree

9 files changed

+4310
-0
lines changed

9 files changed

+4310
-0
lines changed

psalm-baseline.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,12 @@
632632
<file src="src/Contexts/ContextMariaDb110500.php">
633633
<PropertyTypeCoercion occurrences="1"/>
634634
</file>
635+
<file src="src/Contexts/ContextMariaDb110600.php">
636+
<PropertyTypeCoercion occurrences="1"/>
637+
</file>
638+
<file src="src/Contexts/ContextMariaDb110700.php">
639+
<PropertyTypeCoercion occurrences="1"/>
640+
</file>
635641
<file src="src/Contexts/ContextMySql50000.php">
636642
<PropertyTypeCoercion occurrences="1"/>
637643
</file>

src/Contexts/ContextMariaDb110600.php

Lines changed: 1096 additions & 0 deletions
Large diffs are not rendered by default.

src/Contexts/ContextMariaDb110700.php

Lines changed: 1103 additions & 0 deletions
Large diffs are not rendered by default.

src/Tools/ContextGenerator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ class ContextGenerator
8484
'MariaDb110300' => 'https://mariadb.com/kb/en/reserved-words/',
8585
'MariaDb110400' => 'https://mariadb.com/kb/en/reserved-words/',
8686
'MariaDb110500' => 'https://mariadb.com/kb/en/reserved-words/',
87+
'MariaDb110600' => 'https://mariadb.com/kb/en/reserved-words/',
88+
'MariaDb110700' => 'https://mariadb.com/kb/en/reserved-words/',
8789
];
8890

8991
/**

tests/Lexer/ContextTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ public static function contextNamesProvider(): array
134134
['MariaDb110300'],
135135
['MariaDb110400'],
136136
['MariaDb110500'],
137+
['MariaDb110600'],
138+
['MariaDb110700'],
137139
];
138140
}
139141

@@ -184,6 +186,8 @@ public static function contextClassesProvider(): array
184186
[Contexts\ContextMariaDb110300::class],
185187
[Contexts\ContextMariaDb110400::class],
186188
[Contexts\ContextMariaDb110500::class],
189+
[Contexts\ContextMariaDb110600::class],
190+
[Contexts\ContextMariaDb110700::class],
187191
];
188192
}
189193

0 commit comments

Comments
 (0)