Bump codecov/codecov-action from 5.0.4 to 5.0.7 #146
Annotations
1 warning
Run PHPInfection:
src/OsmStringToOpeningHoursConverter.php#L203
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
$startDay = (int) $dayStart;
$endDay = empty($dayEnd) ? $dayStart : (int) $dayEnd;
for ($i = $startDay; $i <= $endDay; $i++) {
- $hoursValue = $openingHours ? [$openingHours] : [];
+ $hoursValue = $openingHours ? [] : [];
$daysArray[self::MONTHS[$monthName] . '-' . sprintf('%02d', $i)] = $hoursValue;
}
return $daysArray;
|
Loading