Skip to content

Commit dae35df

Browse files
authored
chore: drop support for PHP 7.4 (#2562)
1 parent 7e79f3d commit dae35df

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

.github/sync-repo-settings.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ branchProtectionRules:
55
- pattern: master
66
isAdminEnforced: true
77
requiredStatusCheckContexts:
8-
- 'PHP 7.4 Unit Test'
9-
- 'PHP 7.4 --prefer-lowest Unit Test'
108
- 'PHP 8.0 Unit Test'
9+
- 'PHP 8.0 --prefer-lowest Unit Test'
1110
- 'PHP 8.1 Unit Test'
1211
- 'PHP 8.2 Unit Test'
1312
- 'PHP 8.3 Unit Test'

.github/workflows/asset-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
operating-system: [ ubuntu-latest ]
13-
php: [ "7.4", "8.0", "8.2" ]
13+
php: [ "8.0", "8.3" ]
1414

1515
name: Upload Release Assets
1616
steps:

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
max_attempts: 3
1919
command: composer install
2020
- name: Generate and Push Documentation
21-
uses: docker://php:7.4-cli
21+
uses: docker://php:8.1-cli
2222
env:
2323
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2424
with:

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php: [ "7.4", "8.0", "8.1", "8.2", "8.3" ]
14+
php: [ "8.0", "8.1", "8.2", "8.3" ]
1515
composer-flags: [""]
1616
include:
17-
- php: "7.4"
17+
- php: "8.0"
1818
composer-flags: "--prefer-lowest "
1919
- php: "8.3"
2020
composer-flags: "--prefer-lowest "

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ list of [Google cloud packages](https://cloud.google.com/php/docs/reference) fir
77
these are the recommended libraries.
88

99
<dl>
10-
<dt>Reference Docs</dt><dd><a href="https://googleapis.github.io/google-api-php-client/main/">https://googleapis.github.io/google-api-php-client/main/</a></dd>
10+
<dt>Reference Docs</dt><dd><a href="https://googleapis.giPHthub.io/google-api-php-client/main/">https://googleapis.github.io/google-api-php-client/main/</a></dd>
1111
<dt>License</dt><dd>Apache 2.0</dd>
1212
</dl>
1313

@@ -25,7 +25,7 @@ For Google Cloud Platform APIs such as [Datastore][cloud-datastore], [Cloud Stor
2525
[cloud-compute]: https://github.com/googleapis/google-cloud-php-compute
2626

2727
## Requirements ##
28-
* [PHP 7.4 or higher](https://www.php.net/)
28+
* [PHP 8.0 or higher](https://www.php.net/)
2929

3030
## Developer Documentation ##
3131

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"homepage": "http://developers.google.com/api-client-library/php",
77
"license": "Apache-2.0",
88
"require": {
9-
"php": "^7.4|^8.0",
9+
"php": "^8.0",
1010
"google/auth": "^1.37",
1111
"google/apiclient-services": "~0.350",
12-
"firebase/php-jwt": "~6.0",
12+
"firebase/php-jwt": "^6.0",
1313
"monolog/monolog": "^2.9||^3.0",
1414
"phpseclib/phpseclib": "^3.0.36",
15-
"guzzlehttp/guzzle": "^6.5.8||^7.4.5",
16-
"guzzlehttp/psr7": "^1.9.1||^2.2.1"
15+
"guzzlehttp/guzzle": "^7.4.5",
16+
"guzzlehttp/psr7": "^2.6"
1717
},
1818
"require-dev": {
1919
"squizlabs/php_codesniffer": "^3.8",
@@ -22,8 +22,8 @@
2222
"cache/filesystem-adapter": "^1.1",
2323
"phpcompatibility/php-compatibility": "^9.2",
2424
"composer/composer": "^1.10.23",
25-
"phpspec/prophecy-phpunit": "^2.0",
26-
"phpunit/phpunit": "^9.5"
25+
"phpspec/prophecy-phpunit": "^2.1",
26+
"phpunit/phpunit": "^9.6"
2727
},
2828
"suggest": {
2929
"cache/filesystem-adapter": "For caching certs and tokens (using Google\\Client::setCache)"

0 commit comments

Comments
 (0)