diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b83ce49..7993cd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,7 @@ jobs: - ubuntu-latest - windows-latest php: + - 8.1 - 8.0 - 7.4 - 7.3 diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 08fd8ec..54e4b13 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -4,8 +4,9 @@ + convertDeprecationsToExceptions="true"> ./tests/ diff --git a/tests/SocketTest.php b/tests/SocketTest.php index 8589692..d9c7bc9 100644 --- a/tests/SocketTest.php +++ b/tests/SocketTest.php @@ -83,8 +83,6 @@ public function testConnectAsyncGoogle() $this->assertInstanceOf('Socket\Raw\Socket', $socket); - $this->assertSame($socket, $socket->bind('0:0')); - $this->assertSame($socket, $socket->setBlocking(false)); try { @@ -225,10 +223,6 @@ public function testServerNonBlocking() */ public function testServerNonBlockingAcceptNobody(Socket $server) { - if (PHP_VERSION_ID >= 80000) { - $this->markTestIncomplete('Causes SEGFAULTs on PHP 8'); - } - try { $server->accept(); $this->fail('accept() MUST throw an exception');