From e887f6cea908cdc187ee02e598a9c29b1cf3374c Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 22 Oct 2012 20:25:11 +0200 Subject: [PATCH] Fix CS --- src/Composer/Installer.php | 1 - src/Composer/Repository/ComposerRepository.php | 1 - src/Composer/Script/EventDispatcher.php | 4 ++-- src/Composer/Util/GitHub.php | 10 +++++----- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index 67f45c65e..442cbb697 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -32,7 +32,6 @@ use Composer\Package\PackageInterface; use Composer\Package\RootPackageInterface; use Composer\Repository\CompositeRepository; use Composer\Repository\InstalledArrayRepository; -use Composer\Repository\InstalledFilesystemRepository; use Composer\Repository\PlatformRepository; use Composer\Repository\RepositoryInterface; use Composer\Repository\RepositoryManager; diff --git a/src/Composer/Repository/ComposerRepository.php b/src/Composer/Repository/ComposerRepository.php index 64a16a867..65eeec2a1 100644 --- a/src/Composer/Repository/ComposerRepository.php +++ b/src/Composer/Repository/ComposerRepository.php @@ -22,7 +22,6 @@ use Composer\Cache; use Composer\Config; use Composer\IO\IOInterface; use Composer\Util\RemoteFilesystem; -use Composer\Downloader\TransportException; /** * @author Jordi Boggiano diff --git a/src/Composer/Script/EventDispatcher.php b/src/Composer/Script/EventDispatcher.php index 31589bf7b..a1f9c163d 100644 --- a/src/Composer/Script/EventDispatcher.php +++ b/src/Composer/Script/EventDispatcher.php @@ -119,7 +119,7 @@ class EventDispatcher /** * @param string $className * @param string $methodName - * @param Event $event Event invoking the PHP callable + * @param Event $event Event invoking the PHP callable */ protected function executeEventPhpScript($className, $methodName, Event $event) { @@ -156,7 +156,7 @@ class EventDispatcher /** * Checks if string given references a class path and method * - * @param string $callable + * @param string $callable * @return boolean */ protected function isPhpScript($callable) diff --git a/src/Composer/Util/GitHub.php b/src/Composer/Util/GitHub.php index 33e5443f7..e4010e4e7 100644 --- a/src/Composer/Util/GitHub.php +++ b/src/Composer/Util/GitHub.php @@ -46,8 +46,8 @@ class GitHub /** * Attempts to authorize a GitHub domain via OAuth * - * @param string $originUrl The host this GitHub instance is located at - * @return bool true on success + * @param string $originUrl The host this GitHub instance is located at + * @return bool true on success */ public function authorizeOAuth($originUrl) { @@ -68,9 +68,9 @@ class GitHub /** * Authorizes a GitHub domain interactively via OAuth * - * @param string $originUrl The host this GitHub instance is located at - * @param string $message The reason this authorization is required - * @return bool true on success + * @param string $originUrl The host this GitHub instance is located at + * @param string $message The reason this authorization is required + * @return bool true on success */ public function authorizeOAuthInteractively($originUrl, $message = null) {