{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "composer require --dev phpmetrics\/phpmetrics -d \/opt\/php-tools 2>&1 | tail -20",
"description": "Install PHPMetrics via composer"
}
}
{
"tool_response": {
"stdout": "Composer plugins have been disabled for safety in this non-interactive session.\nSet COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root\/super user.\nDo not run Composer as root\/super user! See https:\/\/getcomposer.org\/root for details\n.\/composer.json has been updated\nRunning composer update phpmetrics\/phpmetrics\nLoading composer repositories with package information\nUpdating dependencies\nLock file operations: 1 install, 0 updates, 0 removals\n - Locking phpmetrics\/phpmetrics (v2.9.1)\nWriting lock file\nInstalling dependencies from lock file (including require-dev)\nPackage operations: 1 install, 0 updates, 0 removals\n - Downloading phpmetrics\/phpmetrics (v2.9.1)\n - Installing phpmetrics\/phpmetrics (v2.9.1): Extracting archive\nGenerating autoload files\n56 packages you are using are looking for funding.\nUse the `composer fund` command to find out more!\nNo security vulnerability advisories found.\nUsing version ^2.9 for phpmetrics\/phpmetrics",
"stderr": "",
"interrupted": false,
"isImage": false
}
}