{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "cd \/var\/www\/dev.campus.systemische-tools.de && \/opt\/php-tools\/vendor\/bin\/php-cs-fixer fix src --diff 2>&1 | tail -50",
"description": "Auto-fix PHP style issues"
}
}
{
"tool_response": {
"stdout": "Unable to determine minimum PHP version supported by your project from composer.json: Failed to read file \"composer.json\".\nIf you need help while solving warnings, ask at https:\/\/github.com\/PHP-CS-Fixer\/PHP-CS-Fixer\/discussions\/, we will help you!\n\nPHP CS Fixer 3.92.3 Exceptional Exception by Fabien Potencier, Dariusz Ruminski and contributors.\nPHP runtime: 8.4.11\nLoaded config default from \"\/var\/www\/dev.campus.systemische-tools.de\/.php-cs-fixer.dist.php\".\nRunning analysis on 19 cores with 10 files per process.\nParallel runner is an experimental feature and may be unstable, use it at your own risk. Feedback highly appreciated!\nPaths from configuration have been overridden by paths provided as command arguments.\n 0\/97 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%\nIn ComposerJsonReader.php line 69:\n \n Failed to read file \"composer.json\". \n \n\nfix [--path-mode PATH-MODE] [--allow-risky ALLOW-RISKY] [--config CONFIG] [--dry-run] [--rules RULES] [--using-cache USING-CACHE] [--allow-unsupported-php-version ALLOW-UNSUPPORTED-PHP-VERSION] [--cache-file CACHE-FILE] [--diff] [--format FORMAT] [--stop-on-violation] [--show-progress SHOW-PROGRESS] [--sequential] [--] [<path>...]",
"stderr": "",
"interrupted": false,
"isImage": false
}
}