microformats / php-mf2

php-mf2 is a pure, generic microformats-2 parser for PHP. It makes HTML as easy to consume as JSON.
Creative Commons Zero v1.0 Universal
193 stars 38 forks source link

PHP 8.2: fix dynamic property #263

Closed jrfnl closed 1 month ago

jrfnl commented 2 months ago

Looks like the Parser::$stringDateTimes property was removed in commit 7895e562a371ead5b1cb6eacb16a17dc23818633, 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.