diff --git a/composer.json b/composer.json index d00e137..a321025 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ } ], "require": { - "php": "^7.2", + "php": "^7.2||^8.0", "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0", "spatie/laravel-webhook-client": "^2.0" }, diff --git a/tests/TestCase.php b/tests/TestCase.php index a8da948..0d61361 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -56,7 +56,8 @@ protected function getPackageProviders($app) protected function disableExceptionHandling() { - $this->app->instance(ExceptionHandler::class, new class extends Handler { + $this->app->instance(ExceptionHandler::class, new class extends Handler + { public function __construct() { }