{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/scripts\/php-check.sh 2>&1 | head -80",
"description": "Run PHP quality check"
}
}
{
"tool_response": {
"stdout": "=== PHP Quality & Security Check: Tue Dec 30 08:41:38 PM CET 2025 ===\nProject: \/var\/www\/dev.campus.systemische-tools.de\n\n\u001b[1;33m[1\/6] 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\/6] PHP-CS-Fixer - Code Style (PSR-12)\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.\n 0\/361 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%\n 37\/361 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░] 10%\n 73\/361 [▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░] 20%\n 109\/361 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░] 30%\n 145\/361 [▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░] 40%\n 181\/361 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░] 50%\n 217\/361 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░] 60%\n 253\/361 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░] 70%\n 289\/361 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░] 80%\n 325\/361 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░] 90%\n 361\/361 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%\n\n 1) src\/View\/config\/form.php\n ---------- begin diff ----------\n--- \/var\/www\/dev.campus.systemische-tools.de\/src\/View\/config\/form.php\n+++ \/var\/www\/dev.campus.systemische-tools.de\/src\/View\/config\/form.php\n@@ -1,10 +1,11 @@\n <?php ob_start();\n \n \/\/ Helper function for version increment\n-$incrementVersion = function(string $version): string {\n+$incrementVersion = function (string $version): string {\n $parts = explode('.', $version);\n $last = (int) array_pop($parts);\n $parts[] = (string) ($last + 1);\n+\n return implode('.', $parts);\n };\n ?>\n\n ----------- end diff -----------\n\n\nFound 1 of 361 files that can be fixed in 2.775 seconds, 22.00 MB memory used\n\u001b[0;31m✗ PHP-CS-Fixer: Style issues found (run with --fix)\u001b[0m\n\n\u001b[1;33m[3\/6] Composer Audit - Dependency Vulnerabilities\u001b[0m\n\u001b[0;32m✓ Composer Audit: No vulnerabilities\u001b[0m\n\n\u001b[1;33m[4\/6] Semgrep - OWASP Security Scan\u001b[0m\n\u001b[0;32m✓ Semgrep: No vulnerabilities\u001b[0m\n\n\u001b[1;33m[5\/6] DI Check - UseCase Dependencies\u001b[0m\n\n\u001b[0;32m✓ All UseCase dependencies are resolvable\u001b[0m\n\nRegistered services: 0\nUseCases checked: 54\n\u001b[0;32m✓ DI Check: All dependencies resolvable\u001b[0m\n\n\u001b[1;33m[6\/6] Interface Check - DI Container Bindings\u001b[0m\n[Interface Check] Validating DI container bindings...\nChecked 46 interface bindings\n\u001b[0;32m✓ All interface bindings are valid\u001b[0m\n\u001b[0;32m✓ Interface Check: All bindings valid\u001b[0m\n\n=== Summary ===\n\u001b[0;31mSome checks failed\u001b[0m",
"stderr": "",
"interrupted": false,
"isImage": false
}
}