[wp-trac] [WordPress Trac] #43218: PHPUnit 7.x support

WordPress Trac noreply at wordpress.org
Mon Jan 28 19:01:44 UTC 2019


#43218: PHPUnit 7.x support
------------------------------------------------+--------------------------
 Reporter:  ayeshrajans                         |       Owner:
                                                |  SergeyBiryukov
     Type:  defect (bug)                        |      Status:  reopened
 Priority:  normal                              |   Milestone:  5.1
Component:  Build/Test Tools                    |     Version:  trunk
 Severity:  normal                              |  Resolution:
 Keywords:  has-patch needs-docs needs-testing  |     Focuses:
------------------------------------------------+--------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:41 johnbillion]:
 > This appears to have broken the ability to use any long option except
 for `--exclude-group`, `--group`, and `--verbose`. For example, `--filter`
 no longer works.

 Thanks for catching that! [44707] fixes it, but we can probably remove the
 copied `parseLongOption()` method altogether, it seems like an overkill
 for just two options.

 Previously we called the method from the parent `PHPUnit_Util_Getopt`
 class, but that's no longer possible, as the class is declared as `final`
 in PHPUnit 7.x.

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


More information about the wp-trac mailing list