From 75c2e32721eab69f1821699694517ddc046888ef Mon Sep 17 00:00:00 2001 From: Simon Frings Date: Wed, 24 Feb 2021 12:10:48 +0100 Subject: [PATCH] Support PHP 8 --- .github/workflows/ci.yml | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 078b70ad..1d9d32ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ jobs: - ubuntu-20.04 - windows-2019 php: + - 8.0 - 7.4 - 7.3 - 7.2 @@ -43,7 +44,7 @@ jobs: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: 8.0 coverage: xdebug - run: composer install - run: vendor/bin/phpunit --coverage-text diff --git a/README.md b/README.md index c50b7433..85d3186b 100644 --- a/README.md +++ b/README.md @@ -1433,7 +1433,7 @@ $ composer require react/socket:^1.6 See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades. This project aims to run on any platform and thus does not require any PHP -extensions and supports running on legacy PHP 5.3 through current PHP 7+ and HHVM. +extensions and supports running on legacy PHP 5.3 through current PHP 8+ and HHVM. It's *highly recommended to use PHP 7+* for this project, partly due to its vast performance improvements and partly because legacy PHP versions require several workarounds as described below.