Skip to content

chore: added new rules RemoveReflectionSetAccessibleCallsRector#9682

Closed
ddevsr wants to merge 1 commit intocodeigniter4:developfrom
ddevsr:patch-3
Closed

chore: added new rules RemoveReflectionSetAccessibleCallsRector#9682
ddevsr wants to merge 1 commit intocodeigniter4:developfrom
ddevsr:patch-3

Conversation

@ddevsr
Copy link
Collaborator

@ddevsr ddevsr commented Aug 14, 2025

Description

As of PHP 8.1.0, calling Reflection*::setAccessible() has no effect; all properties are accessible by default. Currently, there is a RFC which proposes to issue a deprecation warning starting with Php 8.5.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@ddevsr
Copy link
Collaborator Author

ddevsr commented Aug 14, 2025

Already set in PHP 8.1 Sets. Sorry missed

@ddevsr ddevsr closed this Aug 14, 2025
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