Conditions | 2 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
40 | 1 | public function handle($action, $type, $base_url) |
|
41 | { |
||
42 | 1 | $this->language->add_lang('admin', 'blitze/content'); |
|
43 | |||
44 | try |
||
45 | { |
||
46 | 1 | $command = $this->action_handler->create('type', $action); |
|
47 | 1 | $command->execute($base_url, $type); |
|
48 | } |
||
49 | 1 | catch (\blitze\sitemaker\exception\base $e) |
|
|
|||
50 | { |
||
51 | 1 | $message = $e->get_message($this->language); |
|
52 | 1 | trigger_error($this->language->lang($message) . adm_back_link($base_url), E_USER_WARNING); |
|
53 | } |
||
56 |
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