for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SilverStripe\ModuleRatingsPlugin;
use Composer\Composer;
use Composer\IO\IOInterface;
use Composer\Plugin\Capability\CommandProvider;
use Composer\Plugin\Capable;
use Composer\Plugin\PluginInterface;
class RatingsPlugin implements PluginInterface, Capable
{
public function activate(Composer $composer, IOInterface $io)
// noop
}
public function deactivate(Composer $composer, IOInterface $io)
public function uninstall(Composer $composer, IOInterface $io)
public function getCapabilities()
return [
CommandProvider::class => RatingsCommandProvider::class,
];