{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/scripts\/php-check.sh \/var\/www\/dev.campus.systemische-tools.de 2>&1 | grep -A 5 \"PHPStan\"",
"description": "Check PHPStan results"
}
}
{
"tool_response": {
"stdout": "\u001b[1;33m[1\/4] PHPStan - Static Analysis + Strict Rules\u001b[0m\n ------ ----------------------------------------------------------------------- \n Line src\/UseCases\/Chat\/SendChatMessageUseCase.php \n ------ ----------------------------------------------------------------------- \n 118 PHPDoc tag @var with type array<string> is not subtype of type array< \n int, non-empty-string>. \n--\n\u001b[0;31m✗ PHPStan: Errors found\u001b[0m\n\n\u001b[1;33m[2\/4] 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\".",
"stderr": "",
"interrupted": false,
"isImage": false
}
}