Total Complexity | 2 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
22 | class Table extends \Bluz\Db\Table |
||
|
|||
23 | { |
||
24 | /** |
||
25 | * Table |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $name = 'pages'; |
||
30 | |||
31 | /** |
||
32 | * Primary key(s) |
||
33 | * |
||
34 | * @var array |
||
35 | */ |
||
36 | protected $primary = ['id']; |
||
37 | |||
38 | /** |
||
39 | * Get page by Alias |
||
40 | * |
||
41 | * @param $alias |
||
42 | * |
||
43 | * @return Row |
||
44 | * @throws \Bluz\Db\Exception\DbException |
||
45 | 2 | */ |
|
46 | public function getByAlias($alias): ?Row |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * Init table relations |
||
53 | * |
||
54 | * @return void |
||
55 | 1 | */ |
|
56 | public function init(): void |
||
61 |
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