Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document Laravel as default #11

Open
bingalls opened this issue Feb 2, 2017 · 0 comments
Open

document Laravel as default #11

bingalls opened this issue Feb 2, 2017 · 0 comments

Comments

@bingalls
Copy link

bingalls commented Feb 2, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant