From 52711d121cac362ebc28aa20ceb029faa0fb5384 Mon Sep 17 00:00:00 2001 From: Nicolas Bastien Date: Mon, 7 Oct 2013 17:11:57 +0200 Subject: [PATCH] Remove unused use statement. --- src/Composer/Command/GlobalCommand.php | 1 - src/Composer/Command/LicensesCommand.php | 2 -- src/Composer/Command/ShowCommand.php | 1 - src/Composer/Command/StatusCommand.php | 1 - src/Composer/Factory.php | 1 - src/Composer/IO/BaseIO.php | 3 --- src/Composer/Installer/LibraryInstaller.php | 1 - src/Composer/Json/JsonFile.php | 1 - src/Composer/Package/Dumper/ArrayDumper.php | 1 - src/Composer/Plugin/CommandEvent.php | 1 - src/Composer/Plugin/PreFileDownloadEvent.php | 2 -- src/Composer/Repository/Vcs/GitHubDriver.php | 1 - src/Composer/Script/CommandEvent.php | 2 -- src/Composer/Util/Git.php | 2 -- 14 files changed, 20 deletions(-) diff --git a/src/Composer/Command/GlobalCommand.php b/src/Composer/Command/GlobalCommand.php index f03a2f04b..0ddfc4ede 100644 --- a/src/Composer/Command/GlobalCommand.php +++ b/src/Composer/Command/GlobalCommand.php @@ -12,7 +12,6 @@ namespace Composer\Command; -use Composer\Installer; use Composer\Factory; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputArgument; diff --git a/src/Composer/Command/LicensesCommand.php b/src/Composer/Command/LicensesCommand.php index a927156c4..861b889a0 100644 --- a/src/Composer/Command/LicensesCommand.php +++ b/src/Composer/Command/LicensesCommand.php @@ -12,14 +12,12 @@ namespace Composer\Command; -use Composer\Package\PackageInterface; use Composer\Json\JsonFile; use Composer\Package\Version\VersionParser; use Composer\Plugin\CommandEvent; use Composer\Plugin\PluginEvents; use Symfony\Component\Console\Helper\TableHelper; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php index 92f883226..97e315a5b 100644 --- a/src/Composer/Command/ShowCommand.php +++ b/src/Composer/Command/ShowCommand.php @@ -12,7 +12,6 @@ namespace Composer\Command; -use Composer\Composer; use Composer\DependencyResolver\Pool; use Composer\DependencyResolver\DefaultPolicy; use Composer\Factory; diff --git a/src/Composer/Command/StatusCommand.php b/src/Composer/Command/StatusCommand.php index 5edf3b61e..a125bdd3c 100644 --- a/src/Composer/Command/StatusCommand.php +++ b/src/Composer/Command/StatusCommand.php @@ -16,7 +16,6 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Composer\Downloader\ChangeReportInterface; -use Composer\Downloader\VcsDownloader; use Composer\Plugin\CommandEvent; use Composer\Plugin\PluginEvents; use Composer\Script\ScriptEvents; diff --git a/src/Composer/Factory.php b/src/Composer/Factory.php index d0eaf9371..6875bbc4f 100644 --- a/src/Composer/Factory.php +++ b/src/Composer/Factory.php @@ -16,7 +16,6 @@ use Composer\Config\JsonConfigSource; use Composer\Json\JsonFile; use Composer\IO\IOInterface; use Composer\Package\Archiver; -use Composer\Repository\ComposerRepository; use Composer\Repository\RepositoryManager; use Composer\Repository\RepositoryInterface; use Composer\Util\ProcessExecutor; diff --git a/src/Composer/IO/BaseIO.php b/src/Composer/IO/BaseIO.php index a9cae3b49..29cae4f07 100644 --- a/src/Composer/IO/BaseIO.php +++ b/src/Composer/IO/BaseIO.php @@ -12,9 +12,6 @@ namespace Composer\IO; -use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\Console\Helper\HelperSet; use Composer\Config; abstract class BaseIO implements IOInterface diff --git a/src/Composer/Installer/LibraryInstaller.php b/src/Composer/Installer/LibraryInstaller.php index c883120f4..2e6fe8843 100644 --- a/src/Composer/Installer/LibraryInstaller.php +++ b/src/Composer/Installer/LibraryInstaller.php @@ -14,7 +14,6 @@ namespace Composer\Installer; use Composer\Composer; use Composer\IO\IOInterface; -use Composer\Downloader\DownloadManager; use Composer\Repository\InstalledRepositoryInterface; use Composer\Package\PackageInterface; use Composer\Util\Filesystem; diff --git a/src/Composer/Json/JsonFile.php b/src/Composer/Json/JsonFile.php index 155f17e6e..70b97b18d 100644 --- a/src/Composer/Json/JsonFile.php +++ b/src/Composer/Json/JsonFile.php @@ -12,7 +12,6 @@ namespace Composer\Json; -use Composer\Composer; use JsonSchema\Validator; use Seld\JsonLint\JsonParser; use Seld\JsonLint\ParsingException; diff --git a/src/Composer/Package/Dumper/ArrayDumper.php b/src/Composer/Package/Dumper/ArrayDumper.php index bca932d71..be94adec4 100644 --- a/src/Composer/Package/Dumper/ArrayDumper.php +++ b/src/Composer/Package/Dumper/ArrayDumper.php @@ -16,7 +16,6 @@ use Composer\Package\BasePackage; use Composer\Package\PackageInterface; use Composer\Package\CompletePackageInterface; use Composer\Package\RootPackageInterface; -use Composer\Package\Link; /** * @author Konstantin Kudryashiv diff --git a/src/Composer/Plugin/CommandEvent.php b/src/Composer/Plugin/CommandEvent.php index ac2ad2551..0f75bed9e 100644 --- a/src/Composer/Plugin/CommandEvent.php +++ b/src/Composer/Plugin/CommandEvent.php @@ -12,7 +12,6 @@ namespace Composer\Plugin; -use Composer\IO\IOInterface; use Composer\EventDispatcher\Event; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/src/Composer/Plugin/PreFileDownloadEvent.php b/src/Composer/Plugin/PreFileDownloadEvent.php index 847477e10..38ea2620a 100644 --- a/src/Composer/Plugin/PreFileDownloadEvent.php +++ b/src/Composer/Plugin/PreFileDownloadEvent.php @@ -12,8 +12,6 @@ namespace Composer\Plugin; -use Composer\Composer; -use Composer\IO\IOInterface; use Composer\EventDispatcher\Event; use Composer\Util\RemoteFilesystem; diff --git a/src/Composer/Repository/Vcs/GitHubDriver.php b/src/Composer/Repository/Vcs/GitHubDriver.php index 5efc82629..6345fa473 100644 --- a/src/Composer/Repository/Vcs/GitHubDriver.php +++ b/src/Composer/Repository/Vcs/GitHubDriver.php @@ -16,7 +16,6 @@ use Composer\Downloader\TransportException; use Composer\Json\JsonFile; use Composer\Cache; use Composer\IO\IOInterface; -use Composer\Util\RemoteFilesystem; use Composer\Util\GitHub; /** diff --git a/src/Composer/Script/CommandEvent.php b/src/Composer/Script/CommandEvent.php index 5d8f732c9..48ea2246a 100644 --- a/src/Composer/Script/CommandEvent.php +++ b/src/Composer/Script/CommandEvent.php @@ -12,8 +12,6 @@ namespace Composer\Script; -use Composer\Composer; - /** * The Command Event. * diff --git a/src/Composer/Util/Git.php b/src/Composer/Util/Git.php index 7df6b1d95..4b6fcd6f2 100644 --- a/src/Composer/Util/Git.php +++ b/src/Composer/Util/Git.php @@ -12,8 +12,6 @@ namespace Composer\Util; -use Composer\IO\IOInterface; - /** * @author Jordi Boggiano */