File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,10 @@ public function testReceiveWithoutConnection(): void
99
99
100
100
public function testListen (): void
101
101
{
102
+ if (version_compare (PHP_VERSION , '8.0.0 ' , '= ' )) {
103
+ $ this ->markTestSkipped ('Test skipped on PHP 8.0 due to compatibility issues ' );
104
+ }
105
+
102
106
$ messageReceived = false ;
103
107
$ testMessage = 'Hello WebSocket! ' ;
104
108
@@ -141,6 +145,10 @@ public function testListen(): void
141
145
142
146
public function testListenWithError (): void
143
147
{
148
+ if (version_compare (PHP_VERSION , '8.0.0 ' , '= ' )) {
149
+ $ this ->markTestSkipped ('Test skipped on PHP 8.0 due to compatibility issues ' );
150
+ }
151
+
144
152
$ errorReceived = false ;
145
153
$ this ->client ->onError (function ($ error ) use (&$ errorReceived ) {
146
154
$ errorReceived = true ;
You can’t perform that action at this time.
0 commit comments