Opened 4 years ago
Closed 4 years ago
#51661 closed defect (bug) (fixed)
Remove GLOB_BRACE from unittest functions.
Reported by: | amykamala | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | needs-patch |
Focuses: | Cc: |
Description
[ from @sawanoboly https://github.com/WordPress/phpunit-test-runner/issues/128 ]
"One of the unit tests uses the GLOB_BRACE option for glob.
The GLOB_BRACE option is not supported by some libc-compatible implementations. Solaris is shown as an example in the documentation, but it cannot use this option on other implementations, such as alpine linux, which uses musl-libc.
https://www.php.net/manual/en/function.glob.php
I'd like to see them switch to an implementation that doesn't use GLOB_BRACE, as it seems to be just cleaning up the files, regardless of compatibility."
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 49450: