Files
everything-claude-code/docs/ja-JP/rules/php/hooks.md
Claude ec9ace9c54 docs: add native Japanese translation of ECC documentation (ja-JP)
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>
2026-05-17 02:31:40 -04:00

890 B

paths
paths
**/*.php
**/composer.json
**/phpstan.neon
**/phpstan.neon.dist
**/psalm.xml

PHP フック

このファイルは common/hooks.md を PHP 固有のコンテンツで拡張します。

PostToolUse フック

~/.claude/settings.json で設定:

  • Pint / PHP-CS-Fixer: 編集された .php ファイルを自動フォーマット。
  • PHPStan / Psalm: 型付きコードベースで PHP 編集後に静的解析を実行。
  • PHPUnit / Pest: 編集が動作に影響する場合、対象ファイルやモジュールのテストを実行。

警告

  • 編集されたファイルに残された var_dumpdddumpdie() について警告する。
  • 編集された PHP ファイルが生 SQL を追加したり CSRF/セッション保護を無効化している場合に警告する。