{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/scripts\/php-check.sh 2>&1 | grep -A 20 \"PHP-CS-Fixer\" | head -50",
"timeout": 120000,
"description": "Check CS-Fixer issues"
}
}
{
"tool_response": {
"stdout": "\u001b[1;33m[2\/5] 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.\nUsing cache file \"\/tmp\/.php-cs-fixer.cache\".\n 0\/323 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%\n 97\/323 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░] 30%\n 227\/323 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░] 70%\n 259\/323 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░] 80%\n 323\/323 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%\n\n 1) src\/ServiceProvider\/ChatServiceProvider.php\n ---------- begin diff ----------\n--- \/var\/www\/dev.campus.systemische-tools.de\/src\/ServiceProvider\/ChatServiceProvider.php\n+++ \/var\/www\/dev.campus.systemische-tools.de\/src\/ServiceProvider\/ChatServiceProvider.php\n@@ -60,6 +60,7 @@\n $container->set(ModelRegistry::class, function (Container $c) {\n $registry = new ModelRegistry($c->get('pdo.dev'));\n ModelRegistry::setInstance($registry);\n--\n\u001b[0;31m✗ PHP-CS-Fixer: Style issues found (run with --fix)\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: 89\nUseCases checked: 47\n\u001b[0;32m✓ DI Check: All dependencies resolvable\u001b[0m\n\n=== Summary ===\n\u001b[0;31mSome checks failed\u001b[0m",
"stderr": "",
"interrupted": false,
"isImage": false
}
}