From 9d41e425ef79e17e8d4e609f5aa6ec53812160f0 Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Wed, 23 Aug 2023 16:28:41 +0200 Subject: [PATCH] Add note about ReflectionProperty::setValue() signature deprecation to upgrade guide --- UPGRADING | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UPGRADING b/UPGRADING index 3e8f694c801eb..9f1bb3d322554 100644 --- a/UPGRADING +++ b/UPGRADING @@ -326,6 +326,8 @@ PHP 8.3 UPGRADE NOTES - Reflection: . Return type of ReflectionClass::getStaticProperties() is no longer nullable. + . Calling ReflectionProperty::setValue() with only one parameter is deprecated. + To set static properties, pass null as the first parameter. - Standard: . E_NOTICEs emitted by unserialize() have been promoted to E_WARNING.