From 962f5a99eab21e78d0679eb2606af93e44426b7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Mo=CC=88ller?= Date: Mon, 29 Jun 2015 09:52:37 -0400 Subject: [PATCH] Fix: Import Symfony\Component\Finder\Finder --- src/Composer/Package/Archiver/ArchivableFilesFinder.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Composer/Package/Archiver/ArchivableFilesFinder.php b/src/Composer/Package/Archiver/ArchivableFilesFinder.php index 44c682616..1e94f1e15 100644 --- a/src/Composer/Package/Archiver/ArchivableFilesFinder.php +++ b/src/Composer/Package/Archiver/ArchivableFilesFinder.php @@ -13,8 +13,7 @@ namespace Composer\Package\Archiver; use Composer\Util\Filesystem; - -use Symfony\Component\Finder; +use Symfony\Component\Finder\Finder; /** * A Symfony Finder wrapper which locates files that should go into archives @@ -27,7 +26,7 @@ use Symfony\Component\Finder; class ArchivableFilesFinder extends \FilterIterator { /** - * @var Symfony\Component\Finder\Finder + * @var Finder */ protected $finder; @@ -49,7 +48,7 @@ class ArchivableFilesFinder extends \FilterIterator new ComposerExcludeFilter($sources, $excludes), ); - $this->finder = new Finder\Finder(); + $this->finder = new Finder(); $filter = function (\SplFileInfo $file) use ($sources, $filters, $fs) { if ($file->isLink() && strpos($file->getLinkTarget(), $sources) !== 0) {