{
"event": "PreToolUse",
"tool_name": "mcp__mcp-tasks__quality_check",
"tool_input": {
"path": "\/var\/www\/dev.campus.systemische-tools.de",
"checks": "all"
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"success\": true,\n \"passed\": false,\n \"path\": \"\/var\/www\/dev.campus.systemische-tools.de\",\n \"results\": {\n \"phpstan\": {\n \"check_name\": \"phpstan\",\n \"passed\": false,\n \"issues\": 0,\n \"fixed\": 0,\n \"details\": \"{\\\"totals\\\":{\\\"errors\\\":0,\\\"file_errors\\\":510},\\\"files\\\":{\\\"\/var\/www\/dev.campus.systemische-tools.de\/config\/autoload.php\\\":{\\\"errors\\\":1,\\\"messages\\\":[{\\\"message\\\":\\\"Parameter #1 $callback of function spl_autoload_register expects (callable(string): void)|null, Closure(mixed): bool given.\\\",\\\"line\\\":7,\\\"ignorable\\\":true,\\\"identifier\\\":\\\"argument.type\\\"}]},\\\"\/var\/www\/dev.campus.systemische-tools.de\/public\/index.php\\\":{\\\"errors\\\":1,\\\"messages\\\":[{\\\"message\\\":\\\"If condition is always true.\\\",\\\"line\\\":23,\\\"ignorable\\\":true,\\\"identifier\\\":\\\"i\"\n },\n \"cs-fixer\": {\n \"check_name\": \"cs-fixer\",\n \"passed\": false,\n \"issues\": 0,\n \"fixed\": 0,\n \"details\": null\n },\n \"semgrep\": {\n \"check_name\": \"semgrep\",\n \"passed\": false,\n \"issues\": 1,\n \"fixed\": 0,\n \"details\": null\n }\n }\n}"
}
]
}