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

WordPress Trac noreply at wordpress.org
Sun Apr 7 11:52:23 UTC 2019

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

Comment (by ayeshrajans):

 Replying to [comment:12 vinkla]:
 > Out of curiosity; is there any reason why PHPUnit 8.0 is excluded?

 PHPUnit 8 requires PHP versions 7.2 or higher. Class methid signatures are
 not compatible with the tests we currently have (lack of `void` return
 types for example), so we can't use PHPUnit 8 yet.

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

More information about the wp-trac mailing list