-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Running the unit tests with a phpunit config file breaks the test suite #1447
Comments
The code to handle unknown CLI args didn't work in 3.0 due to some extra checks. I've added a specific setting Thanks for reporting this. |
Thanks for the quick fix! |
@gsherwood : Any idea when 3.0.1 would be released ? Just to know if we can include the upgrade PHPCS to 3.x in the PHPCompatibility 7.1.5 release or we need to wait for 7.1.6. |
@wimg I'm aiming for next week. Just finished up the last few things yesterday. |
Running the unit tests with a custom phpunit config file like:
phpunit -c customphpunit.xml
breaks the unit test suite quite badly (sniffs can no longer be tested) with the following backtrace:
Some light debugging shows that the
Config::processShortArgument()
method chokes on the-c
.This used to work fine with PHPCS 2.x
The text was updated successfully, but these errors were encountered: