Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | class Row extends \Bluz\Db\Row |
||
28 | { |
||
29 | use Validator; |
||
30 | |||
31 | /** |
||
32 | * beforeSave |
||
33 | * |
||
34 | * @return void |
||
35 | */ |
||
36 | public function beforeSave(): void |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return void |
||
45 | */ |
||
46 | public function beforeInsert(): void |
||
47 | { |
||
48 | $this->created = gmdate('Y-m-d H:i:s'); |
||
49 | $this->userId = Auth::getIdentity()->getId(); |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @return void |
||
54 | */ |
||
55 | public function beforeUpdate(): void |
||
58 | } |
||
59 | } |
||
60 |
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