Merge pull request #44 from ujamii/dependabot/github_actions/actions/… #142
php.yml
on: push
Static code analysis
22s
Matrix: test
Annotations
5 warnings
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], 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;
|
Static code analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/[email protected], 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.1
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/[email protected], 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;
|