{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/scripts\/php-check.sh 2>&1 | head -30",
"timeout": 120000,
"description": "Check PHPStan output"
}
}
{
"tool_response": {
"stdout": "=== PHP Quality & Security Check: Sat Dec 27 12:40:37 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 Line src\/Controller\/StopwordController.php \n ------ --------------------------------------- \n 80 If condition is always false. \n πͺͺ if.alwaysFalse \n 147 If condition is always false. \n πͺͺ if.alwaysFalse \n ------ --------------------------------------- \n\n\n [ERROR] Found 2 errors \n\n\u001b[0;31mβ PHPStan: Errors found\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.\nUsing cache file \"\/tmp\/.php-cs-fixer.cache\".\n 0\/348 [ββββββββββββββββββββββββββββ] 0%\n 348\/348 [ββββββββββββββββββββββββββββ] 100%\n\n\nFound 0 of 348 files that can be fixed in 0.002 seconds, 20.00 MB memory used",
"stderr": "",
"interrupted": false,
"isImage": false
}
}