[wp-trac] [WordPress Trac] #39822: PHPUnit 6 compatibility

WordPress Trac noreply at wordpress.org
Thu Mar 2 13:59:40 UTC 2017


#39822: PHPUnit 6 compatibility
-------------------------------------+------------------------------
 Reporter:  miyauchi                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Build/Test Tools         |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  needs-refresh has-patch  |     Focuses:
-------------------------------------+------------------------------

Comment (by ocean90):

 Replying to [comment:5 miyauchi]:
 > But there are some errors on `/usr/local/bin/phpunit --group ajax` with
 PHPUnit 6 for now.

 `setExpectedException()` has been removed in PHPUnit 6:
 https://github.com/sebastianbergmann/phpunit/issues/2074

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


More information about the wp-trac mailing list