From a8c0170a91e927359dd7eb4934e98c502555d1b6 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Fri, 16 Aug 2013 15:14:38 +0200 Subject: [PATCH] Revert constructor arguments to old order for custom installers --- src/Composer/Plugin/PluginManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Plugin/PluginManager.php b/src/Composer/Plugin/PluginManager.php index 386de461b..cfbc804d6 100644 --- a/src/Composer/Plugin/PluginManager.php +++ b/src/Composer/Plugin/PluginManager.php @@ -175,7 +175,7 @@ class PluginManager } if ($oldInstallerPlugin) { - $installer = new $class($this->composer, $this->io); + $installer = new $class($this->io, $this->composer); $this->composer->getInstallationManager()->addInstaller($installer); } else { $plugin = new $class();