Conditions | 4 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
24 | public function __construct() |
||
25 | { |
||
26 | if (!extension_loaded('xdebug')) { |
||
27 | throw new AdapterNotAvailableException('This adapter requires Xdebug'); |
||
28 | } |
||
29 | |||
30 | if ($this->isSupportXdebugVersion() && $this->isXdebugCoverageEnabled()) { |
||
31 | throw new AdapterNotAvailableException('xdebug.coverage_enable=On has to be set in php.ini'); |
||
32 | } |
||
33 | } |
||
34 | |||
65 |