php-mf2
php-mf2 copied to clipboard
php-mf2 is a pure, generic microformats-2 parser for PHP. It makes HTML as easy to consume as JSON.
mbstring extension in PHP 8.2 deprecates `HTML-ENTITIES` encoding: https://php.watch/versions/8.2/mbstring-qprint-base64-uuencode-html-entities-deprecated Let’s switch to non-deprecated function: https://www.php.net/manual/en/function.mb-encode-numericentity.php
PHP 8.4 deprecates implicitly nullable parameters, i.e. typed parameter with a `null` default value, which are not explicitly declared as nullable. See Ideally, we would just change the type hint...