[wp-trac] [WordPress Trac] #61530: Test tool and unit test improvements for 6.7
WordPress Trac
noreply at wordpress.org
Tue Jul 16 14:33:32 UTC 2024
#61530: Test tool and unit test improvements for 6.7
--------------------------------------+---------------------
Reporter: jonsurrell | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.7
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
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/61530#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list