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
Is your feature request related to a problem? Please describe.
With #649, we will see a lot more mutations of arrays. And multi-line arrays aren't properly handled
by code coverage, as seen in #214.
Describe the solution you'd like
This is gonna be a bit difficult, as PHPDBG and Xdebug both take a different approach on array coverage. But the best solution (i think) would be to check if either the first item, or the opening bracket is considered covered, and then use that for the rest of the array as well.
Describe alternatives you've considered
As it stands, #649 will cause a lot of un-killable mutations, which is something we'd like to avoid.
The text was updated successfully, but these errors were encountered:
BackEndTea
changed the title
Multi line array
Multi line arrays are not properly handled by code coverage
Mar 6, 2019
Is your feature request related to a problem? Please describe.
With #649, we will see a lot more mutations of arrays. And multi-line arrays aren't properly handled
by code coverage, as seen in #214.
Describe the solution you'd like
This is gonna be a bit difficult, as PHPDBG and Xdebug both take a different approach on array coverage. But the best solution (i think) would be to check if either the first item, or the opening bracket is considered covered, and then use that for the rest of the array as well.
Describe alternatives you've considered
As it stands, #649 will cause a lot of un-killable mutations, which is something we'd like to avoid.
The text was updated successfully, but these errors were encountered: