{"repo":"ergebnis/php-cs-fixer-config-template","free":true,"listed":false,"github":"https://github.com/ergebnis/php-cs-fixer-config-template","clone":"git clone https://github.com/ergebnis/php-cs-fixer-config-template.git","description":":octocat: + :notebook: Provides a GitHub repository template for a configuration factory and rule set factories for friendsofphp/php-cs-fixer.","language":"PHP","stars":12,"topics":["php-cs-fixer","configuration","template"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"php-cs-fixer-config-template This project provides a GitHub repository template for a composer package with a configuration factory and rule set factories for friendsofphp/php-cs-fixer . Installation Run Usage Configuration Pick one of the rule sets: - Ergebnis\\PhpCsFixer\\RuleSet\\Custom Create a configuration file .php-cs-fixer.php in the root of your project: Git All configuration examples use the caching feature, and if you want to use it as well, you should add the cache directory to .gitignore : Configuring a rule set with header :bulb: Optionally specify a header: This will enable and configure the HeaderCommentFixer , so that file headers will be added to PHP files, for example: Configuring a rule set that overrides rules :bulb: Optionally override rules from a rule set by passing a set of rules to be merged in: Configuring a rule set that registers and configures rules for custom fixers :bulb: Optionally register and configure rules for custom fixers: Makefile If you like Makefile s, create a Makefile with a coding-standards target: Run to automatically fix coding standard violations. Composer script If you like composer scripts, add a coding-standards script to composer.json : Run to automatically fix coding standard violations. GitHub Actions If you like GitHub Actions, add a coding-standards job to your workflow: Changelog The maintainers of this project record notable changes to this project in a changelog. Contributing The maintainers of this project suggest follo","default_branch":null,"files":null,"tree":[],"storefront":"/r/ergebnis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ergebnis/php-cs-fixer-config-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}