Skip to content

Commit 39f84be

Browse files
Rachel Goldfingercopybara-github
authored andcommitted
Bump minimum php version to 8.2.0 (DO NOT SUBMIT)
PiperOrigin-RevId: 848154177
1 parent 262d725 commit 39f84be

File tree

4 files changed

+16
-18
lines changed

4 files changed

+16
-18
lines changed

.github/workflows/test_php.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@ jobs:
2929
fail-fast: false # Don't cancel all jobs if one fails.
3030
matrix:
3131
include:
32-
- name: 8.1 Optimized
33-
version: "8.1.14"
34-
version-short: "8.1"
32+
- name: 8.2 Optimized
33+
version: "8.2.2"
34+
version-short: "8.2"
3535
command: composer test && composer test_c
36-
- name: 8.1 Debug
37-
version: 8.1.14-dbg
38-
version-short: "8.1"
36+
- name: 8.2 Debug
37+
version: 8.2.2-dbg
38+
version-short: "8.2"
3939
command: composer test && composer test_c
40-
- name: 8.1 Memory Leak
41-
version: 8.1.14-dbg
42-
version-short: "8.1"
40+
- name: 8.2 Memory Leak
41+
version: 8.2.2-dbg
42+
version-short: "8.2"
4343
# Run specialized memory leak & multirequest tests.
4444
command: composer test_c && tests/multirequest.sh && tests/memory_leak_test.sh
4545
continuous-only: true
46-
- name: 8.1 Valgrind
47-
version: 8.1.14-dbg
48-
version-short: "8.1"
46+
- name: 8.2 Valgrind
47+
version: 8.2.2-dbg
48+
version-short: "8.2"
4949
command: composer test_valgrind
5050
continuous-only: true
5151
- name: 8.3 Optimized
@@ -65,7 +65,7 @@ jobs:
6565
if: ${{ !matrix.continuous-only || inputs.continuous-run }}
6666
uses: protocolbuffers/protobuf-ci/bazel-docker@v5
6767
with:
68-
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/php:8.0.1-${{ matrix.version }}-b77fdae6d4771789dfc66a56bf8d806354e8011a
68+
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/php:8.0.1-${{ matrix.version }}-9626718698895971df3953d4aa2321d7425f3c5f
6969
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
7070
bazel-cache: php_linux/${{ matrix.version }}
7171
bash: |
@@ -83,7 +83,7 @@ jobs:
8383
strategy:
8484
fail-fast: false # Don't cancel all jobs if one fails.
8585
matrix:
86-
version: ['8.1']
86+
version: ['8.2']
8787
suffix: [ '', '-zts']
8888
test: ['test', 'test_c']
8989
exclude:

.github/workflows/test_php_ext.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ jobs:
5454
fail-fast: false # Don't cancel all jobs if one fails.
5555
matrix:
5656
include:
57-
- version: "8.1"
58-
continuous-only: true
5957
- version: "8.2"
6058
continuous-only: true
6159
- version: "8.3"

php/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"homepage": "https://developers.google.com/protocol-buffers/",
77
"license": "BSD-3-Clause",
88
"require": {
9-
"php": ">=8.1.0"
9+
"php": ">=8.2.0"
1010
},
1111
"require-dev": {
1212
"phpunit/phpunit": ">=5.0.0 <8.5.27"

php/composer.json.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"homepage": "https://developers.google.com/protocol-buffers/",
77
"license": "BSD-3-Clause",
88
"require": {
9-
"php": ">=8.1.0"
9+
"php": ">=8.2.0"
1010
},
1111
"require-dev": {
1212
"phpunit/phpunit": ">=5.0.0 <8.5.27"

0 commit comments

Comments
 (0)