initial
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user