public static function deleteIgnoredFiles(PackageEvent $event)
    {
        if (null === $package = static::getLibraryPackage($event->getOperation())) {
            return;
        }

        $section = static::getIgnoreConfigSection();
        $manager = IgnoreFactory::create(static::getConfig($event), $event->getComposer(), $package, null, $section);
        $manager->cleanup();
    }