Skip to content

Commit 2337657

Browse files
committed
minor #436 Refine instructions in CLAUDE.md (OskarStark)
This PR was merged into the main branch. Discussion ---------- Refine instructions in `CLAUDE.md` | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | -- | License | MIT Commits ------- 0e29f5e Refine instructions in `CLAUDE.md`
2 parents d4462f5 + 0e29f5e commit 2337657

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)