Bump actions/cache from 3.3.1 to 4.0.2 #120
php.yml
on: push
Static code analysis
18s
Matrix: test
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, 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: actions/checkout@v3, 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: actions/checkout@v3, 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;
|