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

WordPress Trac noreply at wordpress.org
Fri Apr 5 16:01:26 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 johnbillion):

 I'd love to do this, but the problem it introduces is that the CI tests on
 older branches won't be able to install PHPUnit 7 as the PHP requirements
 won't be met.

 It might be possible to use the config.platform.php setting in
 composer.json to set the PHP version to 7.3, and then allow the existing
 PHPUnit installation in .travis.yml to do its thing.

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


More information about the wp-trac mailing list