protected function cleanUp(Filesystem $filesystem)
{
$composterPath = Paths::getPath('git_composter');
if (static::$io->isVeryVerbose()) {
static::$io->write(sprintf(_('Removing previous PHP Composter actions at %1$s'), $composterPath), true);
}
$filesystem->emptyDirectory($composterPath, true);
$composterTemplate = Paths::getPath('root_template');
if (static::$io->isVeryVerbose()) {
static::$io->write(sprintf(_('Removing previous PHP Composter code at %1$s'), $composterTemplate), true);
}
$filesystem->emptyDirectory($composterTemplate, true);
}