Skip to content

Bump shivammathur/setup-php from 2.25.5 to 2.31.1 #119

Bump shivammathur/setup-php from 2.25.5 to 2.31.1

Bump shivammathur/setup-php from 2.25.5 to 2.31.1 #119

Triggered via pull request August 30, 2024 13:41
Status Success
Total duration 39s
Artifacts

php.yml

on: pull_request
Static code analysis
20s
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: actions/checkout@v3, actions/[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: actions/checkout@v3, actions/[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: actions/checkout@v3, actions/[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;