{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpstan analyse -c phpstan.neon --no-progress 2>&1 | tail -20",
"timeout": 120000,
"description": "PHPStan with database bootstrap"
}
}
{
"tool_response": {
"stdout": " 13 Constant DB_NAME not found. \n 🪪 constant.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 14 Constant DB_USER not found. \n 🪪 constant.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 15 Constant DB_PASS not found. \n 🪪 constant.notFound \n 💡 Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n ------ ---------------------------------------------------------------------- \n\n ------ ----------------------------------------------------------- \n Line Infrastructure\/Persistence\/ContractRepository.php \n ------ ----------------------------------------------------------- \n 203 Comparison operation \">\" between 0 and 0 is always false. \n 🪪 greater.alwaysFalse \n ------ ----------------------------------------------------------- \n\n [ERROR] Found 9 errors",
"stderr": "",
"interrupted": false,
"isImage": false
}
}