{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpstan analyse --configuration=\/opt\/php-tools\/phpstan.neon --memory-limit=512M --no-progress src 2>&1 | head -50",
"description": "Check PHPStan errors"
}
}
{
"tool_response": {
"stdout": " ------ ---------------------------------------------------------------------- \n Line Controller\/ConfigController.php \n ------ ---------------------------------------------------------------------- \n 28 Class UseCases\\Config\\ManageConfigUseCase constructor invoked with 0 \n parameters, 1 required. \n 🪪 arguments.count \n ------ ---------------------------------------------------------------------- \n\n ------ ---------------------------------------------------------------------- \n Line Controller\/PromptsController.php \n ------ ---------------------------------------------------------------------- \n 28 Class UseCases\\Prompts\\ManagePromptsUseCase constructor invoked with \n 0 parameters, 1 required. \n 🪪 arguments.count \n ------ ---------------------------------------------------------------------- \n\n ------ ------------------------------------------------- \n Line Infrastructure\/AI\/ModelConfig.php \n ------ ------------------------------------------------- \n 18 Call to an undefined static method \n Infrastructure\\AI\\ModelRegistry::getInstance(). \n 🪪 staticMethod.notFound \n 28 Call to an undefined static method \n Infrastructure\\AI\\ModelRegistry::getInstance(). \n 🪪 staticMethod.notFound \n 36 Call to an undefined static method \n Infrastructure\\AI\\ModelRegistry::getInstance(). \n 🪪 staticMethod.notFound \n 44 Call to an undefined static method \n Infrastructure\\AI\\ModelRegistry::getInstance(). \n 🪪 staticMethod.notFound \n 77 Call to an undefined static method \n Infrastructure\\AI\\ModelRegistry::getInstance(). \n 🪪 staticMethod.notFound \n 85 Call to an undefined static method \n Infrastructure\\AI\\ModelRegistry::getInstance(). \n 🪪 staticMethod.notFound \n 103 Call to an undefined static method \n Infrastructure\\AI\\ModelRegistry::getInstance(). \n 🪪 staticMethod.notFound \n ------ ------------------------------------------------- \n\n ------ ----------------------------------------------------------------------- \n Line Infrastructure\/Docs\/Doc2VectorPipeline.php \n ------ ----------------------------------------------------------------------- \n 18 Class Infrastructure\\Docs\\ChunkingService constructor invoked with 0 \n parameters, 2 required. \n 🪪 arguments.count \n 19 Class Infrastructure\\Docs\\ChunkAnalysisService constructor invoked \n with 0 parameters, 2 required.",
"stderr": "",
"interrupted": false,
"isImage": false
}
}