Mercurial > hg > isophonics-drupal-site
comparison vendor/phpunit/php-file-iterator/src/Factory.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
78 { | 78 { |
79 $_paths = array(); | 79 $_paths = array(); |
80 | 80 |
81 foreach ($paths as $path) { | 81 foreach ($paths as $path) { |
82 if ($locals = glob($path, GLOB_ONLYDIR)) { | 82 if ($locals = glob($path, GLOB_ONLYDIR)) { |
83 $_paths = array_merge($_paths, $locals); | 83 $_paths = array_merge($_paths, array_map('realpath', $locals)); |
84 } else { | 84 } else { |
85 $_paths[] = $path; | 85 $_paths[] = realpath($path); |
86 } | 86 } |
87 } | 87 } |
88 | 88 |
89 return $_paths; | 89 return $_paths; |
90 } | 90 } |