You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be intended / by design; however I can't see any previous reports where this has been confirmed as the intended behaviour
When an UnintentionallyCoveredCodeException exception is thrown in {performUnintentionallyCoveredCodeCheck}, the message is something like this:
- Foo
- Bar
However when the check is done, $tmp is an array in the format (Class, Method) - the returned array ($processed) is generated from $tmp[0] only. Could this be changed to implode("::", $tmp) so the output would be:
This request comes because I use CoversMethod / UsesMethod in PHPUnit - so having the method information would make finding what I have missed a lot easier.
If you are happy for the change to be made, I am happy to provide a PR with tests if required.
The text was updated successfully, but these errors were encountered:
This might be intended / by design; however I can't see any previous reports where this has been confirmed as the intended behaviour
When an
UnintentionallyCoveredCodeException
exception is thrown in {performUnintentionallyCoveredCodeCheck}, the message is something like this:However when the check is done,
$tmp
is an array in the format (Class
,Method
) - the returned array ($processed
) is generated from$tmp[0]
only. Could this be changed toimplode("::", $tmp)
so the output would be:This request comes because I use
CoversMethod
/UsesMethod
inPHPUnit
- so having the method information would make finding what I have missed a lot easier.If you are happy for the change to be made, I am happy to provide a PR with tests if required.
The text was updated successfully, but these errors were encountered: