Fix #257 - Prevent symlink paths resolving in fixtures loading
This commit is contained in:
parent
88bf864e25
commit
0ce540c84a
1 changed files with 3 additions and 1 deletions
|
|
@ -277,7 +277,9 @@ EOT
|
|||
protected function getFixtureFiles($type = 'sql', $in = null)
|
||||
{
|
||||
$finder = new Finder();
|
||||
$finder->sortByName()->name('*.' . $type);
|
||||
$finder->sort(function ($a, $b) {
|
||||
return strcmp($a->getPathname(), $b->getPathname());
|
||||
})->name('*.' . $type);
|
||||
|
||||
$files = $finder->in(null !== $in ? $in : $this->absoluteFixturesPath);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue