diff --git a/composer.json b/composer.json index 924deb9..dc54123 100755 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ }, "require": { "php" : ">=7.1", - "laravel/framework": "^5.6|^6.0" + "laravel/framework": "^5.4|^6.0" }, "require-dev": { "php" : ">=7.1", @@ -33,7 +33,7 @@ "extra": { "laravel": { "providers": [ - "SebastienHeyd\\HiddenCaptcha\\ServiceProvider" + "SebastienHeyd\\HiddenCaptcha\\HiddenCaptchaServiceProvider" ], "aliases": { "HiddenCaptcha": "SebastienHeyd\\HiddenCaptcha\\Facade" diff --git a/src/ServiceProvider.php b/src/HiddenCaptchaServiceProvider.php similarity index 96% rename from src/ServiceProvider.php rename to src/HiddenCaptchaServiceProvider.php index 98040b0..e57b016 100755 --- a/src/ServiceProvider.php +++ b/src/HiddenCaptchaServiceProvider.php @@ -5,7 +5,7 @@ use Illuminate\Support\Facades\Blade; use Illuminate\Support\ServiceProvider as BaseServiceProvider; -class ServiceProvider extends BaseServiceProvider +class HiddenCaptchaServiceProvider extends BaseServiceProvider { /** * Bootstrap the application services. diff --git a/tests/TestCase.php b/tests/TestCase.php index 053bf4b..c5e2af2 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -3,7 +3,7 @@ namespace SebastienHeyd\HiddenCaptcha\Tests; use Orchestra\Testbench\TestCase as OrchestraTestCase; -use SebastienHeyd\HiddenCaptcha\ServiceProvider; +use SebastienHeyd\HiddenCaptcha\HiddenCaptchaServiceProvider; abstract class TestCase extends OrchestraTestCase { @@ -15,7 +15,7 @@ abstract class TestCase extends OrchestraTestCase protected function getPackageProviders($app) { return [ - ServiceProvider::class, + HiddenCaptchaServiceProvider::class, ]; }