-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Different behavior for .phpcs config and phpcs fixer #2261
Comments
Hi thanks for your report!
|
phpcs is what I put in
PHP CS Fixer version 1.12.2 by Fabien Potencier and Dariusz Ruminski (baa7112)
PHP 7.0.8-0ubuntu0.16.04.1 (cli) ( NTS ) Thank you. |
This makes sense to me now. $ php-cs-fixer fix config equals: fix all valid PHP files in the directory called phpcs fix --config-file=.php_cs equals: fix all PHP files in the directory called |
@harikt can you confirm my idea about what is going on, I cannot help out without more feedback. |
@SpacePossum sorry for being late. I missed your message some how. I have upgraded to latest version and tested and looks all good. Thank you for taking your time looking to it. |
thanks for reporting back! |
Hi,
The
.phpcs
configuration and phpcs fixer seems to behave differently..phpcs contents
You can test the same on https://github.com/auraphp/Aura.Web_Project .
What went wrong :
namespace Aura\Web_Project_Config; renamed to
namespace Aura\Web_Project\_config;
when ran withphpcs fix --config-file=.php_cs
. ( See small letter and caps behavior )But running
doesnot behave the same.
Thank you.
The text was updated successfully, but these errors were encountered: