{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpstan analyse \/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/AI\/ --level 7 2>&1 | tail -20",
"description": "PHPStan check AI directory"
}
}
{
"tool_response": {
"stdout": " https:\/\/phpstan.org\/blog\/solving-phpstan-no-value-type-specified-in-i \n terable-type \n 191 Method Infrastructure\\AI\\ModelRegistry::loadAllModels() return type \n has no value type specified in iterable type array. \n 🪪 missingType.iterableValue \n 💡 See: \n https:\/\/phpstan.org\/blog\/solving-phpstan-no-value-type-specified-in-i \n terable-type \n 206 Cannot call method fetchAll() on PDOStatement|false. \n 🪪 method.nonObject \n 215 Method Infrastructure\\AI\\ModelRegistry::syncFromOllama() return type \n has no value type specified in iterable type array. \n 🪪 missingType.iterableValue \n 💡 See: \n https:\/\/phpstan.org\/blog\/solving-phpstan-no-value-type-specified-in-i \n terable-type \n ------ ----------------------------------------------------------------------- \n\n [ERROR] Found 8 errors",
"stderr": "",
"interrupted": false,
"isImage": false
}
}