We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b8669e commit cc6a67fCopy full SHA for cc6a67f
src/Rules/Naming/ExceptionsNaming.php
@@ -21,7 +21,7 @@ public static function rule(): ArchRule
21
{
22
return Rule::allClasses()
23
->that(new ResideInOneOfTheseNamespaces(static::namespace()))
24
- ->should(new MatchOneOfTheseNames(['Exception', 'Handler']))
+ ->should(new MatchOneOfTheseNames(['*Exception', '*Handler']))
25
->because('It\'s a Laravel naming convention');
26
}
27
0 commit comments