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!