Skip to content

Commit 0e29f5e

Browse files
committed
Refine instructions in CLAUDE.md
1 parent d4462f5 commit 0e29f5e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

CLAUDE.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,10 @@ Each component uses:
111111
- The monorepo structure allows independent versioning while maintaining shared development workflow
112112
- Do not use void return type for testcase methods
113113
- Always run PHP-CS-Fixer to ensure proper code style
114-
- Always add a newline at the end of the file
114+
- Always add a newline at the end of the file
115+
- Prefer self::assert* oder $this->assert* in tests
116+
- Never add Claude as co-author in the commits
117+
- Add @author tags to newly introduced classes by the user
118+
- Prefer classic if statements over short-circuit evaluation when possible
119+
- Define array shapes for parameters and return types
120+
- Use project specific exceptions instead of global exception classes like \RuntimeException, \InvalidArgumentException etc.

0 commit comments

Comments
 (0)