diff --git a/UPGRADE.md b/UPGRADE.md index 8d75a81b1ac..329c92b226a 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -27,6 +27,10 @@ Some of the constants were renamed in the process: The `Doctrine\DBAL\Driver\SQLSrv\SQLSrvStatement::LAST_INSERT_ID_SQL` constant has been deprecated and will be made private in 3.0. +## Deprecated `SQLParserUtils` constants + +The constants in `Doctrine\DBAL\SQLParserUtils` have been deprecated and will be made private in 3.0. + # Upgrade to 2.9 ## Deprecated `Statement::fetchColumn()` with an invalid index diff --git a/lib/Doctrine/DBAL/SQLParserUtils.php b/lib/Doctrine/DBAL/SQLParserUtils.php index 0ff0456a00e..9768883846e 100644 --- a/lib/Doctrine/DBAL/SQLParserUtils.php +++ b/lib/Doctrine/DBAL/SQLParserUtils.php @@ -30,12 +30,12 @@ class SQLParserUtils */ public const POSITIONAL_TOKEN = '\?'; public const NAMED_TOKEN = '(?