Conditions | 4 |
Paths | 8 |
Total Lines | 19 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 0 |
1 | <?php |
||
29 | public function getDriverClass(): string |
||
30 | { |
||
31 | $driverClass = Dummy::class; |
||
32 | |||
33 | // @codeCoverageIgnoreStart |
||
34 | if ($this->isHHVM()) { |
||
35 | $driverClass = HHVM::class; |
||
36 | } |
||
37 | |||
38 | if ($this->isPHPDBG()) { |
||
39 | $driverClass = PHPDBG::class; |
||
40 | } |
||
41 | |||
42 | if ($this->hasXdebug()){ |
||
43 | $driverClass = Xdebug::class; |
||
44 | } |
||
45 | // @codeCoverageIgnoreEnd |
||
46 | |||
47 | return $driverClass; |
||
48 | } |
||
64 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths