Skip to content

Commit 66c2fa5

Browse files
committed
Update to require PHP 7.1+
1 parent aa26641 commit 66c2fa5

File tree

4 files changed

+4
-26
lines changed

4 files changed

+4
-26
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ jobs:
1919
- 7.3
2020
- 7.2
2121
- 7.1
22-
- 7.0
23-
- 5.6
24-
- 5.5
25-
- 5.4
26-
- 5.3
2722
steps:
2823
- uses: actions/checkout@v4
2924
- uses: shivammathur/setup-php@v2
@@ -50,19 +45,3 @@ jobs:
5045
ini-file: development
5146
- run: composer install
5247
- run: vendor/bin/phpunit --coverage-text
53-
54-
PHPUnit-hhvm:
55-
name: PHPUnit (HHVM)
56-
runs-on: ubuntu-22.04
57-
continue-on-error: true
58-
steps:
59-
- uses: actions/checkout@v4
60-
- run: cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
61-
- name: Run hhvm composer.phar install
62-
uses: docker://hhvm/hhvm:3.30-lts-latest
63-
with:
64-
args: hhvm composer.phar install
65-
- name: Run hhvm vendor/bin/phpunit
66-
uses: docker://hhvm/hhvm:3.30-lts-latest
67-
with:
68-
args: hhvm vendor/bin/phpunit

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,7 @@ composer require react/dns:^3@dev
424424
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
425425

426426
This project aims to run on any platform and thus does not require any PHP
427-
extensions and supports running on legacy PHP 5.3 through current PHP 8+ and
428-
HHVM.
427+
extensions and supports running on PHP 7.1 through current PHP 8+.
429428
It's *highly recommended to use the latest supported PHP version* for this project.
430429

431430
## Tests

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626
}
2727
],
2828
"require": {
29-
"php": ">=5.3.0",
29+
"php": ">=7.1",
3030
"react/cache": "^1.0 || ^0.6 || ^0.5",
3131
"react/event-loop": "^1.2",
3232
"react/promise": "^3.0 || ^2.7 || ^1.2.1"
3333
},
3434
"require-dev": {
35-
"phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",
35+
"phpunit/phpunit": "^9.6 || ^5.7",
3636
"react/async": "^4 || ^3 || ^2",
3737
"react/promise-timer": "^1.9"
3838
},

phpunit.xml.legacy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- PHPUnit configuration file with old format for legacy PHPUnit -->
44
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/4.8/phpunit.xsd"
5+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/5.7/phpunit.xsd"
66
bootstrap="vendor/autoload.php"
77
colors="true">
88
<testsuites>

0 commit comments

Comments
 (0)