diff --git a/src/Plugin.php b/src/Plugin.php
index c5352f12..85ae8d71 100644
--- a/src/Plugin.php
+++ b/src/Plugin.php
@@ -185,8 +185,6 @@ public function onDependenciesChangedEvent()
$io->write(sprintf('%s', self::MESSAGE_NOTHING_TO_INSTALL));
}
} else {
- $isDev = array_key_exists(self::PLUGIN_NAME, $this->composer->getPackage()->getDevRequires());
-
$pluginPackage = $this
->composer
->getRepositoryManager()
@@ -196,7 +194,7 @@ public function onDependenciesChangedEvent()
$isPluginUninstalled = count($pluginPackage) === 0;
- if ($isDev && $isPluginUninstalled) {
+ if ($isPluginUninstalled) {
if ($isVerbose) {
$io->write(sprintf('%s', self::MESSAGE_PLUGIN_UNINSTALLED));
}