Skip to content

Commit

Permalink
Merge pull request #139 from marcteyssier/2.0
Browse files Browse the repository at this point in the history
Fix mapping of symlink
  • Loading branch information
moufmouf committed Mar 28, 2017
2 parents e7ccf83 + fb4687f commit 522db8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mouf/Composer/ClassMapGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static function createMap($path, $whitelist = null)
$map = array();

foreach ($path as $file) {
$filePath = $file->getRealPath();
$filePath = $file->getPath().DIRECTORY_SEPARATOR.$file->getFilename();

if (!in_array(pathinfo($filePath, PATHINFO_EXTENSION), array('php', 'inc'))) {
continue;
Expand Down

0 comments on commit 522db8d

Please sign in to comment.