| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1.064 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | 2 | public static function testAsynchronousClient(AsynchronousClient $client, LoopInterface $loop, LoggerInterface $logger): void |
|
| 12 | { |
||
| 13 | /** @phpstan-ignore-next-line */ |
||
| 14 | 2 | $client->get('foo')->then( |
|
| 15 | 2 | null, |
|
| 16 | function (\Exception $e) use ($loop, $logger) { |
||
| 17 | $logger->error(\sprintf('Redis error: %s', $e->getMessage())); |
||
| 18 | $loop->stop(); |
||
| 19 | 2 | } |
|
| 29 |