[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:33:32 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):
In [changeset:"58733" 58733]:
{{{
#!CommitTicketReference repository="" revision="58733"
HTML API: Fix "${var} in strings" deprecation notice in html5lib test.
Changeset [58712] introduced the following compile time PHP deprecation
notice on >= PHP 8.2 test runs:
{{{
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.
}}}
The `${` syntax for string interpolation was deprecated in PHP 8.2 and
should not be used anymore.
Ref: https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
Follow-up to [58712].
Props jrf.
See #61530, #59654, #61576.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59654#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list