[wp-trac] [WordPress Trac] #61530: Test tool and unit test improvements for 6.7
WordPress Trac
noreply at wordpress.org
Tue Jul 16 14:19:40 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):
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/61530#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list