Skip to content

Conversation

WyriHaximus
Copy link
Member

Builds on #223, #222, #218, and bases on https://github .com/reactphp/async/pull/92 .

@WyriHaximus WyriHaximus added this to the v3.0.0 milestone Jul 9, 2025
@WyriHaximus WyriHaximus added the bug label Jul 9, 2025
@WyriHaximus WyriHaximus force-pushed the 3.x-using-pcov-on-PHP-8.0PLUS branch 2 times, most recently from 8556eb8 to 839d18d Compare July 9, 2025 11:23
@WyriHaximus WyriHaximus force-pushed the 3.x-using-pcov-on-PHP-8.0PLUS branch from 839d18d to 8b15da7 Compare July 9, 2025 11:28
Running the test suite on PHP 8+ results in the following two errors on
Ubuntu 24.04. This PR doesn't aim to fix those errors, but to ensure we
have a working CI test environment.

```
There were 2 failures:

1) React\Tests\Dns\Query\TcpTransportExecutorTest::testQueryStaysPendingWhenClientCanNotSendExcessiveMessageInOneChunkWhenServerClosesSocket
React\EventLoop\LoopInterface::removeWriteStream(resource(545) of type (stream)) was not expected to be called.

/home/runner/work/dns/dns/src/Query/TcpTransportExecutor.php:273
/home/runner/work/dns/dns/tests/Query/TcpTransportExecutorTest.php:347

2) React\Tests\Dns\Query\TcpTransportExecutorTest::testQueryRejectsWhenClientKeepsSendingWhenServerClosesSocketWithoutCallingCustomErrorHandler
Failed asserting that exception of type "Error" matches expected exception "RuntimeException". Message was: "Can only throw objects" at
/home/runner/work/dns/dns/tests/Query/TcpTransportExecutorTest.php:413
```
@WyriHaximus
Copy link
Member Author

This PR has been superseeded by #237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant