PHP 8.4 depreciation notices
-
Hello WooCommerce Team,
With PHP 8.4, I’m seeing several deprecation notices originating from the sabberworm/php-css-parser library bundled with WooCommerce:- PHP Deprecated: Sabberworm\CSS\Parser::__construct(): Implicitly marking parameter $oParserSettings as nullable… in /path/to/wp-content/plugins/woocommerce/vendor/sabberworm/php-css-parser/src/Parser.php on line 24
- PHP Deprecated: Sabberworm\CSS\CSSList\Document::render(): Implicitly marking parameter $oOutputFormat as nullable… in /path/to/wp-content/plugins/woocommerce/vendor/sabberworm/php-css-parser/src/CSSList/Document.php on line 158
- PHP Deprecated: Sabberworm\CSS\RuleSet\RuleSet::addRule(): Implicitly marking parameter $oSibling as nullable… in /path/to/wp-content/plugins/woocommerce/vendor/sabberworm/php-css-parser/src/RuleSet/RuleSet.php on line 105
These parameters need to be explicitly marked as nullable for PHP 8.4 compatibility. This might require updating the bundled version of the sabberworm/php-css-parser library or applying patches.
Could you look into this for a future WooCommerce update?
Thanks!”
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘PHP 8.4 depreciation notices’ is closed to new replies.