Skip to content

Commit

Permalink
chore: drop support for PHP 7.4, add support for PHP 8.3 (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Apr 3, 2024
1 parent 47cabe0 commit eb86971
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ branchProtectionRules:
- pattern: main
isAdminEnforced: true
requiredStatusCheckContexts:
- 'PHP 7.4 Unit Test protobuf-3.12.2,grpc'
- 'PHP 7.4 Unit Test'
- 'PHP 8.0 Unit Test'
- 'PHP 8.0 Unit Test protobuf-3.12.2,grpc'
- 'PHP 8.1 Unit Test'
- 'PHP 8.2 Unit Test'
- 'PHP 8.2 Unit Test protobuf-3.12.2,grpc'
- 'PHP 8.3 Unit Test'
- 'PHP 8.3 Unit Test protobuf-3.12.2,grpc'
- 'cla/google'
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
max_attempts: 3
command: composer require --dev sami/sami
- name: Generate Documentation
uses: docker://php:7.4-cli
uses: docker://php:8.1-cli
with:
entrypoint: ./dev/build-docs.sh
args: ${{ steps.getTag.outputs.tag }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ 7.4, "8.0", 8.1, 8.2 ]
php: [ "8.0", "8.1", "8.2", "8.3" ]
extensions: [""]
tools: [""]
include:
- php: 7.4
- php: "8.0"
extensions: "protobuf-3.12.2,grpc"
tools: "pecl"
- php: 8.2
- php: "8.3"
extensions: "protobuf-3.12.2,grpc"
tools: "pecl"
name: "PHP ${{ matrix.php }} Unit Test ${{ matrix.extensions }}"
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"homepage": "https://github.com/googleapis/common-protos-php",
"license": "Apache-2.0",
"require": {
"php": ">=7.4",
"php": "^8.0",
"google/protobuf": "^v3.25.3||^4.26.1"
},
"require-dev": {
"phpunit/phpunit": "^9.0"
"phpunit/phpunit": "^9.6"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit eb86971

Please sign in to comment.