diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index 7bab97c..06c1766 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -63,6 +63,22 @@ jobs: - name: Test run: make test + test-8-1: + runs-on: ubuntu-latest + name: Test PHP 8.1 + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up PHP 8.1 + uses: shivammathur/setup-php@v2 + with: + php-version: '8.1' + - name: Composer + run: make install + - name: Test + run: make test + + cs-check: runs-on: ubuntu-latest name: Code standard diff --git a/tests/ClientTest.php b/tests/ClientTest.php index c7bdc16..a5c8d84 100644 --- a/tests/ClientTest.php +++ b/tests/ClientTest.php @@ -13,7 +13,6 @@ class ClientTest extends TestCase { - public function setUp(): void { error_reporting(-1); diff --git a/tests/ExceptionTest.php b/tests/ExceptionTest.php index 84b939c..2083e70 100644 --- a/tests/ExceptionTest.php +++ b/tests/ExceptionTest.php @@ -13,7 +13,6 @@ class ExceptionTest extends TestCase { - public function setUp(): void { error_reporting(-1); diff --git a/tests/MessageTest.php b/tests/MessageTest.php index 2d06ab7..bade435 100644 --- a/tests/MessageTest.php +++ b/tests/MessageTest.php @@ -14,7 +14,6 @@ class MessageTest extends TestCase { - public function setUp(): void { error_reporting(-1); diff --git a/tests/ServerTest.php b/tests/ServerTest.php index 8294236..c2370f4 100644 --- a/tests/ServerTest.php +++ b/tests/ServerTest.php @@ -13,7 +13,6 @@ class ServerTest extends TestCase { - public function setUp(): void { error_reporting(-1); diff --git a/tests/mock/MockSocket.php b/tests/mock/MockSocket.php index e12d6ed..e51823d 100644 --- a/tests/mock/MockSocket.php +++ b/tests/mock/MockSocket.php @@ -8,7 +8,6 @@ class MockSocket { - private static $queue = []; private static $stored = []; private static $asserter;