From 40eb75d31c92b0f89eb5e628674cbafa180bc4e1 Mon Sep 17 00:00:00 2001 From: Lucas Demea Date: Sat, 13 Sep 2025 01:14:04 +0200 Subject: [PATCH] fix: get lowercase filenames --- src/Configurator.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Configurator.php b/src/Configurator.php index c967fb7..b025f12 100644 --- a/src/Configurator.php +++ b/src/Configurator.php @@ -77,11 +77,11 @@ public function getSupportedPackages(): array { */ private function getPossibleFileNames( PackageInterface $package ): array { return [ - 'exclude-' . $package->getName() . '-classes.json', - 'exclude-' . $package->getName() . '-constants.json', - 'exclude-' . $package->getName() . '-functions.json', - 'exclude-' . $package->getName() . '-interfaces.json', - 'exclude-' . $package->getName() . '-traits.json', + 'exclude-' . $package->getSlug() . '-classes.json', + 'exclude-' . $package->getSlug() . '-constants.json', + 'exclude-' . $package->getSlug() . '-functions.json', + 'exclude-' . $package->getSlug() . '-interfaces.json', + 'exclude-' . $package->getSlug() . '-traits.json', ]; }