Skip to content

Commit 2463aef

Browse files
committed
Drop support for PHP < 7.4, see xp-framework/rfc#343
1 parent 0d93771 commit 2463aef

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 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:
@@ -48,9 +48,9 @@ jobs:
4848

4949
- name: Install dependencies
5050
run: >
51-
curl -sSL https://baltocdn.com/xp-framework/xp-runners/distribution/downloads/e/entrypoint/xp-run-8.8.0.sh > xp-run &&
51+
curl -sSL https://baltocdn.com/xp-framework/xp-runners/distribution/downloads/e/entrypoint/xp-run-9.1.0.sh > xp-run &&
5252
composer install --prefer-dist &&
5353
echo "vendor/autoload.php" > composer.pth
5454
5555
- name: Run test suite
56-
run: sh xp-run xp.unittest.TestRunner src/test/php
56+
run: sh xp-run xp.test.Runner src/test/php

ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ FTP protocol support for the XP Framework ChangeLog
33

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

6+
* **Heads up:** Dropped support for PHP < 7.4, see xp-framework/rfc#343
7+
(@thekid)
8+
* Migrated to the `xp-framework/test` library - @thekid
69
* Fixed deprecation warning *Non-canonical cast (double) is deprecated,
710
use the (float) cast instead* in PHP 8.5
811
(@thekid)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"xp-framework/logging": "^11.0 | ^10.0 | ^9.1",
1111
"xp-framework/networking": "^10.0 | ^9.3",
1212
"xp-framework/io-collections": "^10.0 | ^9.0 | ^8.0",
13-
"php" : ">=7.0.0"
13+
"php" : ">=7.4.0"
1414
},
1515
"require-dev" : {
16-
"xp-framework/unittest": "^11.0 | ^10.1"
16+
"xp-framework/test": "^2.0 | ^1.0"
1717
},
1818
"autoload" : {
1919
"files" : ["src/main/php/autoload.php"]

0 commit comments

Comments
 (0)