[wp-trac] [WordPress Trac] #59654: PHP 8.x: various compatibility fixes for WordPress 6.7
WordPress Trac
noreply at wordpress.org
Tue Jul 16 14:19:57 UTC 2024
#59654: PHP 8.x: various compatibility fixes for WordPress 6.7
-------------------------------------+-------------------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: php80 php81 php82 php83 | Focuses: coding-standards
-------------------------------------+-------------------------------
Comment (by hellofromTonya):
Patch: https://github.com/WordPress/wordpress-develop/pull/7039
Before this patch: the deprecation is thrown at the start of running the
PHP 8.2+ tests ([see it here](https://github.com/WordPress/wordpress-
develop/actions/runs/9957713967/job/27510405428#logs))
{{{
Not running external-http tests. To execute these, use --group external-
http.
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in
/var/www/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php on line
257
PHPUnit 9.6.20 by Sebastian Bergmann and contributors.
Runtime: PHP 8.2.21
}}}
After this patch, the deprecation is no longer thrown ✅
Marking for and preparing the commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59654#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list