Skip to content

Merge pull request #49 from ujamii/dependabot/github_actions/actions/… #143

Merge pull request #49 from ujamii/dependabot/github_actions/actions/…

Merge pull request #49 from ujamii/dependabot/github_actions/actions/… #143

Triggered via push November 21, 2024 07:56
Status Success
Total duration 34s
Artifacts

php.yml

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

Annotations

5 warnings
Static code analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests on PHP 8.0
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/[email protected], codecov/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/[email protected], codecov/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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;