{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Service\/CodeScannerInterface.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\Service;\n\n\/\/ @responsibility: Contract für Code-Scanner\n\ninterface CodeScannerInterface\n{\n \/**\n * @param array<string>|null $directories\n * @return array{scan_id: string, files_scanned: int, files_with_errors: int, total_classes: int, total_functions: int, duration_ms: int}\n *\/\n public function scan(?array $directories = null, string $triggeredBy = 'web'): array;\n}\n"
}
}
{
"tool_response": {
"type": "create",
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Service\/CodeScannerInterface.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\Service;\n\n\/\/ @responsibility: Contract für Code-Scanner\n\ninterface CodeScannerInterface\n{\n \/**\n * @param array<string>|null $directories\n * @return array{scan_id: string, files_scanned: int, files_with_errors: int, total_classes: int, total_functions: int, duration_ms: int}\n *\/\n public function scan(?array $directories = null, string $triggeredBy = 'web'): array;\n}\n",
"structuredPatch": [],
"originalFile": null
}
}