Recently (27/07/2021) I have updated my PHP-CS-Fixer to 3.x. I found out there are a lot of things updated from 2.x to 3.x. This gist is about the new configuration file I made, following the migration guide.
Basically, I ran this command PHP_CS_FIXER_FUTURE_MODE=1 php-cs-fixer fix
, and fixed the issues given on console.
I used to use a custom .php_cs
configuration from zaratedev/.php_cs. I had to rename the file from .php_cs
to .php-cs-fixer.php
as a cricial change mentioned on migration guide.
Useful links: