Skip to content

Commit d3a079f

Browse files
Merge v2.0 into v2.x (#1817)
2 parents 1b0dad3 + 19afbca commit d3a079f

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

.github/workflows/arginfo-files.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
check-arginfo:
1818
name: "Check generated arginfo files"
19-
runs-on: "ubuntu-20.04"
19+
runs-on: "ubuntu-24.04"
2020

2121
steps:
2222
- name: "Checkout"

.github/workflows/clang-format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
coding-standards:
1818
name: "Coding Standards"
19-
runs-on: "ubuntu-20.04"
19+
runs-on: "ubuntu-24.04"
2020

2121
steps:
2222
- name: "Checkout"

.github/workflows/tests.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,32 @@ jobs:
1919
fail-fast: true
2020
matrix:
2121
os:
22-
- "ubuntu-20.04"
22+
- "ubuntu-22.04"
2323
php-version:
2424
- "8.1"
2525
- "8.2"
2626
- "8.3"
2727
- "8.4"
2828
mongodb-version:
29-
- "4.4"
29+
- "6.0"
3030
topology:
3131
- "server"
3232
include:
33-
- os: "ubuntu-20.04"
33+
- os: "ubuntu-24.04"
3434
php-version: "8.1"
35-
mongodb-version: "6.0"
35+
mongodb-version: "8.0"
3636
topology: "replica_set"
37-
- os: "ubuntu-20.04"
37+
- os: "ubuntu-24.04"
3838
php-version: "8.1"
39-
mongodb-version: "6.0"
39+
mongodb-version: "8.0"
4040
topology: "sharded_cluster"
41-
- os: "ubuntu-20.04"
41+
- os: "ubuntu-22.04"
4242
php-version: "8.1"
43-
mongodb-version: "4.4"
43+
mongodb-version: "6.0"
4444
topology: "replica_set"
45-
- os: "ubuntu-20.04"
45+
- os: "ubuntu-22.04"
4646
php-version: "8.1"
47-
mongodb-version: "4.4"
47+
mongodb-version: "6.0"
4848
topology: "sharded_cluster"
4949

5050
steps:

scripts/clang-format.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [ -z "$CLANG_FORMAT" ]; then
2929
exit
3030
fi
3131

32-
VERSION=`$CLANG_FORMAT -version | cut -d " " -f 3`
32+
VERSION=`$CLANG_FORMAT -version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'`
3333
VERSION_MAJOR=`echo $VERSION | cut -d "." -f 1`
3434

3535
if [ $VERSION_MAJOR -lt 6 ]; then

src/phongo_client.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ static mongoc_client_t* php_phongo_make_mongo_client(const mongoc_uri_t* uri, zv
10151015
#ifdef HAVE_SYSTEM_LIBBSON
10161016
bson_version = bson_get_version();
10171017
#else
1018-
bson_version = "bundled";
1018+
bson_version = "bundled";
10191019
#endif
10201020

10211021
MONGOC_DEBUG(

src/phongo_compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
#define PHONGO_PARSE_PARAMETERS_END() \
173173
ZEND_PARSE_PARAMETERS_END_EX( \
174174
zend_restore_error_handling(&error_handling); \
175-
return ); \
175+
return); \
176176
zend_restore_error_handling(&error_handling); \
177177
} \
178178
while (0)

0 commit comments

Comments
 (0)