Skip to content

Bump codecov/codecov-action from 5.0.4 to 5.0.7 #147

Bump codecov/codecov-action from 5.0.4 to 5.0.7

Bump codecov/codecov-action from 5.0.4 to 5.0.7 #147

Triggered via pull request November 21, 2024 13:07
Status Success
Total duration 45s
Artifacts

php.yml

on: pull_request
Static code analysis
22s
Static code analysis
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
Tests on PHP 8.1: 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;
Tests on PHP 8.0: 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;