/sniffer-fixer-to-ecs-converter

[READ-ONLY] Switch PHP_CodeSniffer or PHP-CS-Fixer to ECS with Single Command

Primary LanguagePHPMIT LicenseMIT

Switch PHP_CodeSniffer or PHP-CS-Fixer to ECS with Single Command

Downloads total

  • From phpcs.xml to ecs.php?
  • From .php_cs.dist to ecs.php?

In single command run!

Based on:

Install

composer require symplify/sniffer-fixer-to-ecs-converter --dev

Usage

vendor/bin/sniffer-fixer-to-ecs-converter convert phpcs.xml

That's it :)


Report Issues

In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker

Contribute

The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.