Skip to content

Remove deprecated setAccessible() calls for PHP 8.5 compatibility - #21

Closed
dean-stratman wants to merge 1 commit into
livewire:mainfrom
dean-stratman:fix/remove-deprecated-setaccessible
Closed

Remove deprecated setAccessible() calls for PHP 8.5 compatibility#21
dean-stratman wants to merge 1 commit into
livewire:mainfrom
dean-stratman:fix/remove-deprecated-setaccessible

Conversation

@dean-stratman

Copy link
Copy Markdown

PHP 8.5 deprecated ReflectionMethod::setAccessible() and ReflectionProperty::setAccessible() since they have no effect in PHP 8.1+. This removes the unnecessary calls from BladeService.php to eliminate deprecation warnings.

@ganyicz

ganyicz commented Jan 15, 2026

Copy link
Copy Markdown
Collaborator

Hi @dean-stratman

thanks for the PR!

I just fixed this in a separate PR as this one had merge conflicts

@ganyicz ganyicz closed this Jan 15, 2026
@dean-stratman

Copy link
Copy Markdown
Author

No problem, glad you got it fixed.

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