[wp-trac] [WordPress Trac] #46815: Add PHPUnit setup to composer.json

WordPress Trac noreply at wordpress.org
Fri Apr 5 18:28:02 UTC 2019

#46815: Add PHPUnit setup to composer.json
 Reporter:  welcher                 |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Build/Test Tools        |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:

Comment (by vinkla):

 This could be handled with Composer. You could specify version `^5.0 ||
 ^6.0 || ^7.0 || ^8.0` for PHPUnit and Composer will figure out which
 version to use depending on the current PHP version.

Ticket URL: <https://core.trac.wordpress.org/ticket/46815#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list