Pavel Kvach created THRIFT-5934:
-----------------------------------

             Summary: Fix deprecated usage of 
ReflectionProperty::setAccessible() in PHP tests
                 Key: THRIFT-5934
                 URL: https://issues.apache.org/jira/browse/THRIFT-5934
             Project: Thrift
          Issue Type: Bug
          Components: PHP - Library
            Reporter: Pavel Kvach
            Assignee: Pavel Kvach


Running PHPUnit tests on PHP 8.5 produces deprecation warnings related to usage 
of {{ReflectionProperty::setAccessible().}}

Example failure:
PHP Deprecated: Method ReflectionProperty::setAccessible() is deprecated since 
8.5, as it has no effect since PHP 8.1
 
According to official PHP documentation, 
{{ReflectionProperty::setAccessible()}} is deprecated as of PHP 8.5 and has had 
no effect since PHP 8.1, where all properties are accessible by default.
https://www.php.net/manual/en/reflectionproperty.setaccessible.php
 
{{}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to