Skip to content

Commit 10632e3

Browse files
committed
Make versions in config generator more readable
1 parent 802b0be commit 10632e3

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.evergreen/config/generate-config.php

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,28 @@
22
<?php
33

44
// Supported PHP versions. Add new versions to the beginning of the list
5-
$supportedPhpVersions = ['8.2', '8.1', '8.0', '7.4'];
5+
$supportedPhpVersions = [
6+
'8.2',
7+
'8.1',
8+
'8.0',
9+
'7.4',
10+
];
611

712
// Supported MongoDB versions. Add new versions after "rapid"
813
$supportedMongoDBVersions = [
9-
'latest', 'rapid',
10-
'7.0', '6.0', '5.0',
11-
'4.4', '4.2', '4.0',
14+
'latest',
15+
'rapid',
16+
'7.0',
17+
'6.0',
18+
'5.0',
19+
'4.4',
20+
'4.2',
21+
'4.0',
1222
'3.6',
1323
];
1424

1525
// Only test the latest PHP version for libmongoc
16-
$libmongocBuildPhpVersions = array_slice($supportedPhpVersions, 0, 1);
26+
$libmongocBuildPhpVersions = [ max($supportedPhpVersions) ];
1727

1828
// Server versions
1929
$localServerVersions = $supportedMongoDBVersions;

0 commit comments

Comments
 (0)