diff --git a/src/MergePlugin.php b/src/MergePlugin.php index a9af5b6..49b3117 100644 --- a/src/MergePlugin.php +++ b/src/MergePlugin.php @@ -157,8 +157,6 @@ public static function getSubscribedEvents() ['onInit', self::CALLBACK_PRIORITY], PackageEvents::POST_PACKAGE_INSTALL => ['onPostPackageInstall', self::CALLBACK_PRIORITY], - ScriptEvents::POST_INSTALL_CMD => - ['onPostInstallOrUpdate', self::CALLBACK_PRIORITY], ScriptEvents::POST_UPDATE_CMD => ['onPostInstallOrUpdate', self::CALLBACK_PRIORITY], ScriptEvents::PRE_AUTOLOAD_DUMP => diff --git a/tests/phpunit/MergePluginTest.php b/tests/phpunit/MergePluginTest.php index ff1375a..b09d957 100644 --- a/tests/phpunit/MergePluginTest.php +++ b/tests/phpunit/MergePluginTest.php @@ -83,14 +83,13 @@ public function testSubscribedEvents() { $subscriptions = MergePlugin::getSubscribedEvents(); - $this->assertCount(7, $subscriptions); + $this->assertCount(6, $subscriptions); $this->assertArrayHasKey(PluginEvents::INIT, $subscriptions); $this->assertArrayHasKey(ScriptEvents::PRE_INSTALL_CMD, $subscriptions); $this->assertArrayHasKey(ScriptEvents::PRE_UPDATE_CMD, $subscriptions); $this->assertArrayHasKey(ScriptEvents::PRE_AUTOLOAD_DUMP, $subscriptions); $this->assertArrayHasKey(PackageEvents::POST_PACKAGE_INSTALL, $subscriptions); - $this->assertArrayHasKey(ScriptEvents::POST_INSTALL_CMD, $subscriptions); $this->assertArrayHasKey(ScriptEvents::POST_UPDATE_CMD, $subscriptions); }