description | title | layout | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
php-cs-fixer is a linter for PHP |
Trunk | How to run php-cs-fixer |
|
php-cs-fixer is a linter for PHP.
You can enable the php-cs-fixer linter with:
trunk check enable php-cs-fixer
php-cs-fixer will be auto-enabled if a .php-cs-fixer.dist.php
config file is present.
php-cs-fixer supports the following config files:
.php-cs-fixer.dist.php
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linters for more info.
- php-cs-fixer site
- php-cs-fixer Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo