StyleCI

PHP Presets

We have 5 presets to choose from to make your code look totally gorgeous. Our recommended preset is enabled by default on all repos. We also have an additional preset, none, which enables no fixers.

Note that if you have disabled the "risky" heuristic fixers, then any and all such fixers will already excluded when selecting a preset. For example, when enabling the laravel preset, with risky: false, the psr4, no_alias_functions, and simplified_null_return fixers will not be enabled by the preset.

PSR1

Our psr1 preset enables the following fixers:

PSR2

Our psr2 preset enables the following fixers:

Symfony

Our symfony preset enables the following fixers:

Laravel

Our laravel preset enables the following fixers:

Recommended

Our recommended preset enables the following fixers: