diff --git a/UPGRADE.md b/UPGRADE.md index 9eb98d764a3..e8c8997dc67 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,5 +1,9 @@ # Upgrade to 2.11 +## Deprecated `Abstraction\Result` + +The usage of the `Doctrine\DBAL\Abstraction\Result` interface is deprecated. In DBAL 3.0, the statement result at the wrapper level will be represented by the `Doctrine\DBAL\Result` class. + ## Deprecated the functionality of dropping client connections when dropping a database The corresponding `getDisallowDatabaseConnectionsSQL()` and `getCloseActiveDatabaseConnectionsSQL` methods diff --git a/lib/Doctrine/DBAL/Abstraction/Result.php b/lib/Doctrine/DBAL/Abstraction/Result.php index 42ff3419e37..2b1f8e69f3f 100644 --- a/lib/Doctrine/DBAL/Abstraction/Result.php +++ b/lib/Doctrine/DBAL/Abstraction/Result.php @@ -11,6 +11,8 @@ /** * Abstraction-level result statement execution result. Provides additional methods on top * of the driver-level interface. + * + * @deprecated */ interface Result extends DriverResult {