Conditions | 3 |
Paths | 4 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
29 | private function getCurrentTemplate($template_slug) |
||
30 | { |
||
31 | if (is_null($template_slug)) { |
||
32 | $template = TemplateModel::where('active', true)->where('type', 'default')->first(); |
||
33 | } else { |
||
34 | $template = TemplateModel::where('slug', $template_slug)->first(); |
||
35 | } |
||
36 | |||
37 | if (is_null($template)) { |
||
38 | throw new Exception('Whoops! No Template Defined...'); |
||
39 | } |
||
40 | |||
41 | return $template; |
||
42 | } |
||
62 |
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