From a34311ef1fe980df93714481c5442e33a84ba3f6 Mon Sep 17 00:00:00 2001 From: Marco Raddatz Date: Mon, 26 Jun 2023 14:40:19 +0200 Subject: [PATCH] Rename ServiceProvider --- composer.json | 2 +- ...viceProvider.php => TranslationManagerServiceProvider.php} | 2 +- tests/TestCase.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/{ServiceProvider.php => TranslationManagerServiceProvider.php} (92%) diff --git a/composer.json b/composer.json index ec761a4..10d1d5a 100644 --- a/composer.json +++ b/composer.json @@ -57,7 +57,7 @@ "extra": { "laravel": { "providers": [ - "Empuxa\\TranslationManager\\ServiceProvider" + "Empuxa\\TranslationManager\\TranslationManagerServiceProvider" ] } }, diff --git a/src/ServiceProvider.php b/src/TranslationManagerServiceProvider.php similarity index 92% rename from src/ServiceProvider.php rename to src/TranslationManagerServiceProvider.php index 7599c13..3a6885d 100755 --- a/src/ServiceProvider.php +++ b/src/TranslationManagerServiceProvider.php @@ -9,7 +9,7 @@ use Spatie\LaravelPackageTools\Package; use Spatie\LaravelPackageTools\PackageServiceProvider; -class ServiceProvider extends PackageServiceProvider +class TranslationManagerServiceProvider extends PackageServiceProvider { public function configurePackage(Package $package): void { diff --git a/tests/TestCase.php b/tests/TestCase.php index aa45a95..337de2a 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,14 +2,14 @@ namespace Empuxa\TranslationManager\Tests; -use Empuxa\TranslationManager\ServiceProvider; +use Empuxa\TranslationManager\TranslationManagerServiceProvider; class TestCase extends \Orchestra\Testbench\TestCase { protected function getPackageProviders($app): array { return [ - ServiceProvider::class, + TranslationManagerServiceProvider::class, ]; } }