1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Likely, fix a warning when rendering modified coverage

Summary: See PHI1819. This structure may have `null` elements.

Test Plan: Will confirm user reproduction case.

Differential Revision: https://secure.phabricator.com/D21420
This commit is contained in:
epriestley 2020-07-17 19:42:45 -07:00
parent 37ffb71c4d
commit 0ed5569e9f

View file

@ -1327,6 +1327,10 @@ final class DifferentialChangesetParser extends Phobject {
$not_covered = 0;
foreach ($this->new as $k => $new) {
if ($new === null) {
continue;
}
if (!$new['line']) {
continue;
}