Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Hook extends TypesHook |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @param $row |
||
18 | * @param $column DatetimeModel |
||
|
|||
19 | * @return mixed |
||
20 | */ |
||
21 | public function indexRender($row, $column) |
||
22 | { |
||
23 | if($column->getFormat()) { |
||
24 | return date($column->getFormat(), strtotime($row->{$column->getField()})); |
||
25 | }else{ |
||
26 | return $row->{$column->getField()}; |
||
27 | } |
||
28 | } |
||
29 | |||
30 | public function detailRender($row, $column) |
||
33 | } |
||
34 | |||
35 | public function filterQuery($query, $column, $value) |
||
45 | } |
||
46 | } |
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