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

PHP 8.2: fix dynamic property #263

Merged

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Sep 12, 2024

Looks like the Parser::$stringDateTimes property was removed in commit 7895e56, which was part of the 0.2.0 release, so setting this non-declared property from the tests has no function.

Removing the property setting fixes the PHP 8.2 "Creation of dynamic property Mf2\Parser::$stringDateTimes is deprecated" deprecation notices.

Looks like the `Parser::$stringDateTimes` property was removed in commit 7895e56, which was part of the `0.2.0` release, so setting this non-declared property from the tests has no function.

Removing the property setting fixes the PHP 8.2 "Creation of dynamic property Mf2\Parser::$stringDateTimes is deprecated" deprecation notices.
@gRegorLove gRegorLove merged commit 74bdf15 into microformats:main Sep 30, 2024
5 checks passed
@jrfnl jrfnl deleted the feature/php-8.2-fix-dynamic-property branch September 30, 2024 03:26
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