laravelcs icon indicating copy to clipboard operation
laravelcs copied to clipboard

document Laravel as default

Open bingalls opened this issue 8 years ago • 0 comments

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

bingalls avatar Feb 02 '17 21:02 bingalls