Skip to content

Commit a02b5d5

Browse files
committed
Require PHP 8+
1 parent fcab403 commit a02b5d5

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
operating-system: [ubuntu-latest, windows-latest, macos-latest]
15-
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1']
15+
php-versions: ['8.0', '8.1']
1616
name: "PHP ${{ matrix.php-versions }} test on ${{ matrix.operating-system }}"
1717
steps:
1818
- name: Setup PHP

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
3.0.0
55
-------------------
66

7+
* IMPORTANT: PHP 8.0 or greater is now required.
78
* `GeoIp2\WebService\Client` methods now throw an `InvalidArgumentException`
89
if an invalid IP address is passed to them. Previously, they would make
910
a request to the web service and throw a

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ to the client API, please see
419419

420420
## Requirements ##
421421

422-
This library requires PHP 7.2 or greater.
422+
This library requires PHP 8.0 or greater.
423423

424424
This library also relies on the [MaxMind DB Reader](https://github.com/maxmind/MaxMind-DB-Reader-php).
425425

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"require": {
1616
"maxmind-db/reader": "~1.8",
1717
"maxmind/web-service-common": "~0.8",
18-
"php": ">=7.2",
18+
"php": ">=8.0",
1919
"ext-json": "*"
2020
},
2121
"require-dev": {

0 commit comments

Comments
 (0)