diff --git a/src/Rules/Extending/ProvidersExtending.php b/src/Rules/Extending/ProvidersExtending.php index 45f29a6..51e3162 100644 --- a/src/Rules/Extending/ProvidersExtending.php +++ b/src/Rules/Extending/ProvidersExtending.php @@ -14,7 +14,7 @@ class ProvidersExtending extends BaseRule implements RuleContract public static function rule(): ArchRule { return Rule::allClasses() - ->except('App\Providers\(Auth|Event|Route)ServiceProvider') + ->except('App\Providers\(Auth|Event|Route|Horizon)ServiceProvider') ->that(new ResideInOneOfTheseNamespaces('App\Providers')) ->should(new Extend('Illuminate\Support\ServiceProvider')) ->because('we use Laravel framework!');