@@ -7,8 +7,8 @@ |
||
| 7 | 7 | use Arkitect\Expression\ForClasses\ResideInOneOfTheseNamespaces; |
| 8 | 8 | use Arkitect\Rules\Rule; |
| 9 | 9 | |
| 10 | -return static function (Config $config): void { |
|
| 11 | - $moduleRootClassset = FlatClassSet::fromDir(__DIR__.'/src/ForecastAutomation') |
|
| 10 | +return static function(Config $config): void { |
|
| 11 | + $moduleRootClassset = FlatClassSet::fromDir(__DIR__ . '/src/ForecastAutomation') |
|
| 12 | 12 | ->excludePath('Kernel'); |
| 13 | 13 | |
| 14 | 14 | $moduleRootRule = Rule::allClasses() |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | { |
| 56 | 56 | $validFqcn = '/^[a-zA-Z_\x7f-\xff\\\\][a-zA-Z0-9_\x7f-\xff\\\\]*[a-zA-Z0-9_\x7f-\xff]$/'; |
| 57 | 57 | |
| 58 | - if (!(bool) preg_match($validFqcn, $fqcn)) { |
|
| 58 | + if (!(bool)preg_match($validFqcn, $fqcn)) { |
|
| 59 | 59 | throw new \RuntimeException("$fqcn is not a valid namespace definition"); |
| 60 | 60 | } |
| 61 | 61 | |