-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
PHPT tests failing because of whitespace #1115
Comments
@sebastianbergmann, I believe there are two things missing from our alternative to
Also, while not one of the problems mentioned in this issue, I think |
@Ocramius, can you see if @sebastianbergmann's changes have solved some of your issues? |
@whatthejeff I'm trying it right now |
@whatthejeff @sebastianbergmann this seems to fix the issue, thanks! |
Thanks for testing @Ocramius! |
Thanks, @Ocramius and @sebastianbergmann! |
…breakages Upgrading PHPUnit to verify that sebastianbergmann/phpunit#1115 fixed #140
I am not quite sure if this is caused by #1101, but I am getting some weird failures in PHPT tests when matching against a pattern:
In this case, it seems like the missing newline at end of the PHPT test is causing a failure - that may well be a breakage and I can fix my tests if that's the case.
As it seems to me here (may be completely wrong), the difference in the output is because of XDebug being enabled or disabled while running the tests.
Before PHPUnit 3.9 (and probably more precisely #1101), XDebug was not enabled by default in the PHPT scope, while now it is (I'm not sure if the previous runner explicitly disabled extensions).
Running the tests with
php -n
does not fix the problem here, since the newly spawned processes still run with XDebug enabled.The failing build that made me notice this is https://travis-ci.org/Ocramius/ProxyManager/jobs/17480668, which uses @3f3ea308393fd2b9aff4356beb62b5ef6c0efb27
I can't analyze the problem locally via git bisect - did something change in how PHPUnit autoloading is setup? I'm constantly getting
Fatal error: Class 'PHPUnit_TextUI_Command' not found in ...
when doinggit bisect
locally, whilemaster
,3.7
and3.8
work just fine...The text was updated successfully, but these errors were encountered: