Conditions | 5 |
Paths | 5 |
Total Lines | 18 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 12.4085 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | 5 | protected static function compile(string $php, array $data) |
|
30 | { |
||
31 | 5 | $obLevel = self::initializeOutputBuffering(); |
|
32 | |||
33 | try { |
||
34 | 5 | extract(self::absorbApplicationEnvironment($data), EXTR_SKIP); |
|
35 | |||
36 | 5 | eval('?' . '>' . $php); |
|
37 | } catch (Exception $e) { |
||
38 | while (ob_get_level() > $obLevel) { |
||
39 | ob_end_clean(); |
||
40 | } |
||
41 | throw $e; |
||
42 | } catch (Throwable $e) { |
||
43 | while (ob_get_level() > $obLevel) { |
||
44 | ob_end_clean(); |
||
45 | } |
||
46 | throw new FatalThrowableError($e); |
||
47 | } |
||
83 |
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