@@ -12,7 +12,6 @@
namespace Composer\DependencyResolver\Operation;
-
/**
* Solver operation interface.
*
@@ -107,7 +107,6 @@ class RuleSet implements \IteratorAggregate, \Countable
return new RuleSetIterator($rules);
}
public function getIteratorWithout($types)
{
if (!is_array($types)) {
namespace Composer\Downloader;
* Downloader for pear packages
* Downloader for phar files
* Downloader for tar files: tar, tar.gz or tar.bz2
@@ -529,7 +529,7 @@ class Installer
* set whether to run scripts or not
- * @param boolean $runScripts
+ * @param boolean $runScripts
* @return Installer
*/
public function setRunScripts($runScripts = true)
@@ -12,11 +12,8 @@
namespace Composer\Installer;
-use Composer\IO\IOInterface;
-use Composer\Downloader\DownloadManager;
use Composer\Repository\InstalledRepositoryInterface;
use Composer\Package\PackageInterface;
-use Composer\Util\Filesystem;
* Does not install anything but marks packages installed in the repo
namespace Composer\Repository;
* Installed array repository.
* Installed filesystem repository.
* Installable repository interface.
@@ -75,7 +75,7 @@ class HgDriver extends VcsDriver
public function getSource($identifier)
- $label = array_search($identifier, (array)$this->tags) ? : $identifier;
+ $label = array_search($identifier, (array) $this->tags) ? : $identifier;
return array('type' => 'hg', 'url' => $this->getUrl(), 'reference' => $label);