Skip to content

Commit

Permalink
Note deprecation of AbstractQuery::iterator (#8497)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Feb 22, 2021
1 parent 9ed4a8c commit 074346b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
Method `Doctrine\ORM\UnitOfWork#commit()` can throw an OptimisticLockException when a commit silently fails and returns false
since `Doctrine\DBAL\Connection#commit()` signature changed from returning void to boolean

## Deprecated: `Doctrine\ORM\AbstractQuery#iterator()`

The method `Doctrine\ORM\AbstractQuery#iterator()` is deprecated in favor of `Doctrine\ORM\AbstractQuery#toIterate()`.

# Upgrade to 2.7

## Added `Doctrine\ORM\AbstractQuery#enableResultCache()` and `Doctrine\ORM\AbstractQuery#disableResultCache()` methods
Expand Down

0 comments on commit 074346b

Please sign in to comment.