diff --git a/extensions/composer/composer.json b/extensions/composer/composer.json index 1b2d720..74295a0 100644 --- a/extensions/composer/composer.json +++ b/extensions/composer/composer.json @@ -22,7 +22,7 @@ "psr-0": { "yii\\composer\\": "" } }, "extra": { - "class": "yii\\composer\\InstallerPlugin" + "class": "yii\\composer\\Plugin" }, "require": { "composer-plugin-api": "1.0.0" diff --git a/extensions/composer/yii/composer/InstallerPlugin.php b/extensions/composer/yii/composer/Plugin.php similarity index 84% rename from extensions/composer/yii/composer/InstallerPlugin.php rename to extensions/composer/yii/composer/Plugin.php index 0b8ce5f..fb480a3 100644 --- a/extensions/composer/yii/composer/InstallerPlugin.php +++ b/extensions/composer/yii/composer/Plugin.php @@ -12,12 +12,12 @@ use Composer\IO\IOInterface; use Composer\Plugin\PluginInterface; /** - * InstallerPlugin is the composer plugin that registers the Yii composer installer. + * Plugin is the composer plugin that registers the Yii composer installer. * * @author Qiang Xue * @since 2.0 */ -class InstallerPlugin implements PluginInterface +class Plugin implements PluginInterface { /** * @inheritdoc