-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
The warning for no whitelist is displayed when it should not #347
Comments
I can only reproduce this when Xdebug is not loaded. |
indeed. It was not showing it locally with XDebug loaded |
Can you say something more about it ? I am running into a similar issue, where I get a warning I do have xdebug loaded although I am not sure if I maybe I would need to so something more ? |
@rnowosielski - Same here unfortunately. Must be another unrelated bug though... |
Are you saying that you have a whitelist configured but get the warning that you have not? |
Morning Sebastian, However, I just solved it a few minutes ago and it turns out to be a misconfiguration (of course). Unfortunately phpunit is not very talkative (not even in debug mode) when it comes to configuration issues. For me it was an incorrect path definition. My configuration was lacking the trailing slashes in the "directory" directive. |
Thanks! It helped me - somehow I haven't thought of it. I think it was a little bit confusing: warning said there is no configuration. In my case there was configuration it was just not proper... |
Oh Lord, this took me way too long. Thank you! |
+1 saved me pain and suffering |
+1, but mine was just an incorrect path. It turns out it uses the path of the XML config file when you are doing the whitelist. This should be documented or the logging improved :) |
it was an incorrect path in my case (relative to phpunit.dist.xml, not to shell script that runs tests). |
Incorrect path in my case too. Thanks didnt realize that would really cause an havoc |
See https://travis-ci.org/Incenteev/IncenteevTranslationCheckerBundle/jobs/65867671 displaying
Warning: No whitelist configured for code coverage
while the config contains it: https://github.com/Incenteev/IncenteevTranslationCheckerBundle/blob/a5be86105f118f843e5fd4d4cd76520f8da1db45/phpunit.xml.distThe text was updated successfully, but these errors were encountered: