{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "cd \/var\/www\/dev.campus.systemische-tools.de\/src && echo \"=== P1.2: declare(strict_types=1) ===\" && find . -name \"*.php\" ! -path \"*\/View\/*\" -exec sh -c 'head -5 \"$1\" | grep -q \"declare(strict_types=1)\" || echo \"$1\"' _ {} \\; 2>\/dev\/null | head -20",
"description": "Check P1.2 violations"
}
}
{
"tool_response": {
"stdout": "=== P1.2: declare(strict_types=1) ===",
"stderr": "",
"interrupted": false,
"isImage": false
}
}