Skip to content

Fix deprecation warn#213

Open
mathmarques wants to merge 1 commit into
geocoder-php:masterfrom
mathmarques:fix-deprecation-warning
Open

Fix deprecation warn#213
mathmarques wants to merge 1 commit into
geocoder-php:masterfrom
mathmarques:fix-deprecation-warning

Conversation

@mathmarques

Copy link
Copy Markdown

The ReflectionProperty::setAccessible has been deprecated on PHP 8.5 and has no effect since PHP 8.1(all properties are accessible by default).

As the requirements are PHP >= 8.2, is safe to just remove it.

More info: https://www.php.net/manual/en/reflectionproperty.setaccessible.php

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.

1 participant