Sane defaults for PHP-CS-Fixer
composer require --dev friendsofphp/php-cs-fixer
curl https://raw.githubusercontent.com/sane-defaults/phpcs/master/.php_cs > .php_cs
Don't forget to adjust excluded paths by adding $finder->exclude()
in .php_cs
.
In order to run it just run phpcs
or check out our grumphp integration.
Thanks goes to these wonderful people (emoji key):
Martin Meredith ๐ป ๐ค ๐ | Grzegorz Rajchman ๐ป ๐ค ๐ ๐ |
This project follows the all-contributors specification. Contributions of any kind welcome!