Total Complexity | 9 |
Total Lines | 70 |
Duplicated Lines | 0 % |
Coverage | 68% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class BladeCompiler |
||
12 | { |
||
13 | /** |
||
14 | * @param $data |
||
15 | * @return mixed |
||
16 | */ |
||
17 | 5 | protected static function absorbApplicationEnvironment($data) |
|
18 | { |
||
19 | 5 | $data['__env'] = app(Factory::class); |
|
20 | |||
21 | 5 | return $data; |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param string $php |
||
26 | * @param array $data |
||
27 | * @throws \Symfony\Component\Debug\Exception\FatalThrowableError |
||
28 | */ |
||
29 | 5 | protected static function compile(string $php, array $data) |
|
47 | } |
||
48 | 5 | } |
|
49 | |||
50 | /** |
||
51 | * @return false|string |
||
52 | */ |
||
53 | 5 | protected static function getRendered() |
|
54 | { |
||
55 | 5 | return ob_get_clean(); |
|
56 | } |
||
57 | |||
58 | /** |
||
59 | * @return int |
||
60 | */ |
||
61 | 5 | protected static function initializeOutputBuffering() |
|
68 | } |
||
69 | |||
70 | /** |
||
71 | * @param $string |
||
72 | * @param $data |
||
73 | * @return false|string |
||
74 | * @throws \Symfony\Component\Debug\Exception\FatalThrowableError |
||
75 | */ |
||
76 | 5 | public static function render($string, $data) |
|
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