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 authored and clue committed Oct 13, 2017
1 parent bda850f commit f1c4746
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 @@ -29,10 +29,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->futureTickQueue = new FutureTickQueue();
$this->timerEvents = new SplObjectStorage();
Expand Down

0 comments on commit f1c4746

Please sign in to comment.