Skip to content

Commit

Permalink
Merge pull request #42 from pluswerk/task/composer-2-compatibility
Browse files Browse the repository at this point in the history
✨ composer 2.0 compatibility
  • Loading branch information
Kanti authored Sep 29, 2020
2 parents f7bac31 + 7da1153 commit 1d84f44
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"require": {
"php": ">=7.2",
"composer-plugin-api": "1.*",
"composer-plugin-api": "1.* || 2.*",
"phpro/grumphp": "0.19.*",
"pluswerk/grumphp-bom-task": "6.*",
"pluswerk/grumphp-xliff-task": "4.*",
Expand Down
14 changes: 14 additions & 0 deletions src/Composer/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,18 @@ public function message($message, $color = null)
}
$this->consoleIo->write(self::PACKAGE_NAME . ': ' . $colorStart . $message . $colorEnd);
}

/**
* {@inheritdoc}
*/
public function deactivate(Composer $composer, IOInterface $io)
{
}

/**
* {@inheritdoc}
*/
public function uninstall(Composer $composer, IOInterface $io)
{
}
}

0 comments on commit 1d84f44

Please sign in to comment.