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

Allow source file path match/equivalences in the coverage object #201

Closed
eduardor2k opened this issue Dec 11, 2018 · 2 comments · Fixed by #222
Closed

Allow source file path match/equivalences in the coverage object #201

eduardor2k opened this issue Dec 11, 2018 · 2 comments · Fixed by #222

Comments

@eduardor2k
Copy link

eduardor2k commented Dec 11, 2018

Hi, I'm running phpunit inside a docker container, it would be nice if we could add a path matcher:

Docker -> Real path
/var/www/ -> /home/myusername/project1/

PhpStorm
imagen

Originally posted by @eduardor2k in #178 (comment)

Info

@eduardor2k eduardor2k changed the title Hi, I'm running phpunit inside a docker container, it would be nice if we could add a path matcher: Set path match/equivalences Dec 11, 2018
@ryanluker ryanluker changed the title Set path match/equivalences Allow source file path match/equivalences in the coverage object Dec 16, 2018
@ryanluker ryanluker added this to the 2.3.1 milestone Dec 16, 2018
@ryanluker
Copy link
Owner

@eduardor2k thanks for submitting an issue. This should be doable and it can simply be a step in the coverage cache flow where it checks the source file for the specified path (/var/www) and swaps it with whatever the developer defined. I have added this issue to the 2.4.0 release!

@ryanluker
Copy link
Owner

@eduardor2k This will go out in the 2.4.0 release which will hopefully happen in ~1-2 weeks

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

Successfully merging a pull request may close this issue.

2 participants