Skip to content

Commit d62cd4e

Browse files
committed
Update to require PHP 7.1+
1 parent 229fb29 commit d62cd4e

File tree

4 files changed

+4
-27
lines changed

4 files changed

+4
-27
lines changed

.github/workflows/ci.yml

-22
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
@@ -56,7 +51,6 @@ jobs:
5651
- 7.3
5752
- 7.2
5853
- 7.1
59-
- 7.0
6054
steps:
6155
- uses: actions/checkout@v4
6256
- uses: shivammathur/setup-php@v2
@@ -104,19 +98,3 @@ jobs:
10498
if: ${{ matrix.php >= 7.3 }}
10599
- run: vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
106100
if: ${{ matrix.php < 7.3 }}
107-
108-
PHPUnit-hhvm:
109-
name: PHPUnit (HHVM)
110-
runs-on: ubuntu-22.04
111-
continue-on-error: true
112-
steps:
113-
- uses: actions/checkout@v4
114-
- run: cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
115-
- name: Run hhvm composer.phar install
116-
uses: docker://hhvm/hhvm:3.30-lts-latest
117-
with:
118-
args: hhvm composer.phar install
119-
- name: Run hhvm vendor/bin/phpunit
120-
uses: docker://hhvm/hhvm:3.30-lts-latest
121-
with:
122-
args: hhvm vendor/bin/phpunit

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,7 @@ composer require react/event-loop:^3@dev
830830
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
831831

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

837836
Installing any of the event loop extensions is suggested, but entirely optional.

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
}
2727
],
2828
"require": {
29-
"php": ">=5.3.0"
29+
"php": ">=7.1.0"
3030
},
3131
"require-dev": {
32-
"phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
32+
"phpunit/phpunit": "^9.6 || ^5.7"
3333
},
3434
"suggest": {
3535
"ext-pcntl": "For signal handling support when using the StreamSelectLoop"

phpunit.xml.legacy

+1-1
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)