Skip to content

Commit

Permalink
Merge pull request #250 from SimonFrings/extensions
Browse files Browse the repository at this point in the history
Update supported PHP versions for loop extensions
  • Loading branch information
WyriHaximus committed Mar 17, 2022
2 parents cd3f42b + 7d10eba commit 2c602dd
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
php-version: ${{ matrix.php }}
coverage: xdebug
- run: sudo apt-get update && sudo apt-get install libevent-dev
- name: Install ext-event between PHP 5.4 and PHP 7.x
- name: Install ext-event on PHP >= 5.4
run: |
echo "yes" | sudo pecl install event
# explicitly enable extensions in php.ini on PHP 5.6+
php -r 'exit((int)(PHP_VERSION_ID >= 50600));' || echo "extension=event.so" | sudo tee -a "$(php -r 'echo php_ini_loaded_file();')"
if: ${{ matrix.php >= 5.4 && matrix.php < 8.0 }}
if: ${{ matrix.php >= 5.4 }}
- name: Install ext-ev on PHP >= 5.4
run: |
echo "yes" | sudo pecl install ev
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ A `stream_select()` based event loop.
This uses the [`stream_select()`](https://www.php.net/manual/en/function.stream-select.php)
function and is the only implementation that works out of the box with PHP.

This event loop works out of the box on PHP 5.3 through PHP 7+ and HHVM.
This event loop works out of the box on PHP 5.3 through PHP 8+ and HHVM.
This means that no installation is required and this library works on all
platforms and supported PHP versions.
Accordingly, the [`Loop` class](#loop) and the deprecated [`Factory`](#factory)
Expand Down Expand Up @@ -397,7 +397,7 @@ This uses the [`event` PECL extension](https://pecl.php.net/package/event),
that provides an interface to `libevent` library.
`libevent` itself supports a number of system-specific backends (epoll, kqueue).

This loop is known to work with PHP 5.4 through PHP 7+.
This loop is known to work with PHP 5.4 through PHP 8+.

#### ExtEvLoop

Expand All @@ -408,7 +408,7 @@ that provides an interface to `libev` library.
`libev` itself supports a number of system-specific backends (epoll, kqueue).


This loop is known to work with PHP 5.4 through PHP 7+.
This loop is known to work with PHP 5.4 through PHP 8+.

#### ExtUvLoop

Expand All @@ -418,7 +418,7 @@ This loop uses the [`uv` PECL extension](https://pecl.php.net/package/uv),
that provides an interface to `libuv` library.
`libuv` itself supports a number of system-specific backends (epoll, kqueue).

This loop is known to work with PHP 7+.
This loop is known to work with PHP 7.x.

#### ~~ExtLibeventLoop~~

Expand Down
2 changes: 1 addition & 1 deletion src/ExtEvLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* that provides an interface to `libev` library.
* `libev` itself supports a number of system-specific backends (epoll, kqueue).
*
* This loop is known to work with PHP 5.4 through PHP 7+.
* This loop is known to work with PHP 5.4 through PHP 8+.
*
* @see http://php.net/manual/en/book.ev.php
* @see https://bitbucket.org/osmanov/pecl-ev/overview
Expand Down
2 changes: 1 addition & 1 deletion src/ExtEventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* that provides an interface to `libevent` library.
* `libevent` itself supports a number of system-specific backends (epoll, kqueue).
*
* This loop is known to work with PHP 5.4 through PHP 7+.
* This loop is known to work with PHP 5.4 through PHP 8+.
*
* @link https://pecl.php.net/package/event
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ExtUvLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* that provides an interface to `libuv` library.
* `libuv` itself supports a number of system-specific backends (epoll, kqueue).
*
* This loop is known to work with PHP 7+.
* This loop is known to work with PHP 7.x.
*
* @see https://github.com/bwoebi/php-uv
*/
Expand Down
2 changes: 1 addition & 1 deletion src/StreamSelectLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* This uses the [`stream_select()`](https://www.php.net/manual/en/function.stream-select.php)
* function and is the only implementation that works out of the box with PHP.
*
* This event loop works out of the box on PHP 5.4 through PHP 7+ and HHVM.
* This event loop works out of the box on PHP 5.4 through PHP 8+ and HHVM.
* This means that no installation is required and this library works on all
* platforms and supported PHP versions.
* Accordingly, the [`Loop` class](#loop) and the deprecated [`Factory`](#factory)
Expand Down

0 comments on commit 2c602dd

Please sign in to comment.