Add code coverage ignore instructions.

This commit is contained in:
James Cole
2017-03-04 11:19:44 +01:00
parent 45f4395f26
commit 9d22bbee1c
25 changed files with 64 additions and 63 deletions

View File

@@ -396,7 +396,7 @@ class BillRepository implements BillRepositoryInterface
$cache->addProperty('nextDateMatch');
$cache->addProperty($date);
if ($cache->has()) {
return $cache->get();
return $cache->get(); // @codeCoverageIgnore
}
// find the most recent date for this bill NOT in the future. Cache this date:
$start = clone $bill->date;
@@ -433,7 +433,7 @@ class BillRepository implements BillRepositoryInterface
$cache->addProperty('nextExpectedMatch');
$cache->addProperty($date);
if ($cache->has()) {
return $cache->get();
return $cache->get(); // @codeCoverageIgnore
}
// find the most recent date for this bill NOT in the future. Cache this date:
$start = clone $bill->date;