[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
Fri Jan 19 21:28:16 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:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:  trunk
 Severity:  minor          |   Keywords:  needs-patch
  Focuses:                 |
---------------------------+-----------------------------
 The `test_set_spacing_sizes_should_detect_invalid_spacing_scale()` test
 method is incompatible with PHPUnit 10 because the
 `TestCase::expectNotice()` method is deprecated.
 The changes from https://github.com/WordPress/gutenberg/pull/55354 need to
 be backported for that test method to Core to ensure compatibility with
 PHP 10.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60305>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list