{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/var\/www\/mcp-servers\/mcp-db\/venv\/bin\/ruff check \/var\/www\/mcp-servers\/mcp-db\/tests\/ --config \/var\/www\/mcp-servers\/mcp-db\/ruff.toml",
"description": "Ruff linting on test modules"
}
}
{
"tool_response": {
"stdout": "=== PHP Quality & Security Check: Thu Dec 25 04:57:37 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\/Domain\/Entity\/Task.php \n ------ ---------------------------------------------------------------------- \n 18 Property Domain\\Entity\\Task::$type has unknown class \n Domain\\ValueObject\\TaskType as its type. \n 🪪 class.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 33 Access to constant HUMAN_TASK on an unknown class \n Domain\\ValueObject\\TaskType. \n 🪪 class.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 42 Parameter $type of method Domain\\Entity\\Task::create() has invalid \n type Domain\\ValueObject\\TaskType. \n 🪪 class.notFound \n 102 Method Domain\\Entity\\Task::getType() has invalid return type \n Domain\\ValueObject\\TaskType. \n 🪪 class.notFound \n 162 Parameter $type of method Domain\\Entity\\Task::changeType() has \n invalid type Domain\\ValueObject\\TaskType. \n 🪪 class.notFound \n 298 Call to static method from() on an unknown class \n Domain\\ValueObject\\TaskType. \n 🪪 class.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 346 Access to property $value on an unknown class \n Domain\\ValueObject\\TaskType. \n 🪪 class.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n ------ ---------------------------------------------------------------------- \n\n ------ ---------------------------------------------------------------------- \n Line src\/Domain\/Entity\/TaskResult.php \n ------ ---------------------------------------------------------------------- \n 279 Call to static method fromNullable() on an unknown class \n Domain\\Entity\\TokenCount. \n 🪪 class.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n ------ ---------------------------------------------------------------------- \n\n ------ ---------------------------------------------------------------------- \n Line src\/Domain\/Factory\/ChatSessionFactory.php \n ------ ---------------------------------------------------------------------- \n 23 Unknown parameter $uuid in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 24 Unknown parameter $metadata in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 46 Unknown parameter $uuid in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 47 Unknown parameter $metadata in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 48 Unknown parameter $id in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 49 Unknown parameter $sessionToken in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 50 Unknown parameter $userId in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 51 Unknown parameter $personaId in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 52 Unknown parameter $title in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 53 Unknown parameter $authorProfileId in call to \n Domain\\Entity\\ChatSession constructor. \n 🪪 argument.unknown \n 54 Unknown parameter $systemPromptId in call to \n Domain\\Entity\\ChatSession constructor. \n 🪪 argument.unknown \n 55 Unknown parameter $createdAt in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 56 Unknown parameter $updatedAt in call to Domain\\Entity\\ChatSession \n constructor. \n 🪪 argument.unknown \n 57 Unknown parameter $lastActivity in call to Domain\\Entity\\ChatSession \n constructor.",
"stderr": "",
"interrupted": false,
"isImage": false
}
}