A Claude Code PostToolUse hook that automatically runs PHPCS after Claude edits
a PHP/Drupal file inside a DDEV project — feeding violations back to Claude so it
can self-correct without any human intervention.
- Fires after every
EditorWritetool use - Checks only PHP-family files:
.php,.module,.install,.inc,.theme