Skip to content

Commit ec578d4

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

File tree

8 files changed

+8
-31
lines changed

8 files changed

+8
-31
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 22 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
@@ -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

Lines changed: 1 addition & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

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>

src/ExtEvLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* that provides an interface to `libev` library.
1717
* `libev` itself supports a number of system-specific backends (epoll, kqueue).
1818
*
19-
* This loop is known to work with PHP 5.4 through PHP 8+.
19+
* This loop is known to work with PHP 7.1 through PHP 8+.
2020
*
2121
* @see http://php.net/manual/en/book.ev.php
2222
* @see https://bitbucket.org/osmanov/pecl-ev/overview

src/ExtEventLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* that provides an interface to `libevent` library.
1717
* `libevent` itself supports a number of system-specific backends (epoll, kqueue).
1818
*
19-
* This loop is known to work with PHP 5.4 through PHP 8+.
19+
* This loop is known to work with PHP 7.1 through PHP 8+.
2020
*
2121
* @link https://pecl.php.net/package/event
2222
*/

src/ExtUvLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* that provides an interface to `libuv` library.
1414
* `libuv` itself supports a number of system-specific backends (epoll, kqueue).
1515
*
16-
* This loop is known to work with PHP 7+.
16+
* This loop is known to work with PHP 7.1 through PHP 8+.
1717
*
1818
* @see https://github.com/bwoebi/php-uv
1919
*/

src/StreamSelectLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* This uses the [`stream_select()`](https://www.php.net/manual/en/function.stream-select.php)
1313
* function and is the only implementation that works out of the box with PHP.
1414
*
15-
* This event loop works out of the box on PHP 5.4 through PHP 8+ and HHVM.
15+
* This event loop works out of the box on PHP 7.1 through PHP 8+.
1616
* This means that no installation is required and this library works on all
1717
* platforms and supported PHP versions.
1818
* Accordingly, the [`Loop` class](#loop) will use this event loop by default if

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy