Skip to content

Commit

Permalink
Merge pull request #4291 from morozov/deprecate-result-interface-subt…
Browse files Browse the repository at this point in the history
…yping

Deprecate Abstraction\Result
  • Loading branch information
morozov committed Sep 25, 2020
2 parents 6ff72e4 + e90de0c commit 2d09772
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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
Expand Down
2 changes: 2 additions & 0 deletions lib/Doctrine/DBAL/Abstraction/Result.php
Expand Up @@ -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
{
Expand Down

0 comments on commit 2d09772

Please sign in to comment.