Skip to content

Commit

Permalink
Merge pull request #4165 from morozov/deprecate-wrapper-as-driver
Browse files Browse the repository at this point in the history
Deprecated usage of wrapper components as implementations of driver-level interfaces
  • Loading branch information
morozov authored Jul 11, 2020
2 parents e24761c + f63be59 commit 38d4d43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Upgrade to 2.11

## Deprecated usage of wrapper-level components as implementations of driver-level interfaces

The usage of the wrapper `Connection` and `Statement` classes as implementations of the `Driver\Connection` and `Driver\Statement` interfaces is deprecated.

## Deprecations in the wrapper `Connection` class

1. The `executeUpdate()` method has been deprecated in favor of `executeStatement()`.
Expand All @@ -8,7 +12,7 @@

## PDO-related classes outside of the PDO namespace are deprecated

The following outside of the PDO namespace have been deprecated in favor of their counterparts in the PDO namespace:
The following PDO-related classes outside of the PDO namespace have been deprecated in favor of their counterparts in the PDO namespace:

- `PDOMySql\Driver``PDO\MySQL\Driver`
- `PDOOracle\Driver``PDO\OCI\Driver`
Expand Down

0 comments on commit 38d4d43

Please sign in to comment.