Skip to content

Commit

Permalink
Merge pull request #111 from Dealerdirect/feature/support-composer-2.0
Browse files Browse the repository at this point in the history
Support Composer 2.0
  • Loading branch information
Potherca committed Jun 25, 2020
2 parents 7c75210 + 2cf2a33 commit e8d8086
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -24,7 +24,7 @@
},
"require": {
"php": ">=5.3",
"composer-plugin-api": "^1.0",
"composer-plugin-api": "^1.0 || ^2.0",
"squizlabs/php_codesniffer": "^2 || ^3 || 4.0.x-dev"
},
"require-dev": {
Expand Down
14 changes: 14 additions & 0 deletions src/Plugin.php
Expand Up @@ -124,6 +124,20 @@ public function activate(Composer $composer, IOInterface $io)
$this->init();
}

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

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

/**
* Prepares the plugin so it's main functionality can be run.
*
Expand Down

0 comments on commit e8d8086

Please sign in to comment.