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 HasCapabilitiesTest to pass null as the "object" for setting the value of a static property to make the method call cross-version compatible.
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 theHasCapabilitiesTest
to passnull
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#reflectionpropertysetvalue