-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.16, 4.3.10
MDL-82787 added statements to access private members of a parent class, but failed to take into account that PHP 8.0 and earlier requires an additional statement to allow access.
See https://www.php.net/manual/en/reflectionproperty.setvalue.php
This bug can be reproduced when doing behat testing using PHP 8.0. You can do the same kind of testing done for MDL-82787. You should get a ReflectionException.