Skip to content

Commit 767d11e

Browse files
committed
Support PHP 8.1 release
1 parent 6b14f69 commit 767d11e

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
strategy:
1212
matrix:
1313
php:
14+
- 8.1
15+
- 8.0
1416
- 7.4
1517
- 7.3
1618
- 7.2

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"require": {
1111
"php": ">=5.3.8",
1212
"react/cache": "^1.1",
13-
"react/dns": "^1.8",
13+
"react/dns": "^1.9",
1414
"react/event-loop": "^1.2",
1515
"react/http": "^1.6",
16-
"react/promise": "^2.8 || ^1.2",
16+
"react/promise": "^2.9 || ^1.2",
1717
"react/promise-stream": "^1.3",
18-
"react/promise-timer": "^1.7",
19-
"react/socket": "^1.9",
18+
"react/promise-timer": "^1.8",
19+
"react/socket": "^1.11",
2020
"react/stream": "^1.2"
2121
},
2222
"require-dev": {

phpunit.xml.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
66
bootstrap="tests/bootstrap.php"
77
cacheResult="false"
8-
colors="true">
8+
colors="true"
9+
convertDeprecationsToExceptions="true">
910
<testsuites>
1011
<testsuite name="ReactPHP Test Suite">
1112
<directory>./vendor/react/*/tests/</directory>
1213
<!-- temporarily skip broken und unneeded tests, see https://github.com/reactphp/event-loop/pull/232 -->
1314
<exclude>./vendor/react/event-loop/tests/BinTest.php</exclude>
15+
<exclude>./vendor/react/event-loop/tests/ExtLibeventLoopTest.php</exclude>
1416
<!-- temporarily skip broken und unneeded tests, see https://github.com/reactphp/http/pull/440 -->
1517
<exclude>./vendor/react/http/tests/HttpServerTest.php</exclude>
1618
</testsuite>

0 commit comments

Comments
 (0)