Conditions | 2 |
Paths | 3 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
17 | 3 | public function __construct() |
|
18 | { |
||
19 | try { |
||
20 | 3 | $this->responseFactory = new ResponseFactory(); |
|
21 | 3 | $this->streamFactory = new StreamFactory(); |
|
22 | // @codeCoverageIgnoreStart |
||
23 | } catch (Throwable) { |
||
24 | throw new RuntimeException('Install nyholm/psr7-server'); |
||
25 | // @codeCoverageIgnoreEnd |
||
34 |