Skip to content

Commit

Permalink
Fix the upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
harikt committed Dec 21, 2024
1 parent e6f9904 commit 894022f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

Most changes are to provide better compatability with PHP 8.4 and above.

With PHP 8.4 introducing `Pdo::connect()` as a way of creating driver specific connections.

`ExtendedPdo::connect()` will be still using only the PDO and not subclass feature.
If you want to use the subclass feature use the `DecoratedPdo` passing the pdo instance directly.
BC Break : With PHP 8.4 introducing `Pdo::connect()` as a way of creating driver specific connections.

```php
// does not connect to the database
Expand Down

0 comments on commit 894022f

Please sign in to comment.