mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-18 14:53:05 +08:00
Translate everything-claude-code repository to Japanese including: - 17 root documentation files - 60 agent documentation files - 80 command documentation files - 99 rule files across 18 language directories (common, angular, arkts, cpp, csharp, dart, fsharp, golang, java, kotlin, perl, php, python, ruby, rust, swift, typescript, web) - 199 skill documentation files Total: 455 files translated to Japanese with: - Consistent terminology glossary applied throughout - YAML field names preserved in English (name, description, etc.) - Code blocks and examples untouched (comments translated) - Markdown structure and relative links preserved - Professional translation maintaining technical accuracy This translation expands ECC accessibility to Japanese-speaking developers and teams. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
25 lines
890 B
Markdown
25 lines
890 B
Markdown
---
|
|
paths:
|
|
- "**/*.php"
|
|
- "**/composer.json"
|
|
- "**/phpstan.neon"
|
|
- "**/phpstan.neon.dist"
|
|
- "**/psalm.xml"
|
|
---
|
|
# PHP フック
|
|
|
|
> このファイルは [common/hooks.md](../common/hooks.md) を PHP 固有のコンテンツで拡張します。
|
|
|
|
## PostToolUse フック
|
|
|
|
`~/.claude/settings.json` で設定:
|
|
|
|
- **Pint / PHP-CS-Fixer**: 編集された `.php` ファイルを自動フォーマット。
|
|
- **PHPStan / Psalm**: 型付きコードベースで PHP 編集後に静的解析を実行。
|
|
- **PHPUnit / Pest**: 編集が動作に影響する場合、対象ファイルやモジュールのテストを実行。
|
|
|
|
## 警告
|
|
|
|
- 編集されたファイルに残された `var_dump`、`dd`、`dump`、`die()` について警告する。
|
|
- 編集された PHP ファイルが生 SQL を追加したり CSRF/セッション保護を無効化している場合に警告する。
|