From 2a1c2085e003a09bd135707d6ce15c3e9af455e3 Mon Sep 17 00:00:00 2001 From: "Jonathan H. Wage" Date: Wed, 8 May 2019 13:16:43 -0500 Subject: [PATCH] Deprecate the public constants in SQLParserUtils --- UPGRADE.md | 4 ++++ lib/Doctrine/DBAL/SQLParserUtils.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 = '(?