8000 Merge pull request #119 from clue-labs/php8.1 · SimonFrings/reactphp-redis@7f2afa2 · GitHub
[go: up one dir, main page]

10000
Skip to content

Commit 7f2afa2

Browse files
authored
Merge pull request clue#119 from clue-labs/php8.1
Support PHP 8.1
2 parents 61a979f + 3a091b8 commit 7f2afa2

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
php:
14+
- 8.1
1415
- 8.0
1516
- 7.4
1617
- 7.3

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"evenement/evenement": "^3.0 || ^2.0 || ^1.0",
1717
"react/event-loop": "^1.2",
1818
"react/promise": "^2.0 || ^1.1",
19-
"react/promise-timer": "^1.5",
19+
"react/promise-timer": "^1.8",
2020
"react/socket": "^1.9"
2121
},
2222
"require-dev": {

phpunit.xml.dist

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
66
bootstrap="vendor/autoload.php"
7+
cacheResult="false"
78
colors="true"
8-
cacheResult="false">
9+
convertDeprecationsToExceptions="true">
910
<testsuites>
1011
<testsuite name="Redis React Test Suite">
1112
<directory>./tests/</directory>

src/LazyClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class LazyClient extends EventEmitter implements Client
3131
public function __construct($target, Factory $factory, LoopInterface $loop)
3232
{
3333
$args = array();
34-
\parse_str(\parse_url($target, \PHP_URL_QUERY), $args);
34+
\parse_str((string) \parse_url($target, \PHP_URL_QUERY), $args);
3535
if (isset($args['idle'])) {
3636
$this->idlePeriod = (float)$args['idle'];
3737
}

0 commit comments

Comments
 (0)
0