We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52b8a3 commit a0c9d35Copy full SHA for a0c9d35
Finder.php
@@ -671,7 +671,7 @@ public function in($dirs)
671
foreach ((array) $dirs as $dir) {
672
if (is_dir($dir)) {
673
$resolvedDirs[] = $dir;
674
- } elseif ($glob = glob($dir, GLOB_BRACE | GLOB_ONLYDIR)) {
+ } elseif ($glob = glob($dir, (defined('GLOB_BRACE') ? GLOB_BRACE : 0) | GLOB_ONLYDIR)) {
675
$resolvedDirs = array_merge($resolvedDirs, $glob);
676
} else {
677
throw new \InvalidArgumentException(sprintf('The "%s" directory does not exist.', $dir));
0 commit comments