Skip to content

Commit 97e0478

Browse files
committed
Update to require PHP 7.1+
1 parent edd918f commit 97e0478

File tree

4 files changed

+5
-25
lines changed

4 files changed

+5
-25
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ jobs:
1717
- 7.3
1818
- 7.2
1919
- 7.1
20-
- 7.0
21-
- 5.6
22-
- 5.5
23-
- 5.4
24-
- 5.3
2520
steps:
2621
- uses: actions/checkout@v2
2722
- uses: shivammathur/setup-php@v2
@@ -34,17 +29,3 @@ jobs:
3429
if: ${{ matrix.php >= 7.3 }}
3530
- run: REDIS_URI=localhost:6379 vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
3631
if: ${{ matrix.php < 7.3 }}
37-
38-
PHPUnit-hhvm:
39-
name: PHPUnit (HHVM)
40-
runs-on: ubuntu-18.04
41-
continue-on-error: true
42-
steps:
43-
- uses: actions/checkout@v2
44-
- uses: azjezz/setup-hhvm@v1
45-
with:
46-
version: lts-3.30
47-
- run: composer self-update --2.2 # downgrade Composer for HHVM
48-
- run: hhvm $(which composer) install
49-
- run: docker run --net=host -d redis
50-
- run: REDIS_URI=localhost:6379 hhvm vendor/bin/phpunit

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Async [Redis](https://redis.io/) client implementation, built on top of [ReactPH
77

88
> **Development version:** This branch contains the code for the upcoming 3.0 release.
99
> For the code of the current stable 2.x release, check out the
10-
> [`2.x` branch](https://github.com/reactphp/promise/tree/2.x).
10+
> [`2.x` branch](https://github.com/clue/reactphp-redis/tree/2.x).
1111
>
1212
> The upcoming 3.0 release will be the way forward for this package.
1313
> However, we will still actively support 2.x for those not yet
@@ -625,8 +625,7 @@ $ composer require clue/redis-react:^3@dev
625625
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
626626

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

632631
We're committed to providing long-term support (LTS) options and to provide a

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": ">=5.3",
14+
"php": ">=7.1",
1515
"clue/redis-protocol": "0.3.*",
1616
"evenement/evenement": "^3.0 || ^2.0 || ^1.0",
1717
"react/event-loop": "^1.2",
@@ -21,7 +21,7 @@
2121
},
2222
"require-dev": {
2323
"clue/block-react": "^1.1",
24-
"phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35"
24+
"phpunit/phpunit": "^9.3 || ^5.7"
2525
},
2626
"autoload": {
2727
"psr-4": { "Clue\\React\\Redis\\": "src/" }

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 PHPUnit 9.2 or older -->
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)