10 lines
550 B
Markdown
10 lines
550 B
Markdown
---
|
|
globs: src/Data/*/Entity/*.php
|
|
description: This rule requires that when entities are created and the feature
|
|
name cannot be determined, instead of defaulting to an 'Unknown' directory,
|
|
developers must actively select or define a proper feature name to maintain
|
|
clean architectural separation.
|
|
alwaysApply: true
|
|
---
|
|
|
|
When creating entities, if [FeatureName] is unknown, prompt the user to provide a feature name rather than automatically using 'Unknown'. This ensures proper categorization of entities within the feature-based architecture. |