PHP-CS-Fixer Beautifier
About
PHP-CS-Fixer beautifier for Unibeautify
Package | Docs | Latest |
---|---|---|
@unibeautify/beautifier-php-cs-fixer | v0.4.0 | |
unibeautify | v0.17.0 |
Prerequisites
Please install the following prerequisites:
Install
Install with npm
:
npm install --save-dev unibeautify @unibeautify/beautifier-php-cs-fixer
Or with yarn
:
yarn add --dev unibeautify @unibeautify/beautifier-php-cs-fixer
Usage
Add PHP-CS-Fixer
to beautifiers
language option.
A .unibeautifyrc.json
file would look like the following:
{
"PHP": {
"beautifiers": [
"PHP-CS-Fixer"
]
}
}
Advanced
The following beautifier option(s) are supported:
prefer_beautifier_config
See beautifier options docs for more information.
Options
No configuration options are supported. The following languages are supported without options: PHP.