Skip to content

Commit ccc0c27

Browse files
author
Florian Krämer
committed
Fixing layer rules
1 parent c6a522b commit ccc0c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Architecture/ModularArchitectureRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private function getDefaultLayerDependencies(): array
7676
{
7777
return [
7878
self::LAYER_DOMAIN => [],
79-
self::LAYER_APPLICATION => [self::LAYER_DOMAIN],
79+
self::LAYER_APPLICATION => [self::LAYER_DOMAIN, self::LAYER_INFRASTRUCTURE],
8080
self::LAYER_INFRASTRUCTURE => [self::LAYER_DOMAIN, self::LAYER_APPLICATION],
8181
self::LAYER_PRESENTATION => [self::LAYER_DOMAIN, self::LAYER_APPLICATION],
8282
];

0 commit comments

Comments
 (0)