Merge pull request #54 from ujamii/dependabot/github_actions/codecov/… #148
Annotations
2 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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