{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "cd \/var\/www\/dev.campus.systemische-tools.de && \/opt\/php-tools\/vendor\/bin\/phpstan analyse src --level=5 --no-progress 2>&1 | tail -40",
"timeout": 120000,
"description": "Check PHPStan errors"
}
}
{
"tool_response": {
"stdout": " πͺͺ constant.notFound \n π‘ Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n ------ ---------------------------------------------------------------------- \n\n ------ ---------------------------------------------------------------------- \n Line Infrastructure\/Persistence\/TaskRepository.php \n ------ ---------------------------------------------------------------------- \n 15 Constant KI_DEV_DB_HOST not found. \n πͺͺ constant.notFound \n π‘ Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 15 Constant KI_DEV_DB_NAME not found. \n πͺͺ constant.notFound \n π‘ Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 16 Constant KI_DEV_DB_USER not found. \n πͺͺ constant.notFound \n π‘ Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 17 Constant KI_DEV_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\/TaskResultRepository.php \n ------ ---------------------------------------------------------------------- \n 14 Constant KI_DEV_DB_HOST not found. \n πͺͺ constant.notFound \n π‘ Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 14 Constant KI_DEV_DB_NAME not found. \n πͺͺ constant.notFound \n π‘ Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 15 Constant KI_DEV_DB_USER not found. \n πͺͺ constant.notFound \n π‘ Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n 16 Constant KI_DEV_DB_PASS not found. \n πͺͺ constant.notFound \n π‘ Learn more at https:\/\/phpstan.org\/user-guide\/discovering-symbols \n ------ ---------------------------------------------------------------------- \n\n [ERROR] Found 33 errors",
"stderr": "",
"interrupted": false,
"isImage": false
}
}