Skip to content

[6.x] Remove deprecated function calls#14457

Merged
jasonvarga merged 3 commits intostatamic:6.xfrom
justindantzer:remove-deprecation-warnings
Apr 8, 2026
Merged

[6.x] Remove deprecated function calls#14457
jasonvarga merged 3 commits intostatamic:6.xfrom
justindantzer:remove-deprecation-warnings

Conversation

@justindantzer
Copy link
Copy Markdown
Contributor

When upgrading to PHP 8.5, deprecation warnings appeared for the ReflectionProperty::setAccessible() method. Given the deprecation in 8.5, and having no effect since 8.1, these references should be removed.

It appears other setAccessible calls have already been removed. I believe these are the last references left in the 6.x branch.

justindantzer and others added 3 commits April 8, 2026 10:42
Removed unnecessary calls to setAccessible on ReflectionProperty. Deprecated in PHP 8.5 and no effect as of PHP 8.1.
Removed unnecessary call to setAccessible on ReflectionProperty. Deprecated in PHP 8.5 and no effect as of PHP 8.1.
@jasonvarga jasonvarga merged commit a09f9f2 into statamic:6.x Apr 8, 2026
17 checks passed
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.

2 participants