{
"event": "PostToolUse",
"raw_data": {
"session_id": "f0f145c4-ac1d-417a-b15b-271983ae648b",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/f0f145c4-ac1d-417a-b15b-271983ae648b.jsonl",
"cwd": "\/var\/www\/dev.campus.systemische-tools.de",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/scripts\/php-check.sh",
"timeout": 180000,
"description": "Run PHP quality checks (PHPStan, CS-Fixer, Semgrep)"
},
"tool_response": {
"stdout": "=== PHP Quality & Security Check: Thu Dec 25 04:56:24 PM CET 2025 ===\nProject: \/var\/www\/dev.campus.systemische-tools.de\n\n\u001b[1;33m[1\/5] PHPStan - Static Analysis + Strict Rules\u001b[0m\n\n [OK] No errors \n\n\u001b[0;32m✓ PHPStan: OK\u001b[0m\n\n\u001b[1;33m[2\/5] PHP-CS-Fixer - Code Style (PSR-12)\u001b[0m\n\nFound 0 of 293 files that can be fixed in 0.192 seconds, 20.00 MB memory used\n\u001b[0;32m✓ PHP-CS-Fixer: OK\u001b[0m\n\n\u001b[1;33m[3\/5] Composer Audit - Dependency Vulnerabilities\u001b[0m\n\u001b[0;32m✓ Composer Audit: No vulnerabilities\u001b[0m\n\n\u001b[1;33m[4\/5] Semgrep - OWASP Security Scan\u001b[0m\n\u001b[0;32m✓ Semgrep: No vulnerabilities\u001b[0m\n\n\u001b[1;33m[5\/5] DI Check - UseCase Dependencies\u001b[0m\n\n\u001b[0;32m✓ All UseCase dependencies are resolvable\u001b[0m\n\nRegistered services: 83\nUseCases checked: 42\n\u001b[0;32m✓ DI Check: All dependencies resolvable\u001b[0m\n\n=== Summary ===\n\u001b[0;32mAll checks passed!\u001b[0m\nPHP CS Fixer 3.92.3 Exceptional Exception by Fabien Potencier, Dariusz Ruminski and contributors.\nPHP runtime: 8.4.16\nLoaded config default from \"\/opt\/php-tools\/.php-cs-fixer.php\".\nRunning analysis on 1 core sequentially.\nYou can enable parallel runner and speed up the analysis! Please see https:\/\/cs.symfony.com\/doc\/usage.html for more information.\nUsing cache file \"\/tmp\/.php-cs-fixer.cache\".\n 0\/293 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%\n 88\/293 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░] 30%\n 235\/293 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░] 80%\n 293\/293 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%",
"stderr": "",
"interrupted": false,
"isImage": false
},
"tool_use_id": "toolu_01KySX9DMmZD1uF1a3P8LgLo"
}
}