Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mongodb/mongo-php-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.20.0
Choose a base ref
...
head repository: mongodb/mongo-php-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.20
Choose a head ref
  • 3 commits
  • 15 files changed
  • 1 contributor

Commits on Sep 26, 2024

  1. Copy the full SHA
    0f9049d View commit details

Commits on Sep 27, 2024

  1. Copy the full SHA
    96ab516 View commit details

Commits on Oct 16, 2024

  1. PHPLIB-1502: Test with PHP 8.4 (#1484)

    * PHPLIB-1502: Test with PHP 8.4
    
    * Remove psalm from dependencies on PHP 8.4
    
    * Suppress deprecations in tests expecting no output
    
    * Skip test failing due to PHPUnit deprecations
    
    * Skip failing test on PHP 8.4
    alcaeus authored Oct 16, 2024
    Copy the full SHA
    e1cef70 View commit details
12 changes: 0 additions & 12 deletions .evergreen/config/build-variants.yml
Original file line number Diff line number Diff line change
@@ -15,18 +15,6 @@ buildvariants:
run_on: debian11-small
tasks:
- name: "build-all-php"
- name: build-debian10
display_name: "Build: Debian 10"
tags: ["build", "debian", "x64", "pr", "tag"]
run_on: debian10-small
tasks:
- name: "build-all-php"
- name: build-debian92
display_name: "Build: Debian 9.2"
tags: ["build", "debian", "x64", "pr", "tag"]
run_on: debian92-small
tasks:
- name: "build-all-php"

# RHEL
- name: build-rhel90
14 changes: 5 additions & 9 deletions .evergreen/config/functions.yml
Original file line number Diff line number Diff line change
@@ -84,19 +84,15 @@ functions:
content_type: ${content_type|application/x-gzip}
permissions: public-read
local_file: ${build_id}.tar.gz
remote_file: mongo-php-driver/${build_variant}/${revision}/${task_name}/${version}.tar.gz
# TODO: Use separate folder for the library once it exists
# remote_file: ${project}/${build_variant}/${revision}/${task_name}/${version}.tar.gz
remote_file: mongo-php-driver/${build_variant}/${revision}/${task_name}/${version_id}.tar.gz

"fetch extension":
- command: s3.get
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
bucket: mciuploads
# TODO: Use separate folder for the library once it exists
remote_file: mongo-php-driver/${FETCH_BUILD_VARIANT}/${revision}/${FETCH_BUILD_TASK}/${version}.tar.gz
# remote_file: ${project}/${FETCH_BUILD_VARIANT}/${revision}/${FETCH_BUILD_TASK}/${version}.tar.gz
remote_file: mongo-php-driver/${FETCH_BUILD_VARIANT}/${revision}/${FETCH_BUILD_TASK}/${version_id}.tar.gz
local_file: build.tar.gz
- command: archive.targz_extract
params:
@@ -329,9 +325,9 @@ functions:
working_dir: "src"
script: |
${PREPARE_SHELL}
file="${PROJECT_DIRECTORY}/.evergreen/install-composer.sh"
# Don't use ${file} syntax here because evergreen treats it as an empty expansion.
[ -f "$file" ] && DEPENDENCIES=${DEPENDENCIES} bash $file || echo "$file not available, skipping"
DEPENDENCIES=${DEPENDENCIES} \
PHP_VERSION=${PHP_VERSION} \
bash ${PROJECT_DIRECTORY}/.evergreen/install-composer.sh
"start load balancer":
- command: shell.exec
5 changes: 4 additions & 1 deletion .evergreen/config/generate-config.php
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@

// Supported PHP versions. Add new versions to the beginning of the list
$modernPhpVersions = [
'8.4',
'8.3',
'8.2',
'8.1',
@@ -13,7 +14,9 @@
];
$supportedPhpVersions = array_merge($modernPhpVersions, $legacyPhpVersions);

$latestPhpVersion = max($supportedPhpVersions);
// TODO: use max() once PHP 8.4 is stable
//$latestPhpVersion = max($supportedPhpVersions);
$latestPhpVersion = '8.3';
$lowestPhpVersion = min($supportedPhpVersions);

// Supported MongoDB versions. Add new versions after "rapid"
10 changes: 10 additions & 0 deletions .evergreen/config/generated/build/build-extension-next-minor.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions .evergreen/config/generated/build/build-extension.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 12 additions & 40 deletions .evergreen/config/generated/test-variant/legacy-php-full.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions .evergreen/config/generated/test-variant/lowest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading