Skip to content

Commit 7c1758c

Browse files
committed
Merge branch 'v2.x' into merge-v1.x-into-v2.x-1727269627886
* v2.x: PHPLIB-954: Add return types to all methods (#1391) PHPLIB-797: Remove unused methods in UnsupportedException (#1436) Revert "Add final annotations to non-internal Operation classes (#1410)" PHPLIB-953 Make internal classes and Operation classes final (#1392) PHPLIB-1218 Remove deprecated fields from GridFS files (#1398)
2 parents 8a54470 + 251bd4b commit 7c1758c

File tree

118 files changed

+773
-1383
lines changed

Some content is hidden

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

118 files changed

+773
-1383
lines changed

.evergreen/config.yml

-2
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,3 @@ include:
7171
- filename: .evergreen/config/generated/test/require-api-version.yml
7272
- filename: .evergreen/config/generated/test/csfle.yml
7373
- filename: .evergreen/config/generated/test-variant/modern-php-full.yml
74-
- filename: .evergreen/config/generated/test-variant/phpc.yml
75-
- filename: .evergreen/config/generated/test-variant/lowest.yml

.evergreen/config/generate-config.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@
5555

5656
// Test variants
5757
$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'modern-php-full.yml', $supportedPhpVersions);
58-
$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'phpc.yml', [$latestPhpVersion]);
59-
$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'lowest.yml', [$lowestPhpVersion]);
58+
// TODO: Re-enable when 2.0.0 is released
59+
// $allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'phpc.yml', [$latestPhpVersion]);
60+
// $allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'lowest.yml', [$lowestPhpVersion]);
6061

6162
echo "Generated config. Use the following list to import files:\n";
6263
echo implode("\n", array_map('getImportConfig', $allFiles)) . "\n";

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

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

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

-16
This file was deleted.

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

-42
This file was deleted.

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

+33-29
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,38 @@
55
vars:
66
PHP_VERSION: "%phpVersion%"
77
- func: "compile extension"
8-
- func: "upload extension"
9-
- name: "build-php-%phpVersion%-lowest"
10-
tags: ["build", "php%phpVersion%", "lowest", "pr", "tag"]
11-
commands:
12-
- func: "locate PHP binaries"
13-
vars:
14-
PHP_VERSION: "%phpVersion%"
15-
- func: "compile extension"
16-
vars:
17-
EXTENSION_VERSION: "1.20.0"
18-
- func: "upload extension"
19-
- name: "build-php-%phpVersion%-next-stable"
20-
tags: ["build", "php%phpVersion%", "next-stable", "pr", "tag"]
21-
commands:
22-
- func: "locate PHP binaries"
23-
vars:
24-
PHP_VERSION: "%phpVersion%"
25-
- func: "compile extension"
26-
vars:
27-
EXTENSION_BRANCH: "v1.20"
28-
- func: "upload extension"
29-
- name: "build-php-%phpVersion%-next-minor"
30-
tags: ["build", "php%phpVersion%", "next-minor"]
31-
commands:
32-
- func: "locate PHP binaries"
33-
vars:
34-
PHP_VERSION: "%phpVersion%"
35-
- func: "compile extension"
8+
# TODO: remove once 2.0.0 is released
369
vars:
37-
EXTENSION_BRANCH: "v1.x"
10+
EXTENSION_BRANCH: "v2.x"
3811
- func: "upload extension"
12+
# TODO: re-enable once 2.0.0 is released
13+
# - name: "build-php-%phpVersion%-lowest"
14+
# tags: ["build", "php%phpVersion%", "lowest", "pr", "tag"]
15+
# commands:
16+
# - func: "locate PHP binaries"
17+
# vars:
18+
# PHP_VERSION: "%phpVersion%"
19+
# - func: "compile extension"
20+
# vars:
21+
# EXTENSION_VERSION: "2.0.0"
22+
# - func: "upload extension"
23+
# - name: "build-php-%phpVersion%-next-stable"
24+
# tags: ["build", "php%phpVersion%", "next-stable", "pr", "tag"]
25+
# commands:
26+
# - func: "locate PHP binaries"
27+
# vars:
28+
# PHP_VERSION: "%phpVersion%"
29+
# - func: "compile extension"
30+
# vars:
31+
# EXTENSION_BRANCH: "v2.0"
32+
# - func: "upload extension"
33+
# - name: "build-php-%phpVersion%-next-minor"
34+
# tags: ["build", "php%phpVersion%", "next-minor"]
35+
# commands:
36+
# - func: "locate PHP binaries"
37+
# vars:
38+
# PHP_VERSION: "%phpVersion%"
39+
# - func: "compile extension"
40+
# vars:
41+
# EXTENSION_BRANCH: "v2.x"
42+
# - func: "upload extension"

.github/workflows/coding-standards.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ on:
1313

1414
env:
1515
PHP_VERSION: "8.2"
16-
DRIVER_VERSION: "stable"
16+
# TODO: change to "stable" once 2.0.0 is released
17+
# DRIVER_VERSION: "stable"
18+
DRIVER_VERSION: "mongodb/[email protected]"
1719

1820
jobs:
1921
phpcs:

.github/workflows/generator.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ on:
1313

1414
env:
1515
PHP_VERSION: "8.2"
16-
# TODO: change to "stable" once 1.20.0 is released
16+
# TODO: change to "stable" once 2.0.0 is released
1717
# DRIVER_VERSION: "stable"
18-
DRIVER_VERSION: "mongodb/mongo-php-driver@v1.20"
18+
DRIVER_VERSION: "mongodb/mongo-php-driver@v2.x"
1919

2020
jobs:
2121
psalm:

.github/workflows/static-analysis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ on:
1919

2020
env:
2121
PHP_VERSION: "8.2"
22-
DRIVER_VERSION: "stable"
22+
# TODO: change to "stable" once 2.0.0 is released
23+
# DRIVER_VERSION: "stable"
24+
DRIVER_VERSION: "mongodb/[email protected]"
2325

2426
jobs:
2527
psalm:

0 commit comments

Comments
 (0)