{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/php-cs-fixer fix \/var\/www\/dev.campus.systemische-tools.de\/src --rules=@PSR12 2>&1 | tail -20",
"description": "Auto-fix PHP with PSR12"
}
}
{
"tool_response": {
"stdout": " [1] no\n > \n ! [NOTE] We recommend usage of `@auto` rulesets. They take insights from your \n ! existing `composer.json` to configure project the best: \n\n * `@autoPHPMigration` - Migration rules to improve code towards the minimum ``PHP`` supported by your project (taken from ``composer.json`` file).\n * `@PER-CS` - Rules that follow `PER Coding Style (https:\/\/www.php-fig.org\/per\/coding-style\/)`_, Set is an alias for the latest revision of ``PER-CS`` rules - use it if you always want to be in sync with newest ``PER-CS`` standard.\n\n Do you want to use `@auto` ruleset? [yes]:\n [0] yes\n [1] no\n > \n Do you want to use any of other recommended ruleset? (multi-choice) [none]:\n [@PhpCsFixer] Rules recommended by ``PHP CS Fixer`` team, highly opinionated. Extends ``@PER-CS`` and ``@Symfony``.\n [@Symfony ] Rules that follow the official `Symfony Coding Standards <https:\/\/symfony.com\/doc\/current\/contributing\/code\/standards.html>`_. Extends ``@PER-CS``.\n [none ] none\n > \n [OK] Configuration file created successfully as `.php-cs-fixer.dist.php`. \n\nConfig file created, re-run the command to put it in action.",
"stderr": "",
"interrupted": false,
"isImage": false
}
}