This commit is contained in:
2026-06-10 18:22:27 +02:00
parent 7f31b63aaa
commit 83b475987c
50 changed files with 2550 additions and 11 deletions
@@ -0,0 +1,11 @@
---
globs: src/Data/*/Entity/*.php
description: This rule enforces that entities are placed in feature-specific
directories under /src/Data/[FeatureName]/Entity. When [FeatureName] is
unknown or ambiguous, the developer must select an appropriate feature name
instead of automatically using a default 'Unknown' directory to maintain
proper architecture and code organization.
alwaysApply: true
---
All entities must be located in /src/Data/[FeatureName]/Entity directory, where [FeatureName] is a valid feature-specific subdirectory. If the feature name cannot be determined, developers must actively provide a proper feature name rather than defaulting to 'Unknown'. This ensures consistent architectural separation.