Commit 94a1b01
committed
PHP 8.3 | ReportWidthTest: fix deprecation notices for ReflectionProperty::setValue()
The `ReflectionProperty::setValue()` method supports three method signatures, two of which are deprecated as of PHP 8.3.
This adjusts the call to `ReflectionProperty::setValue()` in the `Core/Config/ReportWidthTest` to pass `null` as the "object" for setting the value of a static property to make the method call cross-version compatible.
Ref: https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures#reflectionpropertysetvalue1 parent 7c49b80 commit 94a1b01
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
0 commit comments