CS cleanups

main
Jordi Boggiano 12 years ago
parent e46d26cb9b
commit 8a275336a1

@ -15,7 +15,6 @@ namespace Composer\DependencyResolver;
use Composer\Package\BasePackage; use Composer\Package\BasePackage;
use Composer\Package\AliasPackage; use Composer\Package\AliasPackage;
use Composer\Package\Version\VersionParser; use Composer\Package\Version\VersionParser;
use Composer\Package\Loader\ArrayLoader;
use Composer\Package\Link; use Composer\Package\Link;
use Composer\Package\LinkConstraint\LinkConstraintInterface; use Composer\Package\LinkConstraint\LinkConstraintInterface;
use Composer\Package\LinkConstraint\VersionConstraint; use Composer\Package\LinkConstraint\VersionConstraint;
@ -62,7 +61,7 @@ class Pool
/** /**
* Adds a repository and its packages to this package pool * Adds a repository and its packages to this package pool
* *
* @param RepositoryInterface $repo A package repository * @param RepositoryInterface $repo A package repository
* @param array $rootAliases * @param array $rootAliases
*/ */
public function addRepository(RepositoryInterface $repo, $rootAliases = array()) public function addRepository(RepositoryInterface $repo, $rootAliases = array())

@ -12,8 +12,6 @@
namespace Composer\Package; namespace Composer\Package;
use Composer\Package\LinkConstraint\LinkConstraintInterface;
use Composer\Package\LinkConstraint\VersionConstraint;
use Composer\Repository\RepositoryInterface; use Composer\Repository\RepositoryInterface;
use Composer\Repository\PlatformRepository; use Composer\Repository\PlatformRepository;

@ -12,7 +12,6 @@
namespace Composer\Package; namespace Composer\Package;
use Composer\Package\LinkConstraint\LinkConstraintInterface;
use Composer\Repository\RepositoryInterface; use Composer\Repository\RepositoryInterface;
/** /**

@ -175,7 +175,7 @@ class ArrayLoader implements LoaderInterface
/** /**
* Retrieves a branch alias (dev-master => 1.0.x-dev for example) if it exists * Retrieves a branch alias (dev-master => 1.0.x-dev for example) if it exists
* *
* @param array $config the entire package config * @param array $config the entire package config
* @return string|null normalized version of the branch alias or null if there is none * @return string|null normalized version of the branch alias or null if there is none
*/ */
public function getBranchAlias(array $config) public function getBranchAlias(array $config)

@ -12,9 +12,6 @@
namespace Composer\Package; namespace Composer\Package;
use Composer\Package\LinkConstraint\LinkConstraintInterface;
use Composer\Repository\RepositoryInterface;
/** /**
* Defines package metadata that is not necessarily needed for solving and installing packages * Defines package metadata that is not necessarily needed for solving and installing packages
* *

@ -12,9 +12,6 @@
namespace Composer\Package; namespace Composer\Package;
use Composer\Package\LinkConstraint\LinkConstraintInterface;
use Composer\Repository\RepositoryInterface;
/** /**
* Defines additional fields that are only needed for the root package * Defines additional fields that are only needed for the root package
* *

@ -39,7 +39,7 @@ interface StreamableRepositoryInterface extends RepositoryInterface
/** /**
* Loads a package from minimal info of the package * Loads a package from minimal info of the package
* *
* @param array $data the minimal info as was returned by getMinimalPackage * @param array $data the minimal info as was returned by getMinimalPackage
* @return PackageInterface * @return PackageInterface
*/ */
public function loadPackage(array $data); public function loadPackage(array $data);
@ -47,8 +47,8 @@ interface StreamableRepositoryInterface extends RepositoryInterface
/** /**
* Loads an alias package from minimal info of the package * Loads an alias package from minimal info of the package
* *
* @param array $data the minimal info as was returned by getMinimalPackage * @param array $data the minimal info as was returned by getMinimalPackage
* @param PackageInterface $aliasOf the package which this alias is an alias of * @param PackageInterface $aliasOf the package which this alias is an alias of
* @return AliasPackage * @return AliasPackage
*/ */
public function loadAliasPackage(array $data, PackageInterface $aliasOf); public function loadAliasPackage(array $data, PackageInterface $aliasOf);

Loading…
Cancel
Save