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

Fix PHP 8.2 deprecation #507

Merged
merged 1 commit into from
Oct 31, 2022
Merged

Conversation

jnoordsij
Copy link
Contributor

Dynamic properties are deprecated in PHP 8.2 and will be removed in PHP 9.0. This PR fixes a deprecation error on the DebugBar/DataFormatter/DataFormatter class where two dynamic name properties are created in the constructor, by explicitly marking them as (public) class properties.

Reference: https://wiki.php.net/rfc/deprecate_dynamic_properties

@jnoordsij
Copy link
Contributor Author

Any update on this?
PHP 8.2 now has a first RC and is scheduled for release on November 24, 2022.

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