[wp-trac] [WordPress Trac] #59150: Tests: update for PHPUnit Polyfills 1.1.0

WordPress Trac noreply at wordpress.org
Mon Aug 21 04:09:59 UTC 2023


#59150: Tests: update for PHPUnit Polyfills 1.1.0
--------------------------------------+------------------------------
 Reporter:  jrf                       |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Build/Test Tools          |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by ayeshrajans):

 > This could have implications for plugins/themes running integration
 tests with WordPress if they have set their PHPUnit Polyfills dependency
 to a fixed version or have a too strict version constraint (limiting the
 PHPUnit Polyfills to the 1.0.x series).

 I checked the [https://packagist.org/packages/yoast/phpunit-
 polyfills/dependents?order_by=downloads dependents reported on Packagist]
 and found a bunch of automattic plugins that pinned to yoast/phpunit-
 polyfills v1.0.4. They might need manual updates to resolve the conflicts.

 Other than than, none of the `tag=wordpress plugin` packages with > 100K
 installs have a strict (`~1.0.4`) or pinned dependency on `yoast/phpunit-
 polyfills`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59150#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list