From ae00bc79abfee13d72bbab280a54f033c53ff3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sun, 25 Feb 2024 13:39:36 +0100 Subject: [PATCH] Add missing upgrade note --- UPGRADE.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/UPGRADE.md b/UPGRADE.md index ea3ea406..1efb612f 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -85,3 +85,12 @@ You can find a list of major changes to public API below. | 1.0.x | 3.0.x | |-------------------------------:|:-------------------------------------------| | `matching(Criteria $criteria)` | `matching(Criteria $criteria): Collection` | + +# Upgrade to 1.7 + +## Deprecated null first result + +Passing null as `$firstResult` to +`Doctrine\Common\Collections\Criteria::__construct()` and to +`Doctrine\Common\Collections\Criteria::setFirstResult()` is deprecated. +Use `0` instead.