{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpstan analyse src\/Infrastructure\/Docs\/Chunk*.php --level=5 --no-progress 2>&1 | tail -25",
"description": "PHPStan check on Chunk modules"
}
}
{
"tool_response": {
"stdout": "Note: Using configuration file \/var\/www\/dev.campus.systemische-tools.de\/phpstan.neon.\n ------ ----------------------------------------------------------------------- \n Line ChunkAnalysisService.php \n ------ ----------------------------------------------------------------------- \n 73 Method Infrastructure\\Docs\\ChunkAnalysisService::analyzeAllPending() \n should return array{analyzed: int, failed: int, errors: array<string> \n } but returns array{processed: int, failed: int, errors: array<string \n >}. \n 🪪 return.type \n 💡 Array does not have offset 'analyzed'. \n ------ ----------------------------------------------------------------------- \n\n\n [ERROR] Found 1 error",
"stderr": "",
"interrupted": false,
"isImage": false
}
}