Skip to content

Commit d0b68eb

Browse files
committed
Drop support for PHP < 7.4, add PHP 8.5
1 parent eee573c commit d0b68eb

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
if: "!contains(github.event.head_commit.message, 'skip ci')"
1212
name: PHP ${{ matrix.php-versions }} on ${{ matrix.os }}
1313
runs-on: ${{ matrix.os }}
14-
continue-on-error: ${{ matrix.php-versions >= '8.4' }}
14+
continue-on-error: ${{ matrix.php-versions >= '8.5' }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
18+
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
1919
os: [ubuntu-latest, windows-latest]
2020

2121
steps:

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Rest API change log
33

44
## ?.?.? / ????-??-??
55

6+
**Heads up:** Dropped support for PHP < 7.4, see xp-framework/rfc#343
7+
(@thekid)
8+
* Added PHP 8.5 to test matrix - @thekid
9+
610
## 4.4.0 / 2024-03-24
711

812
* Made compatible with XP 12 - @thekid

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Rest APIs
44
[![Build status on GitHub](https://github.com/xp-forge/rest-api/workflows/Tests/badge.svg)](https://github.com/xp-forge/rest-api/actions)
55
[![XP Framework Module](https://raw.githubusercontent.com/xp-framework/web/master/static/xp-framework-badge.png)](https://github.com/xp-framework/core)
66
[![BSD Licence](https://raw.githubusercontent.com/xp-framework/web/master/static/licence-bsd.png)](https://github.com/xp-framework/core/blob/master/LICENCE.md)
7-
[![Requires PHP 7.0+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-7_0plus.svg)](http://php.net/)
7+
[![Requires PHP 7.4+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-7_4plus.svg)](http://php.net/)
88
[![Supports PHP 8.0+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-8_0plus.svg)](http://php.net/)
99
[![Latest Stable Version](https://poser.pugx.org/xp-forge/rest-api/version.svg)](https://packagist.org/packages/xp-forge/rest-api)
1010

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"xp-forge/web": "^4.0 | ^3.0 | ^2.0 | ^1.0",
1212
"xp-forge/marshalling": "^2.0 | ^1.0",
1313
"xp-forge/json": "^5.0 | ^4.0 | ^3.1",
14-
"php": ">=7.0.0"
14+
"php": ">=7.4.0"
1515
},
1616
"require-dev" : {
1717
"xp-framework/test": "^2.0 | ^1.0"

0 commit comments

Comments
 (0)