|
@@ -119,10 +119,6 @@ final class CiConfigurationTest extends TestCase
|
|
|
*/
|
|
|
private static function assertUpcomingPhpVersionIsCoveredByCiJob(string $lastSupportedVersion, array $ciVersions): void
|
|
|
{
|
|
|
- if ('8.2' === $lastSupportedVersion) {
|
|
|
- return; // no further releases available yet
|
|
|
- }
|
|
|
-
|
|
|
self::ensureTraversableContainsIdenticalIsAvailable();
|
|
|
|
|
|
self::assertThat($ciVersions, self::logicalOr(
|
|
@@ -133,7 +129,7 @@ final class CiConfigurationTest extends TestCase
|
|
|
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)))
|
|
|
));
|
|
|
}
|
|
|
|