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

Code Coverage for test executed in isolation does not work when the PHAR is used #3953

Closed
sebastianbergmann opened this issue Nov 22, 2019 · 1 comment
Labels
type/bug Something is broken

Comments

@sebastianbergmann
Copy link
Owner

The code templates that are used for process isolation

use SebastianBergmann\CodeCoverage\CodeCoverage, for instance. Since phpunit.phar is scoped, SebastianBergmann\CodeCoverage\CodeCoverage does, of course, not exist (it exists in a random namespace).

The scoping process needs to take these template files into account.

@sebastianbergmann sebastianbergmann added the type/bug Something is broken label Nov 22, 2019
@sebastianbergmann
Copy link
Owner Author

CC @sebastianfeldmann @theofidry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant