Skip to content

Fix PHP 8.2 deprecation#507

Merged
barryvdh merged 1 commit intophp-debugbar:masterfrom
jnoordsij:fix-php82-deprecation
Oct 31, 2022
Merged

Fix PHP 8.2 deprecation#507
barryvdh merged 1 commit intophp-debugbar:masterfrom
jnoordsij:fix-php82-deprecation

Conversation

@jnoordsij
Copy link
Copy Markdown
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
Copy Markdown
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