Skip to content
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

Coverage using phpdbg on PHP 7.0.7 fails #446

Closed
bradynpoulsen opened this issue Jun 10, 2016 · 3 comments
Closed

Coverage using phpdbg on PHP 7.0.7 fails #446

bradynpoulsen opened this issue Jun 10, 2016 · 3 comments

Comments

@bradynpoulsen
Copy link

Original report: sebastianbergmann/phpunit#2212

I just noticed that my code coverage fails when I use phpdbg -qrr vendor/bin/phpunit with my coverage flags. I continue to get the following error:

[PHP Fatal Error: Cannot declare (class/interface/trait) ________, because the name is already in use in ______ on line ___]
PHPUnit 5.4.4 by Sebastian Bergmann and contributors.

Runtime:       PHPDBG 7.0.7
Configuration: /path/to/phpunit.xml

I tested the following environments:

Test Environment PHP 7.0.6 PHP 7.0.7
phpdbg Works Fatal Error
xdebug Works Works
@sebastianbergmann
Copy link
Owner

@bwoebi @krakjoe: Do you guys have an idea what's going on here?

@bwoebi
Copy link
Contributor

bwoebi commented Jun 10, 2016

Yes, it's a bug with went into the 7.0.7 release, which I only had fixed in master until getting a bug report… will be fixed in 7.0.8 … :-( see also https://bugs.php.net/72284

@sebastianbergmann
Copy link
Owner

Thank you, @bwoebi. Closing this issue as I cannot do anything about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants