Skip to content

Commit 10b71ea

Browse files
committed
Remove warning on invalid version mismatch
1 parent 53b5a3f commit 10b71ea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/LibEventLoop.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ class LibEventLoop implements LoopInterface
3131

3232
public function __construct()
3333
{
34-
if (version_compare(PHP_VERSION, '7.0.0') >= 0) {
35-
trigger_error('The libevent extension has not yet been updated for PHP 7, it is recommended you use a different loop', E_USER_WARNING);
36-
}
37-
3834
$this->eventBase = event_base_new();
3935
$this->nextTickQueue = new NextTickQueue($this);
4036
$this->futureTickQueue = new FutureTickQueue($this);

0 commit comments

Comments
 (0)