Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed some unused statements. #76

Merged
merged 1 commit into from
Feb 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/Factory/CpuCoreCountFixed.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use React\ChildProcess\Process as ChildProcess;
use React\EventLoop\LoopInterface;
use React\Promise\PromiseInterface;
use WyriHaximus\CpuCoreDetector\Detector;
use WyriHaximus\CpuCoreDetector\Resolver;
use WyriHaximus\FileDescriptors\Factory;
use WyriHaximus\FileDescriptors\NoCompatibleListerException;
Expand Down
1 change: 0 additions & 1 deletion src/Factory/CpuCoreCountFlexible.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use React\ChildProcess\Process as ChildProcess;
use React\EventLoop\LoopInterface;
use React\Promise\PromiseInterface;
use WyriHaximus\CpuCoreDetector\Detector;
use WyriHaximus\CpuCoreDetector\Resolver;
use WyriHaximus\FileDescriptors\Factory;
use WyriHaximus\FileDescriptors\NoCompatibleListerException;
Expand Down
1 change: 0 additions & 1 deletion src/Pool/Flexible.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ protected function ttl(WorkerInterface $worker)
if ($stop <= time()) {
$this->loop->cancelTimer($timer);
$worker->terminate();
return;
}
});
}
Expand Down
1 change: 0 additions & 1 deletion src/PoolInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace WyriHaximus\React\ChildProcess\Pool;

use Evenement\EventEmitterInterface;
use React\ChildProcess\Process;
use React\EventLoop\LoopInterface;
use React\Promise\PromiseInterface;
use WyriHaximus\React\ChildProcess\Messenger\Messages\Message;
Expand Down
1 change: 0 additions & 1 deletion src/ProcessCollection/ArrayList.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace WyriHaximus\React\ChildProcess\Pool\ProcessCollection;

use ArrayIterator;
use React\ChildProcess\Process;
use WyriHaximus\React\ChildProcess\Pool\ProcessCollectionInterface;

class ArrayList implements ProcessCollectionInterface
Expand Down
1 change: 0 additions & 1 deletion src/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Evenement\EventEmitterTrait;
use React\Promise\PromiseInterface;
use WyriHaximus\React\ChildProcess\Messenger\Messages\Message;
use WyriHaximus\React\ChildProcess\Messenger\Messages\Payload;
use WyriHaximus\React\ChildProcess\Messenger\Messages\Rpc;
use WyriHaximus\React\ChildProcess\Messenger\Messenger;

Expand Down