Skip to content

Merge pull request #54 from ujamii/dependabot/github_actions/codecov/… #148

Merge pull request #54 from ujamii/dependabot/github_actions/codecov/…

Merge pull request #54 from ujamii/dependabot/github_actions/codecov/… #148

Triggered via push December 6, 2024 07:37
Status Success
Total duration 38s
Artifacts

php.yml

on: push
Static code analysis
14s
Static code analysis
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
Static code analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on PHP 8.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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;
Tests on PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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;