Skip to content

Commit

Permalink
fix logic for next major, eg next major for 1.6 is 2.0 and not 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Nov 24, 2024
1 parent 24d2444 commit 87b2456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/AutoReview/CiConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private static function assertUpcomingPhpVersionIsCoveredByCiJob(string $lastSup
new TraversableContainsIdentical(\sprintf('%.1fsnapshot', $lastSupportedVersion + 0.1)),
// GitHub CI uses just versions, without suffix, e.g. 8.1 for 8.1snapshot as of writing
new TraversableContainsIdentical(\sprintf('%.1f', $lastSupportedVersion + 0.1)),
new TraversableContainsIdentical(\sprintf('%.1f', round($lastSupportedVersion + 1.0)))
new TraversableContainsIdentical(\sprintf('%.1f', floor($lastSupportedVersion + 1.0)))
));
}

Expand Down

0 comments on commit 87b2456

Please sign in to comment.