Skip to content

Commit c0528b7

Browse files
committed
Merge branch 'v1.x' into merge-v1.20-into-v1.x-1729063519842
* v1.x: (101 commits) PHPLIB-1541: Include specs repository as a submodule (#1429) PHPLIB-1548 Inherit `typeMap` option in `Collection::listSearchIndexes()` (#1482) Fix array shape for `Collection::listSearchIndex($options)` (#1480) PHPLIB-1545: Deprecate CreateCollection flags option and related constants (#1477) Fix junit logging (#1475) Deprecate typeMap on operations without meaningful result (#1473) PHPLIB-1369 Upgrade to PHPUnit 10 (#1412) Higher phpunit version required (#1463) Fix deprecations in tests (#1458) Deprecate functionality to be removed (#1441) Expect BulkWriteException (#1455) Merge v1.20 into v1.x (#1447) PHPLIB-1525 Removes dependency to Symfony PHPUnit bridge (#1413) Change deprecated assertObjectHasAttribute to assertObjectHasProperty (#1432) Performance: Keep collections and indexes between GridFS tests (#1421) Add final annotations to non-internal Operation classes (#1410) Fix types accepted by $round (#1401) Replace arrayHasKey with assertArrayHasKey in tests (#1403) PHPLIB-1514 Make data providers static (#1404) PHPLIB-1515 Replace assertObjectHasAttribute with assertObjectHasProperty (#1405) ...
2 parents e1cef70 + 48a78c7 commit c0528b7

File tree

1,685 files changed

+67142
-241045
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,685 files changed

+67142
-241045
lines changed

.evergreen/config.yml

-2
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,10 @@ include:
6666

6767
# Automatically generated files
6868
- filename: .evergreen/config/generated/build/build-extension.yml
69-
- filename: .evergreen/config/generated/build/build-extension-next-minor.yml
7069
- filename: .evergreen/config/generated/test/local.yml
7170
- filename: .evergreen/config/generated/test/load-balanced.yml
7271
- filename: .evergreen/config/generated/test/require-api-version.yml
7372
- filename: .evergreen/config/generated/test/csfle.yml
7473
- filename: .evergreen/config/generated/test-variant/modern-php-full.yml
75-
- filename: .evergreen/config/generated/test-variant/legacy-php-full.yml
7674
- filename: .evergreen/config/generated/test-variant/phpc.yml
7775
- filename: .evergreen/config/generated/test-variant/lowest.yml

.evergreen/config/build-task-groups.yml

+1-13
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,10 @@ task_groups:
1111
# Builds all versions of PHP
1212
- name: "build-all-php"
1313
# Keep this number in sync with the number of PHP versions to allow for parallel builds
14-
max_hosts: 4
14+
max_hosts: 3
1515
setup_task: *build_setup
1616
setup_task_can_fail_task: true
1717
setup_task_timeout_secs: 1800
1818
teardown_task: *build_teardown
1919
tasks:
2020
- ".build"
21-
22-
# Builds all versions of PHP that support OpenSSL 3 (PHP 8.1+)
23-
- name: "build-php-openssl3"
24-
# Keep this number in sync with the number of PHP versions to allow for parallel builds
25-
# Subtract 2 versions as PHP 7.4 and 8.0 are not built with OpenSSL 3
26-
max_hosts: 2
27-
setup_task: *build_setup
28-
setup_task_can_fail_task: true
29-
setup_task_timeout_secs: 1800
30-
teardown_task: *build_teardown
31-
tasks:
32-
- ".build !.php7.4 !.php8.0"

.evergreen/config/build-variants.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildvariants:
88
tags: ["build", "debian", "x64"]
99
run_on: debian12-small
1010
tasks:
11-
- name: "build-php-openssl3"
11+
- name: "build-all-php"
1212
- name: build-debian11
1313
display_name: "Build: Debian 11"
1414
tags: ["build", "debian", "x64", "pr", "tag"]
@@ -22,7 +22,7 @@ buildvariants:
2222
tags: ["build", "rhel", "x64", "pr", "tag"]
2323
run_on: rhel90-small
2424
tasks:
25-
- name: "build-php-openssl3"
25+
- name: "build-all-php"
2626
- name: build-rhel83-zseries
2727
display_name: "Build: RHEL 8.3 Zseries"
2828
tags: ["build", "rhel", "zseries", "tag"]
@@ -54,13 +54,13 @@ buildvariants:
5454
tags: ["build", "ubuntu", "x64", "pr", "tag"]
5555
run_on: ubuntu2204-small
5656
tasks:
57-
- name: "build-php-openssl3"
57+
- name: "build-all-php"
5858
- name: build-ubuntu2204-arm64
5959
display_name: "Build: Ubuntu 22.04 ARM64"
6060
tags: ["build", "ubuntu", "arm64", "tag"]
6161
run_on: ubuntu2204-arm64-small
6262
tasks:
63-
- name: "build-php-openssl3"
63+
- name: "build-all-php"
6464
- name: build-ubuntu2004
6565
display_name: "Build: Ubuntu 20.04 x64"
6666
tags: ["build", "ubuntu", "x64", "pr", "tag"]

.evergreen/config/generate-config.php

+2-9
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
<?php
33

44
// Supported PHP versions. Add new versions to the beginning of the list
5-
$modernPhpVersions = [
5+
$supportedPhpVersions = [
66
'8.4',
77
'8.3',
88
'8.2',
99
'8.1',
1010
];
11-
$legacyPhpVersions = [
12-
'8.0',
13-
'7.4',
14-
];
15-
$supportedPhpVersions = array_merge($modernPhpVersions, $legacyPhpVersions);
1611

1712
// TODO: use max() once PHP 8.4 is stable
1813
//$latestPhpVersion = max($supportedPhpVersions);
@@ -54,7 +49,6 @@
5449

5550
// Build tasks
5651
$allFiles[] = generateConfigs('tasks', 'build', 'phpVersion', 'build-extension.yml', $supportedPhpVersions);
57-
$allFiles[] = generateConfigs('tasks', 'build', 'phpVersion', 'build-extension-next-minor.yml', $modernPhpVersions);
5852

5953
// Test tasks
6054
$allFiles[] = generateConfigs('tasks', 'test', 'mongodbVersion', 'local.yml', $localServerVersions);
@@ -63,8 +57,7 @@
6357
$allFiles[] = generateConfigs('tasks', 'test', 'mongodbVersion', 'csfle.yml', $csfleServerVersions);
6458

6559
// Test variants
66-
$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'modern-php-full.yml', $modernPhpVersions);
67-
$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'legacy-php-full.yml', $legacyPhpVersions);
60+
$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'modern-php-full.yml', $supportedPhpVersions);
6861
$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'phpc.yml', [$latestPhpVersion]);
6962
$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'lowest.yml', [$lowestPhpVersion]);
7063

.evergreen/config/generated/build/build-extension-next-minor.yml

-42
This file was deleted.

.evergreen/config/generated/build/build-extension.yml

+34-50
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/generated/test-variant/legacy-php-full.yml

-86
This file was deleted.

.evergreen/config/generated/test-variant/lowest.yml

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/templates/build/build-extension-next-minor.yml

-10
This file was deleted.

0 commit comments

Comments
 (0)