Skip to content

Commit 7185d3b

Browse files
committed
Renamed NextTick namespace to Tick + enable ExtEventLoop tests for Linux.
1 parent afd6c30 commit 7185d3b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

ExtEventLoop.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Event;
66
use EventBase;
7-
use React\EventLoop\NextTick\NextTickQueue;
7+
use React\EventLoop\Tick\NextTickQueue;
88
use React\EventLoop\Timer\Timer;
99
use React\EventLoop\Timer\TimerInterface;
1010
use SplObjectStorage;
@@ -63,7 +63,7 @@ public function addWriteStream($stream, $listener)
6363

6464
if (!isset($this->writeListeners[$key])) {
6565
$this->writeListeners[$key] = $listener;
66-
$this->subscribeStreamEvent($stream, Event::WRITE, $listener);
66+
$this->subscribeStreamEvent($stream, Event::WRITE);
6767
}
6868
}
6969

LibEventLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Event;
66
use EventBase;
7-
use React\EventLoop\NextTick\NextTickQueue;
7+
use React\EventLoop\Tick\NextTickQueue;
88
use React\EventLoop\Timer\Timer;
99
use React\EventLoop\Timer\TimerInterface;
1010
use SplObjectStorage;

StreamSelectLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace React\EventLoop;
44

5-
use React\EventLoop\NextTick\NextTickQueue;
5+
use React\EventLoop\Tick\NextTickQueue;
66
use React\EventLoop\Timer\Timer;
77
use React\EventLoop\Timer\TimerInterface;
88
use React\EventLoop\Timer\Timers;

NextTick/NextTickQueue.php renamed to Tick/NextTickQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace React\EventLoop\NextTick;
3+
namespace React\EventLoop\Tick;
44

55
use React\EventLoop\LoopInterface;
66
use SplQueue;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy