Skip to content

Commit 569e7d4

Browse files
author
Sören Jensen
authored
Merge pull request #150 from Textalk/v1.5-master
PHP 8.1
2 parents 846542f + 3017304 commit 569e7d4

File tree

6 files changed

+16
-5
lines changed

6 files changed

+16
-5
lines changed

.github/workflows/acceptance.yml

+16
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,22 @@ jobs:
6363
- name: Test
6464
run: make test
6565

66+
test-8-1:
67+
runs-on: ubuntu-latest
68+
name: Test PHP 8.1
69+
steps:
70+
- name: Checkout
71+
uses: actions/checkout@v2
72+
- name: Set up PHP 8.1
73+
uses: shivammathur/setup-php@v2
74+
with:
75+
php-version: '8.1'
76+
- name: Composer
77+
run: make install
78+
- name: Test
79+
run: make test
80+
81+
6682
cs-check:
6783
runs-on: ubuntu-latest
6884
name: Code standard

tests/ClientTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
class ClientTest extends TestCase
1515
{
16-
1716
public function setUp(): void
1817
{
1918
error_reporting(-1);

tests/ExceptionTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
class ExceptionTest extends TestCase
1515
{
16-
1716
public function setUp(): void
1817
{
1918
error_reporting(-1);

tests/MessageTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
class MessageTest extends TestCase
1616
{
17-
1817
public function setUp(): void
1918
{
2019
error_reporting(-1);

tests/ServerTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
class ServerTest extends TestCase
1515
{
16-
1716
public function setUp(): void
1817
{
1918
error_reporting(-1);

tests/mock/MockSocket.php

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
class MockSocket
1010
{
11-
1211
private static $queue = [];
1312
private static $stored = [];
1413
private static $asserter;

0 commit comments

Comments
 (0)