Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
Renamed to ComposerInstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrizio Branca committed Mar 7, 2014
1 parent 2286967 commit 16bf0c8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions composer.json
@@ -1,5 +1,5 @@
{
"name": "aoepeople/installers",
"name": "aoepeople/composer-installers",
"type": "composer-installer",
"license": "GPL",
"description": "A simple composer installer",
Expand All @@ -13,10 +13,10 @@
}
],
"autoload": {
"psr-0": { "Aoepeople\\Installers\\": "src/" }
"psr-0": { "Aoepeople\\ComposerInstallers\\": "src/" }
},
"extra": {
"class": "Aoepeople\\Installers\\Installer"
"class": "Aoepeople\\ComposerInstallers\\Installer"
},
"replace": {
"magento-hackathon/magento-composer-installer":"*"
Expand Down
@@ -1,5 +1,5 @@
<?php
namespace Aoepeople\Installers;
namespace Aoepeople\ComposerInstallers;

use Composer\Composer;
use Composer\Package\PackageInterface;
Expand Down
@@ -1,5 +1,5 @@
<?php
namespace Aoepeople\Installers;
namespace Aoepeople\ComposerInstallers;

use Composer\Installer\LibraryInstaller;
use Composer\Package\PackageInterface;
Expand Down Expand Up @@ -30,7 +30,7 @@ public function getInstallPath(PackageInterface $package)
);
}

$class = 'Aoepeople\\Installers\\' . $this->supportedTypes[$frameworkType];
$class = 'Aoepeople\\ComposerInstallers\\' . $this->supportedTypes[$frameworkType];
$installer = new $class($package, $this->composer); /* @var $installer \Aoepeople\Installers\BaseInstaller */

return $installer->getInstallPath($package, $frameworkType);
Expand Down Expand Up @@ -94,7 +94,7 @@ protected function getLocationPattern($frameworkType)
{
$pattern = false;
if (!empty($this->supportedTypes[$frameworkType])) {
$frameworkClass = 'Aoepeople\\Installers\\' . $this->supportedTypes[$frameworkType];
$frameworkClass = 'Aoepeople\\ComposerInstallers\\' . $this->supportedTypes[$frameworkType];
/** @var BaseInstaller $framework */
$framework = new $frameworkClass;
$locations = array_keys($framework->getLocations());
Expand Down
@@ -1,5 +1,5 @@
<?php
namespace Aoepeople\Installers;
namespace Aoepeople\ComposerInstallers;

class MagentoInstaller extends BaseInstaller
{
Expand Down

0 comments on commit 16bf0c8

Please sign in to comment.