diff --git a/UPGRADE.md b/UPGRADE.md index 91e57013d29..901ca24f970 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -23,6 +23,10 @@ Some of the constants were renamed in the process: * `DATETIMETZ` -> `DATETIMETZ_MUTABLE` * `TIME` -> `TIME_MUTABLE` +## 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 @@ -92,7 +96,7 @@ This method now throws SPL ``UnexpectedValueException`` instead of accidentally ## Doctrine\DBAL\Connection::TRANSACTION_* constants deprecated -``Doctrine\DBAL\Connection::TRANSACTION_*`` were moved into ``Doctrine\DBAL\TransactionIsolationLevel`` class without the ``TRANSACTION_`` prefix. +``Doctrine\DBAL\Connection::TRANSACTION_*`` were moved into ``Doctrine\DBAL\TransactionIsolationLevel`` class without the ``TRANSACTION_`` prefix. ## DEPRECATION: direct usage of the PDO APIs in the DBAL API 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 = '(?