[wp-trac] [WordPress Trac] #60305: Ensure that `Tests_Theme_wpThemeJson::test_set_spacing_sizes_should_detect_invalid_spacing_scale` is compatible with PHPUnit 10
WordPress Trac
noreply at wordpress.org
Tue Jan 23 08:58:03 UTC 2024
#60305: Ensure that
`Tests_Theme_wpThemeJson::test_set_spacing_sizes_should_detect_invalid_spacing_scale`
is compatible with PHPUnit 10
--------------------------------------+------------------------------
Reporter: antonvlasenko | Owner: youknowriad
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: minor | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by youknowriad):
* owner: (none) => youknowriad
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"57332" 57332]:
{{{
#!CommitTicketReference repository="" revision="57332"
Editor: Ensure PHPUnit10 compatibility for ThemeJson unit test.
Expecting E_STRICT, E_NOTICE, and E_USER_NOTICE errors is deprecated in
PHPUnit 10.
This updates the test to rely on an exception instead.
Props antonvlasenko.
Fixes #60305.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60305#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list