Skip to content

Remove setAccessible calls from reflection properties and methods#1083

Merged
taylorotwell merged 1 commit intolaravel:2.xfrom
sy-records:remove/setAccessible
Dec 10, 2025
Merged

Remove setAccessible calls from reflection properties and methods#1083
taylorotwell merged 1 commit intolaravel:2.xfrom
sy-records:remove/setAccessible

Conversation

@sy-records
Copy link
Contributor

Fix #1082

As of PHP 8.1.0, calling this method has no effect; all methods are invokable by default.

@taylorotwell taylorotwell merged commit aae7753 into laravel:2.x Dec 10, 2025
30 checks passed
@sy-records sy-records deleted the remove/setAccessible branch December 11, 2025 00:09
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.

Deprecated: Method ReflectionMethod::setAccessible() is deprecated since 8.5

2 participants