{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpstan analyse \/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ContentController.php \/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Content\/GenerateContentUseCase.php \/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Persistence\/ContentRepository.php --level=5 --no-progress 2>&1 | tail -20",
"description": "PHPStan check"
}
}
{
"tool_response": {
"stdout": " 🪪 class.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 64 Method UseCases\\Content\\GenerateContentUseCase::critique() has \n invalid return type UseCases\\Content\\ContentGenerationResult. \n 🪪 class.notFound \n 68 Call to static method fromPythonResult() on an unknown class \n UseCases\\Content\\ContentGenerationResult. \n 🪪 class.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 74 Method UseCases\\Content\\GenerateContentUseCase::revise() has invalid \n return type UseCases\\Content\\ContentGenerationResult. \n 🪪 class.notFound \n 78 Call to static method fromPythonResult() on an unknown class \n UseCases\\Content\\ContentGenerationResult. \n 🪪 class.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n ------ ----------------------------------------------------------------------- \n\n [ERROR] Found 66 errors",
"stderr": "",
"interrupted": false,
"isImage": false
}
}