public function activate(Composer $composer, IOInterface $io) { $this->composer = $composer; $this->io = $io; $this->config = $composer->getConfig(); $this->filesystem = new Filesystem(); $this->rules = CleanupRules::getRules(); }