Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.3 | ReportWidthTest: fix deprecation notices for ReflectionProperty::setValue() #3858

Closed
wants to merge 1 commit into from

Commits on Jul 20, 2023

  1. PHP 8.3 | ReportWidthTest: fix deprecation notices for ReflectionProp…

    …erty::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#reflectionpropertysetvalue
    jrfnl committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    300d6d6 View commit details
    Browse the repository at this point in the history