antonioribeiro / laravelcs

Laravel PHP_CodeSniffer
BSD 3-Clause "New" or "Revised" License
234 stars 32 forks source link

document Laravel as default #11

Open bingalls opened 7 years ago

bingalls commented 7 years ago

Nice! Please add the following to README.md to make Laravel the default standard. Link (or copy) Laravel into the global CodeSniffer directory. Mac OSX Homebrew example: ln -s LaravelCodeSniffer/Standards/Laravel/ /usr/local/etc/php-code-sniffer/Standards/ Set Laravel as default: phpcs --config-set default_standard Laravel Details at https://github.com/squizlabs/PHP_CodeSniffer/wiki/Configuration-Options AFAIK, this also applies, and simplifies https://github.com/FriendsOfPHP/PHP-CS-Fixer