From ca319026562eef80a11c63e039b1b45c15f86e8e Mon Sep 17 00:00:00 2001 From: Christian Opitz Date: Tue, 24 May 2016 13:50:09 +0200 Subject: [PATCH] Removed metapackage installers as it is not compatible with the current composer metapackage installer and metapackages are not physically installed anyway. --- composer.json | 3 +-- .../MetapackageInstaller.php | 25 ------------------- .../MetapackagePlugin.php | 17 ------------- 3 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 src/Composer/CustomDirectoryInstaller/MetapackageInstaller.php delete mode 100644 src/Composer/CustomDirectoryInstaller/MetapackagePlugin.php diff --git a/composer.json b/composer.json index 5b3b152..e6e278a 100644 --- a/composer.json +++ b/composer.json @@ -22,8 +22,7 @@ "class": [ "Composer\\CustomDirectoryInstaller\\LibraryPlugin", "Composer\\CustomDirectoryInstaller\\PearPlugin", - "Composer\\CustomDirectoryInstaller\\PluginPlugin", - "Composer\\CustomDirectoryInstaller\\MetapackagePlugin" + "Composer\\CustomDirectoryInstaller\\PluginPlugin" ], "branch-alias": { "dev-master": "1.1.x-dev" diff --git a/src/Composer/CustomDirectoryInstaller/MetapackageInstaller.php b/src/Composer/CustomDirectoryInstaller/MetapackageInstaller.php deleted file mode 100644 index a997499..0000000 --- a/src/Composer/CustomDirectoryInstaller/MetapackageInstaller.php +++ /dev/null @@ -1,25 +0,0 @@ -composer); - - if(!empty($path)) - { - return $path; - } - - /* - * In case, the user didn't provide a custom path - * use the default one, by calling the parent::getInstallPath function - */ - return parent::getInstallPath($package); - } -} diff --git a/src/Composer/CustomDirectoryInstaller/MetapackagePlugin.php b/src/Composer/CustomDirectoryInstaller/MetapackagePlugin.php deleted file mode 100644 index 80d8ac0..0000000 --- a/src/Composer/CustomDirectoryInstaller/MetapackagePlugin.php +++ /dev/null @@ -1,17 +0,0 @@ -getInstallationManager()->addInstaller($installer); - } -}