Skip to content

ReflectionProperty::setAccessible() and ReflectionMethod::setAccessible() should probably be deprecated #18528

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

Closed
yamut opened this issue May 9, 2025 · 2 comments

Comments

@yamut
Copy link

yamut commented May 9, 2025

Description

According to php/doc-en#980 as of 8.1 these methods have no effect so it's just dead code for everyone on or after this version.

@DanielEScherzer
Copy link
Member

@yamut
Copy link
Author

yamut commented May 9, 2025

Ah thanks, I missed that.

@yamut yamut closed this as completed May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants