code: public function remove(PackageInterface $package, $path)
      {
          $this->io->writeError("  - Removing <info>" . $package->getName() . "</info> (<comment>" . $package->getPrettyVersion() . "</comment>)");
          $this->cleanChanges($package, $path, false);
          if (!$this->filesystem->removeDirectory($path)) {
              throw new \RuntimeException('Could not completely delete '.$path.', aborting.');
          }
      }
docs: {@inheritDoc}