File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ Some of the constants were renamed in the process:
23
23
* ` DATETIMETZ ` -> ` DATETIMETZ_MUTABLE `
24
24
* ` TIME ` -> ` TIME_MUTABLE `
25
25
26
+ ## Deprecated ` SQLParserUtils ` constants
27
+
28
+ The constants in ` Doctrine\DBAL\SQLParserUtils ` have been deprecated and will be made private in 3.0.
29
+
26
30
# Upgrade to 2.9
27
31
28
32
## Deprecated ` Statement::fetchColumn() ` with an invalid index
@@ -92,7 +96,7 @@ This method now throws SPL ``UnexpectedValueException`` instead of accidentally
92
96
93
97
## Doctrine\DBAL\Connection::TRANSACTION_ * constants deprecated
94
98
95
- `` Doctrine\DBAL\Connection::TRANSACTION_* `` were moved into `` Doctrine\DBAL\TransactionIsolationLevel `` class without the `` TRANSACTION_ `` prefix.
99
+ `` Doctrine\DBAL\Connection::TRANSACTION_* `` were moved into `` Doctrine\DBAL\TransactionIsolationLevel `` class without the `` TRANSACTION_ `` prefix.
96
100
97
101
## DEPRECATION: direct usage of the PDO APIs in the DBAL API
98
102
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ class SQLParserUtils
30
30
*/
31
31
public const POSITIONAL_TOKEN = '\? ' ;
32
32
public const NAMED_TOKEN = '(?<!:):[a-zA-Z_][a-zA-Z0-9_]* ' ;
33
- /**#@-*/
34
-
35
33
// Quote characters within string literals can be preceded by a backslash.
36
34
public const ESCAPED_SINGLE_QUOTED_TEXT = "(?:'(?: \\\\\\\\)+'|'(?:[^' \\\\]| \\\\'?|'')*') " ;
37
35
public const ESCAPED_DOUBLE_QUOTED_TEXT = '(?:"(?: \\\\\\\\)+"|"(?:[^" \\\\]| \\\\"?)*") ' ;
38
36
public const ESCAPED_BACKTICK_QUOTED_TEXT = '(?:`(?: \\\\\\\\)+`|`(?:[^` \\\\]| \\\\`?)*`) ' ;
37
+ /**#@-*/
38
+
39
39
private const ESCAPED_BRACKET_QUOTED_TEXT = '(?<!\b(?i:ARRAY))\[(?:[^\]])*\] ' ;
40
40
41
41
/**
You can’t perform that action at this time.
0 commit comments