Skip to content

Commit 9da6683

Browse files
committed
Exclude root namespace imports in AGENTS.md
1 parent f1f0cc1 commit 9da6683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ tests/
4848
- Always use strict comparisons (`===`, `!==`).
4949
- Enforce the use of DateTimeImmutable over DateTime.
5050
- Always use spaces in concatenation (`$a . $b`).
51-
- Always use imports. Use aliases when collisions occur or the imported name is unclear.
51+
- Always use imports. Use aliases when collisions occur or the imported name is unclear. Do not import classes from the root namespace (e.g. `\RuntimeException`, `\Stringable`); use the fully-qualified backslash prefix inline instead.
5252
- Don't use blank lines between import groups.
5353

5454
## Commands

0 commit comments

Comments
 (0)