Skip to content

Commit

Permalink
Make sure it breaks under alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Firehed committed Jan 20, 2021
1 parent 2b35e3f commit ff03cee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Iterator/GlobIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public function __construct($glob, $flags = 0)
('\\' !== DIRECTORY_SEPARATOR || false === strpos($glob, '[^'))
) {
// GLOB_BRACE is not available in some environments.
$results = glob($glob, defined('GLOB_BRACE') ? GLOB_BRACE : 0);
// $results = glob($glob, defined('GLOB_BRACE') ? GLOB_BRACE : 0);
$results = glob($glob, GLOB_BRACE);

// $results may be empty or false if $glob is invalid
if (empty($results)) {
Expand Down

0 comments on commit ff03cee

Please sign in to comment.