Skip to content

Commit d50d083

Browse files
authored
Drop support for EOL PHP versions, require PHP 8.2+ (#201)
PHP 7.4, 8.0, and 8.1 have all reached end of life. Bump the minimum to PHP 8.2, the oldest version still receiving security fixes. Signed-off-by: Simon Podlipsky <simon@podlipsky.net>
1 parent cd60a02 commit d50d083

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
php: [ 8.1, 8.2, 8.3, 8.4, 8.5 ]
11+
php: [ 8.2, 8.3, 8.4, 8.5 ]
1212
redis-version: [ 5, 6, 7, 8 ]
1313

1414
name: P${{ matrix.php }} - Redis ${{ matrix.redis-version }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ composer require promphp/prometheus_push_gateway_php
136136

137137
### Dependencies
138138

139-
* PHP ^7.2 | ^8.0
139+
* PHP ^8.2 (only [supported PHP versions](https://www.php.net/supported-versions.php) are supported)
140140
* PHP Redis extension
141141
* PHP APCu extension
142142
* [Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"lkaemmerling/prometheus_client_php": "*"
1616
},
1717
"require": {
18-
"php": "^7.4|^8.0",
18+
"php": "^8.2",
1919
"ext-json": "*"
2020
},
2121
"require-dev": {
@@ -33,7 +33,7 @@
3333
"ext-apc": "Required if using APCu.",
3434
"ext-pdo": "Required if using PDO.",
3535
"promphp/prometheus_push_gateway_php": "An easy client for using Prometheus PushGateway.",
36-
"symfony/polyfill-apcu": "Required if you use APCu on PHP8.0+"
36+
"symfony/polyfill-apcu": "Required if you use APCu."
3737
},
3838
"autoload": {
3939
"psr-4": {

0 commit comments

Comments
 (0)