@@ -6,7 +6,6 @@ |
||
6 | 6 | use ApiClients\Client\Travis\Resource\BroadcastInterface; |
7 | 7 | use ApiClients\Client\Travis\Service\FetchAndIterateService; |
8 | 8 | use React\Promise\PromiseInterface; |
9 | -use Rx\Observable; |
|
10 | 9 | use function React\Promise\resolve; |
11 | 10 | use function WyriHaximus\React\futureFunctionPromise; |
12 | 11 |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use ApiClients\Client\Travis\Resource\BroadcastInterface; |
7 | 7 | use ApiClients\Client\Travis\Service\FetchAndIterateService; |
8 | 8 | use React\Promise\PromiseInterface; |
9 | -use Rx\Observable; |
|
10 | 9 | use function React\Promise\resolve; |
11 | 10 | use function WyriHaximus\React\futureFunctionPromise; |
12 | 11 |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace ApiClients\Client\Travis\CommandBus\Handler; |
4 | 4 | |
5 | 5 | use ApiClients\Client\Travis\CommandBus\Command\HooksCommand; |
6 | -use ApiClients\Client\Travis\Resource\AccountInterface; |
|
7 | 6 | use ApiClients\Client\Travis\Resource\HookInterface; |
8 | 7 | use ApiClients\Client\Travis\Service\FetchAndIterateService; |
9 | 8 | use React\Promise\PromiseInterface; |
10 | -use Rx\Observable; |
|
11 | 9 | use function React\Promise\resolve; |
12 | 10 | use function WyriHaximus\React\futureFunctionPromise; |
13 | 11 |
@@ -6,12 +6,9 @@ |
||
6 | 6 | use ApiClients\Client\Travis\CommandBus\Command; |
7 | 7 | use ApiClients\Foundation\Client; |
8 | 8 | use ApiClients\Foundation\Factory; |
9 | -use ApiClients\Foundation\Hydrator\CommandBus\Command\HydrateCommand; |
|
10 | -use ApiClients\Foundation\Transport\CommandBus\Command\SimpleRequestCommand; |
|
11 | 9 | use React\EventLoop\LoopInterface; |
12 | 10 | use React\Promise\CancellablePromiseInterface; |
13 | 11 | use React\Promise\PromiseInterface; |
14 | -use Rx\Observable; |
|
15 | 12 | use Rx\ObservableInterface; |
16 | 13 | use function ApiClients\Tools\Rx\unwrapObservableFromPromise; |
17 | 14 | use function React\Promise\resolve; |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace ApiClients\Client\Travis\CommandBus\Handler; |
4 | 4 | |
5 | 5 | use ApiClients\Client\Travis\CommandBus\Command\CachesCommand; |
6 | -use ApiClients\Client\Travis\CommandBus\Command\RepositoryCommand; |
|
7 | 6 | use ApiClients\Client\Travis\Resource\CacheInterface; |
8 | -use ApiClients\Client\Travis\Resource\RepositoryInterface; |
|
9 | 7 | use ApiClients\Tools\Services\Client\FetchAndHydrateService; |
10 | 8 | use ApiClients\Tools\Services\Client\FetchAndIterateService; |
11 | 9 | use React\Promise\PromiseInterface; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace ApiClients\Client\Travis\CommandBus\Handler; |
4 | 4 | |
5 | 5 | use ApiClients\Client\Travis\CommandBus\Command\BranchesCommand; |
6 | -use ApiClients\Client\Travis\CommandBus\Command\CachesCommand; |
|
7 | 6 | use ApiClients\Client\Travis\Resource\BranchInterface; |
8 | 7 | use ApiClients\Tools\Services\Client\FetchAndHydrateService; |
9 | 8 | use ApiClients\Tools\Services\Client\FetchAndIterateService; |
@@ -11,9 +11,7 @@ |
||
11 | 11 | use React\EventLoop\LoopInterface; |
12 | 12 | use React\Promise\CancellablePromiseInterface; |
13 | 13 | use React\Promise\PromiseInterface; |
14 | -use Rx\Observable; |
|
15 | 14 | use Rx\ObservableInterface; |
16 | -use Rx\React\Promise; |
|
17 | 15 | use function ApiClients\Tools\Rx\unwrapObservableFromPromise; |
18 | 16 | use function React\Promise\resolve; |
19 | 17 |