-
Notifications
You must be signed in to change notification settings - Fork 32
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
Getting an error when trying to run #2
Comments
Check if you have a folder ~/.composer/vendor/pragmarx/laravelcs On Linux/Mac:
|
Yep, that directory is there -- here are a few pertinent results:
|
That was tough. Looks like PHP_CodeSniffer doesn't accept standards inside hidden folders like
Now I just have to fix this... :( /cc @mvpasarel |
Looks like they knew & fixed it: http://pear.php.net/package/PHP_CodeSniffer/download/All
This should work on 2.0.0RC2, but I have 2.0.0 (stable) and it's not. |
Not sure if it was fixed here or not: squizlabs/PHP_CodeSniffer#254 |
Hmm... The problem seems to be from the I can change the readme to use the full path only. @xsbeats Can you try with the full path please? |
You're right! I'll change it. Thanks. |
While you're there, I have a typo as well at |
Done and done. You can run it using:
|
I also opened an issue on CodeSniffer: squizlabs/PHP_CodeSniffer#353, they should use |
I also created a pull request to fix it on CodeSniffer: https://github.com/squizlabs/PHP_CodeSniffer/pull/354/files |
thanks @antonioribeiro @mvpasarel. working great now! |
I installed globally via composer
Getting the error below when I try to run with Laravel Standard
Just running
phpcs
works fine.The text was updated successfully, but these errors were encountered: