{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpstan analyse \/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/CodeAnalysis\/ --level=5 --no-progress 2>&1 | head -50",
"description": "PHPStan check CodeAnalysis directory"
}
}
{
"tool_response": {
"stdout": "Note: Using configuration file \/var\/www\/dev.campus.systemische-tools.de\/phpstan.neon.\n ------ ----------------------------------------------------------------- \n Line CodeQualityChecker.php \n ------ ----------------------------------------------------------------- \n 115 Offset 'severity' on array{type: string, rule: string, message: \n string, severity: string, line?: int} on left side of ?? always \n exists and is not nullable. \n 🪪 nullCoalesce.offset \n ------ ----------------------------------------------------------------- \n\n ------ ---------------------------------------------------------------- \n Line PythonFileParser.php \n ------ ---------------------------------------------------------------- \n 71 Strict comparison using !== between mixed and null will always \n evaluate to true. \n 🪪 notIdentical.alwaysTrue \n 💡 Type null has already been eliminated from mixed. \n ------ ---------------------------------------------------------------- \n\n ------ ------------------------------------------------------------------- \n Line UseStatementExtractorTrait.php (in context of class \n Infrastructure\\CodeAnalysis\\PhpFileParser) \n ------ ------------------------------------------------------------------- \n 143 Variable $i on left side of ?? always exists and is not nullable. \n 🪪 nullCoalesce.variable \n ------ ------------------------------------------------------------------- \n\n [ERROR] Found 3 errors",
"stderr": "",
"interrupted": false,
"isImage": false
}
}