{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/scripts\/php-check.sh \/var\/www\/dev.campus.systemische-tools.de --fix",
"timeout": 120000,
"description": "Run PHP quality check with auto-fix"
}
}
{
"tool_response": {
"stdout": "=== PHP Quality & Security Check: Sat Dec 20 05:47:28 PM CET 2025 ===\nProject: \/var\/www\/dev.campus.systemische-tools.de\n\n\u001b[1;33m[1\/4] 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\/4] PHP-CS-Fixer - Code Style (PSR-12)\u001b[0m\n 1) src\/View\/backup-restore\/index.php (blank_line_before_statement)\n 2) src\/View\/backup-restore\/show.php (blank_line_before_statement)\n 3) src\/Infrastructure\/Persistence\/FileBackupRepository.php (single_quote)\n\nFixed 3 of 110 files in 0.147 seconds, 20.00 MB memory used\n\u001b[0;32m✓ PHP-CS-Fixer: Fixed\u001b[0m\n\n\u001b[1;33m[3\/4] Composer Audit - Dependency Vulnerabilities\u001b[0m\n\u001b[1;33m⚠ No composer.lock found, skipping\u001b[0m\n\n\u001b[1;33m[4\/4] Semgrep - OWASP Security Scan\u001b[0m\n\u001b[0;32m✓ Semgrep: No vulnerabilities\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.11\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\/110 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%\n 11\/110 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░] 10%\n 110\/110 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%",
"stderr": "",
"interrupted": false,
"isImage": false
}
}