{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "cd \/var\/www\/dev.campus.systemische-tools.de && \/opt\/php-tools\/vendor\/bin\/phpstan analyse src\/Domain\/Entity\/ChatSession.php src\/Domain\/ValueObject\/SessionMetadata.php src\/Domain\/ValueObject\/SessionUuid.php --level=5 --no-progress 2>&1 | tail -20",
"description": "PHPStan check on ChatSession"
}
}
{
"tool_response": {
"stdout": "Note: Using configuration file \/var\/www\/dev.campus.systemische-tools.de\/phpstan.neon.\n ------ ----------------------------------------------------------------------- \n Line ValueObject\/SessionMetadata.php \n ------ ----------------------------------------------------------------------- \n 75 PHPDoc tag @param references unknown parameter: $collections \n 🪪 parameter.notFound \n 130 Call to function is_string() with string will always evaluate to \n true. \n 🪪 function.alreadyNarrowedType \n 💡 Because the type is coming from a PHPDoc, you can turn off this \n check by setting treatPhpDocTypesAsCertain: false in your phpstan.neo \n n. \n ------ ----------------------------------------------------------------------- \n\n\n [ERROR] Found 2 errors",
"stderr": "",
"interrupted": false,
"isImage": false
}
}