Skip to content

Conversation

heelc29
Copy link
Contributor

@heelc29 heelc29 commented Oct 1, 2025

Summary of Changes

The “Make reflection setAccessible() no-op” RFC in PHP 8.1 made the Reflection*::setAccessible() methods a noop. However it did not deprecate the methods to simplify cross-version compatibility.

https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible

Testing Instructions

Run unit tests ./vendor/bin/phpunit

  • enable max error reporting
  • use php 8.5 (latest pre-version 8.5.0rc1)

Documentation Changes Required

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant