Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update phpmd
  • Loading branch information
alexcoderabbitai committed Jun 30, 2025
commit 1b884b9276f9acbaf924d9ece8173499692b3274
7 changes: 7 additions & 0 deletions docs/tools/phpmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ PHPMD can detect various code quality issues including:
- **Unused Code Rules**: Detects unused variables, parameters, methods, and classes
- **Size Rules**: Identifies overly complex methods and classes

### Review Mode Behavior

CodeRabbit's review mode affects which PHPMD rules are applied:

- **Chill Mode**: Only checks for unused code (`unusedcode` rule set)
- **Assertive Mode**: Checks all rule sets including clean code, code size, controversial rules, design issues, naming conventions, and unused code (`cleancode,codesize,controversial,design,naming,unusedcode`)

## Links

- [PHPMD Official Website](https://phpmd.org/)
Expand Down