Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Parser to avoid assigning dynamic properties (PHP 8.2+ compatibility) #186

Merged
merged 1 commit into from
Nov 26, 2021

Conversation

clue
Copy link
Member

@clue clue commented Nov 26, 2021

This changeset refactors the Parser to avoid assigning dynamic properties.

This is mostly a legacy leftover from #130, #138 and others. The code in question is already covered by the test suite, so the test suite confirms this changeset does not affect behavior or our public API in any way. Accordingly, this is entirely transparent for all consumers of this package.

Also is particularly relevant because it affects forward compatibility with PHP 8.2: https://wiki.php.net/rfc/deprecate_dynamic_properties (refs #184)

@clue clue added this to the v1.9.0 milestone Nov 26, 2021
@clue clue requested a review from WyriHaximus November 26, 2021 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants