Skip to content

Commit

Permalink
Merge pull request #9 from humanmade/composer-2-support
Browse files Browse the repository at this point in the history
Add Composer v2 support
  • Loading branch information
roborourke authored Oct 29, 2020
2 parents 880bfa3 + 50dbc8d commit 6316476
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"require": {
"composer-plugin-api": "^1.1"
"composer-plugin-api": "^1.1 || ^2.0"
},
"extra": {
"class": "Altis\\Dev_Tools\\Command\\Plugin"
Expand Down
12 changes: 12 additions & 0 deletions inc/command/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,16 @@ public function install_files() {
'https://www.altis-dxp.com/resources/docs/dev-tools/continuous-integration/ ' . "\n"
);
}

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

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

0 comments on commit 6316476

Please sign in to comment.