Yii2 PHP CS Fixer Config

Hi guys!

a few days ago, when I created a new project in Yii2, I realized that Yii2 has no configuration for Php CS Fixer and no external library provides it (or provided it, but is now dead)

Based on the configuration for the Yii2 ecosystem, I created a library that provides us with configurations, here it is:


What is the advantage of your setup, compared to just using .php_cs (Sorry if I sound rude, I am just curious)?
Then you can use https://mlocati.github.io/php-cs-fixer-configurator/#version:2.15|configurator to create a config.

@mathis Yii2 have own ecosystem code standards rules. Iā€™m use it to ensure consistency, take a look

1 Like