{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpstan analyse src\/Domain\/Entity\/ChatSession.php src\/Domain\/Entity\/ChatMessage.php src\/UseCases\/Chat\/*.php src\/Controller\/ChatController.php --level 5 --no-progress 2>&1 | head -60",
"description": "Run PHPStan on updated files"
}
}
{
"tool_response": {
"stdout": "Note: Using configuration file \/var\/www\/dev.campus.systemische-tools.de\/phpstan.neon.\n ------ -------------------------------------------------------------------- \n Line UseCases\/Chat\/ExportChatSessionUseCase.php \n ------ -------------------------------------------------------------------- \n 140 Strict comparison using === between non-empty-string and null will \n always evaluate to false. \n 🪪 identical.alwaysFalse \n ------ -------------------------------------------------------------------- \n\n\n [ERROR] Found 1 error",
"stderr": "",
"interrupted": false,
"isImage": false
}
}