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

Fix code coverage error on @runTestsInSeparateProcesses #4006

Closed
wants to merge 3 commits into from

Conversation

drewblin
Copy link

@drewblin drewblin commented Jan 7, 2020

To fix bug
#3492

Current error text:

PHP Fatal error:  Uncaught Error: Class 'SebastianBergmann\CodeCoverage\CodeCoverage' not found in Standard input code:302
Stack trace:
#0 Standard input code(2250): __phpunit_run_isolated_test()
#1 {main}
  thrown in Standard input code on line 302

@sebastianbergmann
Copy link
Owner

Thank you for your contribution. I appreciate the time you invested in preparing this pull request. However, I have decided not to merge it because it makes no sense to me.

The name of the class in question is SebastianBergmann\CodeCoverage\CodeCoverage, not PHPUnit\SebastianBergmann\CodeCoverage\CodeCoverage, unless phpunit.phar is used. And #3953, which affected this, was fixed in 887e5c3.

If you are still experiencing a problem regarding phpunit.phar, process isolation, and code coverage then please open a new ticket.

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

Successfully merging this pull request may close these issues.

None yet

2 participants