Skip to content

Commit

Permalink
Remove warning on invalid version mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
cboden committed Oct 11, 2017
1 parent 53b5a3f commit 10b71ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/LibEventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ class LibEventLoop implements LoopInterface

public function __construct()
{
if (version_compare(PHP_VERSION, '7.0.0') >= 0) {
trigger_error('The libevent extension has not yet been updated for PHP 7, it is recommended you use a different loop', E_USER_WARNING);
}

$this->eventBase = event_base_new();
$this->nextTickQueue = new NextTickQueue($this);
$this->futureTickQueue = new FutureTickQueue($this);
Expand Down

0 comments on commit 10b71ea

Please sign in to comment.