{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "cp \/var\/www\/dev.campus.systemische-tools.de\/src\/services.php \/tmp\/services_backup.php",
"description": "Backup services.php",
"dangerouslyDisableSandbox": true
}
}
{
"tool_response": {
"stdout": "=== PHP Quality & Security Check: Thu Dec 25 05:00:23 PM CET 2025 ===\nProject: \/var\/www\/dev.campus.systemische-tools.de\n\n\u001b[1;33m[1\/5] PHPStan - Static Analysis + Strict Rules\u001b[0m\n ------ ------------------------------------------------------------------- \n Line src\/Controller\/Api\/TaskController.php \n ------ ------------------------------------------------------------------- \n 142 Call to an undefined method Domain\\Entity\\Task::setTitle(). \n 🪪 method.notFound \n 145 Call to an undefined method Domain\\Entity\\Task::setDescription(). \n 🪪 method.notFound \n 148 Call to an undefined method Domain\\Entity\\Task::setType(). \n 🪪 method.notFound \n 151 Call to an undefined method Domain\\Entity\\Task::setDueDate(). \n 🪪 method.notFound \n ------ ------------------------------------------------------------------- \n\n ------ ------------------------------------------------------------------- \n Line src\/Controller\/ChatController.php \n ------ ------------------------------------------------------------------- \n 49 Call to an undefined method Domain\\Entity\\ChatSession::toArray(). \n 🪪 method.notFound \n 180 Call to an undefined method Domain\\Entity\\ChatSession::toArray(). \n 🪪 method.notFound \n 181 Call to an undefined method \n Domain\\Entity\\ChatSession::getSystemPrompt(). \n 🪪 method.notFound \n ------ ------------------------------------------------------------------- \n\n ------ ----------------------------------------------------------------------- \n Line src\/Domain\/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 \/opt\/php-to \n ols\/phpstan.neon. \n ------ ----------------------------------------------------------------------- \n\n ------ ----------------------------------------------------------------------- \n Line src\/Infrastructure\/Docs\/ChunkAnalysisService.php \n ------ ----------------------------------------------------------------------- \n 73 Method Infrastructure\\Docs\\ChunkAnalysisService::analyzeAllPending() \n should return array{analyzed: int, failed: int, errors: array<string> \n } but returns array{processed: int, failed: int, errors: array<string \n >}. \n 🪪 return.type \n 💡 Array does not have offset 'analyzed'. \n ------ ----------------------------------------------------------------------- \n\n ------ ------------------------------------------------------------------ \n Line src\/ServiceProvider\/ContentServiceProvider.php \n ------ ------------------------------------------------------------------ \n 53 Class Infrastructure\\Persistence\\ContentRepository constructor \n invoked with 1 parameter, 4 required. \n 🪪 arguments.count \n 90 Class Application\\PipelineStepService constructor invoked with 2 \n parameters, 3 required. \n 🪪 arguments.count \n ------ ------------------------------------------------------------------ \n\n ------ ------------------------------------------------------------------- \n Line src\/UseCases\/Chat\/ChatSessionDTO.php \n ------ ------------------------------------------------------------------- \n 118 Call to an undefined method Domain\\Entity\\ChatSession::toArray(). \n 🪪 method.notFound \n ------ ------------------------------------------------------------------- \n\n ------ ---------------------------------------------------------------------- \n Line src\/UseCases\/Chat\/ExportChatSessionUseCase.php \n ------ ---------------------------------------------------------------------- \n 43 Call to an undefined method Domain\\Entity\\ChatMessage::getRole(). \n 🪪 method.notFound \n 46 Call to an undefined method Domain\\Entity\\ChatMessage::getContent(). \n 🪪 method.notFound \n 49 Call to an undefined method Domain\\Entity\\ChatMessage::getContent(). \n 🪪 method.notFound \n 51 Call to an undefined method Domain\\Entity\\ChatMessage::getSources(). \n 🪪 method.notFound \n 92 Call to an undefined method Domain\\Entity\\ChatMessage::getRole(). \n 🪪 method.notFound \n 93 Call to an undefined method Domain\\Entity\\ChatMessage::getContent(). \n 🪪 method.notFound \n 94 Call to an undefined method \n Domain\\Entity\\ChatMessage::getCreatedAt(). \n 🪪 method.notFound \n 97 Call to an undefined method Domain\\Entity\\ChatMessage::getRole(). \n 🪪 method.notFound \n 98 Call to an undefined method Domain\\Entity\\ChatMessage::getSources(). \n 🪪 method.notFound \n 105 Call to an undefined method \n Domain\\Entity\\ChatMessage::getTokensInput(). \n 🪪 method.notFound \n 106 Call to an undefined method \n Domain\\Entity\\ChatMessage::getTokensOutput(). \n 🪪 method.notFound \n 108 Call to an undefined method Domain\\Entity\\ChatMessage::getModel().",
"stderr": "",
"interrupted": false,
"isImage": false
}
}