Skip to content

Commit 60d7869

Browse files
committed
⬆️ [php-http#458] Update min PHP version to 8.1
1 parent 734a76e commit 60d7869

File tree

3 files changed

+12
-20
lines changed

3 files changed

+12
-20
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,12 @@ jobs:
2222
include:
2323
# Minimum supported Symfony version and lowest PHP version
2424
- dependencies: "php-http/guzzle7-adapter php-http/discovery:^1.12"
25-
php-version: "7.3"
25+
php-version: "8.1"
2626
dependency-versions: "lowest"
2727
symfony-deprecations-helper: "weak"
2828
stability: "stable"
2929

3030
# Test the latest stable release
31-
- dependencies: "php-http/guzzle7-adapter php-http/vcr-plugin:^1.0@dev"
32-
php-version: "7.3"
33-
symfony-deprecations-helper: "weak"
34-
- dependencies: "php-http/guzzle6-adapter"
35-
php-version: "7.4"
36-
symfony-deprecations-helper: "weak"
37-
- dependencies: "php-http/guzzle7-adapter"
38-
php-version: "8.0"
39-
symfony-deprecations-helper: "weak"
4031
- dependencies: "php-http/guzzle7-adapter"
4132
php-version: "8.1"
4233
symfony-deprecations-helper: "weak"
@@ -49,7 +40,7 @@ jobs:
4940

5041
# Test with httplug 2.x clients
5142
- dependencies: "php-http/guzzle7-adapter php-http/curl-client:^2.0.0 php-http/vcr-plugin:^1.0@dev php-http/socket-client:^2.0"
52-
php-version: "7.3"
43+
php-version: "8.1"
5344
symfony-deprecations-helper: "weak"
5445

5546
# Latest commit to master
@@ -63,17 +54,17 @@ jobs:
6354
symfony-deprecations-helper: "weak"
6455

6556
# Test maintained versions of Symfony
66-
- dependencies: "php-http/guzzle7-adapter symfony/http-client:^5.4"
67-
symfony-require: "5.4.*"
68-
php-version: "7.3"
57+
- dependencies: "php-http/guzzle7-adapter symfony/http-client:^6.4"
58+
symfony-require: "6.4.*"
59+
php-version: "8.1"
6960
symfony-deprecations-helper: "weak"
70-
- dependencies: "php-http/guzzle7-adapter symfony/http-client:^6.0"
71-
symfony-require: "6.3.*"
61+
- dependencies: "php-http/guzzle7-adapter symfony/http-client:^6.4"
62+
symfony-require: "6.4.*"
7263
php-version: "8.2"
7364
symfony-deprecations-helper: "weak"
74-
- dependencies: "php-http/guzzle7-adapter symfony/http-client:^6.0"
75-
symfony-require: "6.4.*"
76-
php-version: "8.1"
65+
- dependencies: "php-http/guzzle7-adapter symfony/http-client:^7.1"
66+
symfony-require: "7.1.*"
67+
php-version: "8.2"
7768
symfony-deprecations-helper: "weak"
7869

7970
steps:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee
55
# Version 2
66

77
# 2.0.0 - (unreleased)
8+
- Increased min PHP version to 8.1
89
- Fixed a deprecation when creating a `HttpMethodsClient` via `http_methods_client: true`. Only PSR-17 factories are now passed as constructor arguments.
910
- Changed the default stream factory argument for the cache plugin. This now requires a PSR-17 StreamFactoryInterface instance.
1011
- Creating a client using the `BuzzFactory` no longer accepts `verify_peer` and `verify_host` config options. Only a boolean `verify` flag is accepted, covering both previous options.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626
],
2727
"require": {
28-
"php": "^7.3 || ^8.0",
28+
"php": "^8.1",
2929
"php-http/client-common": "^2.0",
3030
"php-http/client-implementation": "^1.0",
3131
"php-http/discovery": "^1.14",

0 commit comments

Comments
 (0)