{
"event": "PostToolUse",
"raw_data": {
"session_id": "ff098a73-f251-4037-92a8-8d3fbd176fd4",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/ff098a73-f251-4037-92a8-8d3fbd176fd4.jsonl",
"cwd": "\/var\/www\/dev.campus.systemische-tools.de",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/CodeAnalysis\/CodeQualityChecker.php",
"offset": 110,
"limit": 10
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/CodeAnalysis\/CodeQualityChecker.php",
"content": " \/\/ Penalize for hardcoded values\n $complexityScore = max(0, $complexityScore - ($hardcodedCount * 10));\n\n \/\/ Determine grade\n $totalIssues = count($issues);\n $totalWarnings = count(array_filter($issues, fn ($i) => ($i['severity'] ?? '') === 'warning'));\n $grade = $this->calculateGrade($complexityScore, $totalIssues);\n\n return [\n 'complexity_score' => $complexityScore,",
"numLines": 10,
"startLine": 110,
"totalLines": 241
}
},
"tool_use_id": "toolu_01V6LFYE5HLEroMUYhRt8WpZ"
}
}