Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix/php tools#421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
alexcoderabbitai merged 3 commits intomainfromfix/php-tools
Jul 1, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletionsdocs/tools/phpcs.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,6 +39,15 @@ PHPCS supports many coding standards including:
- **PEAR**: PEAR coding standard
- **Zend**: Zend Framework coding standard

## Configuration

PHPCS requires a configuration file to run. CodeRabbit will only run PHPCS if one of the following configuration files is found:

- `phpcs.xml` - XML configuration file
- `phpcs.xml.dist` - Distributed XML configuration file

CodeRabbit will not run PHPCS if no configuration file is found.

## Links

- [PHPCS GitHub Repository](https://github.com/squizlabs/PHP_CodeSniffer)
Expand Down
7 changes: 7 additions & 0 deletionsdocs/tools/phpmd.md
View file
Open in desktop
Original file line numberDiff line numberDiff 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)
- **Nitpick 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

[8]ページ先頭

©2009-2025 Movatter.jp