Skip to content

Commit

Permalink
Update src/FileSystem/FilesFinder.php
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored Sep 8, 2024
1 parent 5e1de87 commit 33e9d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileSystem/FilesFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function findInDirectoriesAndFiles(array $source, array $suffixes = [], b

// filtering files in files collection
$filteredFilePaths = $this->fileAndDirectoryFilter->filterFiles($filesAndDirectories);
$filteredFilePaths = array_map($this->filePathHelper->absolutePath(...), $filteredFilePaths);
$filteredFilePaths = array_map(realpath(...), $filteredFilePaths);
$filteredFilePaths = array_filter(
$filteredFilePaths,
fn (string $filePath): bool => ! $this->pathSkipper->shouldSkip($filePath)
Expand Down

0 comments on commit 33e9d2b

Please sign in to comment.