- From
phpcs.xml
toecs.php
? - From
.php_cs.dist
toecs.php
?
In single command run!
Based on:
- How to Migrate From PHP CS Fixer to EasyCodingStandard in 6 Steps
- How to Migrate From PHP_CodeSniffer to EasyCodingStandard in 7 Steps
composer require symplify/sniffer-fixer-to-ecs-converter --dev
vendor/bin/sniffer-fixer-to-ecs-converter convert phpcs.xml
That's it :)
In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker
The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.