mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +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:
parent
37ffb71c4d
commit
0ed5569e9f
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue