Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a193ec7

Browse files
Merge pull request #620 from niconoe-/new-mariadb-contexts
Add MariaDB Contexts 11.8 and 12.0.
2 parents 07044bc + d8aa400 commit a193ec7

11 files changed

+4336
-4
lines changed

‎psalm-baseline.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,12 @@
638638
<file src="src/Contexts/ContextMariaDb110700.php">
639639
<PropertyTypeCoercion occurrences="1"/>
640640
</file>
641+
<file src="src/Contexts/ContextMariaDb110800.php">
642+
<PropertyTypeCoercion occurrences="1"/>
643+
</file>
644+
<file src="src/Contexts/ContextMariaDb120000.php">
645+
<PropertyTypeCoercion occurrences="1"/>
646+
</file>
641647
<file src="src/Contexts/ContextMySql50000.php">
642648
<PropertyTypeCoercion occurrences="1"/>
643649
</file>

‎src/Contexts/ContextMariaDb110700.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,9 +1038,9 @@ class ContextMariaDb110700 extends Context
10381038
'UPPER' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
10391039
'USER' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
10401040
'UUID' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
1041-
'UUIDV4' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
1042-
'UUIDV7' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
10431041
'UUID_SHORT' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
1042+
'UUID_V4' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
1043+
'UUID_V7' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
10441044
'VALIDATE_PASSWORD_STRENGTH' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
10451045
'VARIANCE' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,
10461046
'VAR_POP' => Token::FLAG_KEYWORD | Token::FLAG_KEYWORD_FUNCTION,

‎src/Contexts/ContextMariaDb110800.php

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

‎src/Contexts/ContextMariaDb120000.php

Lines changed: 1105 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
@@ -87,6 +87,8 @@ class ContextGenerator
8787
'MariaDb110500' => 'https://mariadb.com/kb/en/reserved-words/',
8888
'MariaDb110600' => 'https://mariadb.com/kb/en/reserved-words/',
8989
'MariaDb110700' => 'https://mariadb.com/kb/en/reserved-words/',
90+
'MariaDb110800' => 'https://mariadb.com/kb/en/reserved-words/',
91+
'MariaDb120000' => 'https://mariadb.com/kb/en/reserved-words/',
9092
];
9193

9294
/**

‎tests/Lexer/ContextTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ public static function contextNamesProvider(): array
137137
['MariaDb110500'],
138138
['MariaDb110600'],
139139
['MariaDb110700'],
140+
['MariaDb110800'],
141+
['MariaDb120000'],
140142
];
141143
}
142144

@@ -190,6 +192,8 @@ public static function contextClassesProvider(): array
190192
[Contexts\ContextMariaDb110500::class],
191193
[Contexts\ContextMariaDb110600::class],
192194
[Contexts\ContextMariaDb110700::class],
195+
[Contexts\ContextMariaDb110800::class],
196+
[Contexts\ContextMariaDb120000::class],
193197
];
194198
}
195199

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /