[wp-trac] [WordPress Trac] #51661: Remove GLOB_BRACE from unittest functions.

WordPress Trac noreply at wordpress.org
Fri Oct 30 02:01:47 UTC 2020


#51661: Remove GLOB_BRACE from unittest functions.
--------------------------+-----------------------------
 Reporter:  amykamala     |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.6
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49450" 49450]:
 {{{
 #!CommitTicketReference repository="" revision="49450"
 Tests: Remove the `GLOB_BRACE` flag for `glob()` function from unit tests.

 The flag was previously used in PDF preview tests when cleaning up
 temporary files.

 As noted in the PHP documentation, the flag is not available on some non-
 GNU systems, like Solaris or Alpine Linux.

 Follow-up to [40130].

 Props amykamala, sawanoboly.
 Fixes #51661.
 }}}

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


More information about the wp-trac mailing list