Remove remaining usage of setAccessible()

Created on 8 August 2025, about 1 month ago

Problem/Motivation

The Reflection*::setAccessible() is deprecated and throws deprecation warning since PHP 8.5 beta1.
General usage was removed in πŸ“Œ Remove usage of setAccessible() when core requires PHP 8.1 Fixed

Steps to reproduce

- https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetacc...
- https://github.com/php/php-src/commit/922c225fbf1a5a7a2e43ebfdff8d91ad91...

Proposed resolution

- remove remaining usage

Remaining tasks

MR, review, commit

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

base system

Created by

πŸ‡«πŸ‡·France andypost

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024