$progress->
setProgress($offset);
} while ($result instanceof ValidResult
);
$progress->
finish();
$this->IOHelper->
writeln(''
);
} private function cleanup() { $this->IOHelper->
writeln('Cleanup old files, clearing caches...'
);
$this->
deleteDummyPlugins();
$this->
cleanupFiles();
} private function deleteDummyPlugins() { /** @var DummyPluginFinder $pluginFinder */
$pluginFinder =
$this->container->
get('dummy.plugin.finder'
);
foreach ($pluginFinder->
getDummyPlugins() as $plugin) { Utils::
cleanPath($plugin);
} }