Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix for PHP8.2 deprecation - property must be defined in class, not dynamically#36

Merged
trobro merged 2 commits into
hjson:masterfrom
chrisputnam9:feature-php-8.2-fix
Sep 14, 2023
Merged

Fix for PHP8.2 deprecation - property must be defined in class, not dynamically#36
trobro merged 2 commits into
hjson:masterfrom
chrisputnam9:feature-php-8.2-fix

Conversation

@chrisputnam9
Copy link
Copy Markdown
Contributor

Set private $meta in class definition to avoid deprecation warning about dynamically set property.

@chrisputnam9
Copy link
Copy Markdown
Contributor Author

Thanks to @theodoreslechta for identifying this issue via another project.

@trobro
Copy link
Copy Markdown
Member

trobro commented Sep 12, 2023

@chrisputnam9 thanks for fixing! The automatic tests have stalled because there are no longer any runners for Ubuntu 18. I've fixed that and added PHP 8.2 and PHP 8.3 in #37.

@trobro trobro force-pushed the feature-php-8.2-fix branch from d6e2a87 to 9b7d013 Compare September 14, 2023 11:18
@trobro trobro merged commit dc722da into hjson:master Sep 14, 2023
@chrisputnam9
Copy link
Copy Markdown
Contributor Author

Thanks @trobro & @peter279k !

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.

3 participants