Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | public function getButtonData() |
||
34 | { |
||
35 | $data = []; |
||
36 | if ($this->getModelId()) { |
||
37 | $data = [ |
||
38 | 'label' => __('Delete FAQ group'), |
||
39 | 'class' => 'delete', |
||
40 | 'on_click' => 'deleteConfirm(\'' . __( |
||
41 | 'Are you sure you want to do this?' |
||
42 | ) . '\', \'' . $this->getDeleteUrl() . '\')', |
||
43 | 'sort_order' => 20, |
||
44 | ]; |
||
45 | } |
||
46 | return $data; |
||
47 | } |
||
59 |
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