Commit 2b0862d
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 b0d171b commit 2b0862d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
0 commit comments