Skip to content

Commit d7eb4cf

Browse files
authored
[ci skip] Add note about ReflectionProperty::setValue() signature deprecation to upgrade guide (#12036)
1 parent 649872f commit d7eb4cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UPGRADING

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ PHP 8.3 UPGRADE NOTES
326326

327327
- Reflection:
328328
. Return type of ReflectionClass::getStaticProperties() is no longer nullable.
329+
. Calling ReflectionProperty::setValue() with only one parameter is deprecated.
330+
To set static properties, pass null as the first parameter.
329331

330332
- Standard:
331333
. E_NOTICEs emitted by unserialize() have been promoted to E_WARNING.

0 commit comments

Comments
 (0)