Total Complexity | 5 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait TableBuilder { |
||
10 | use AbstractTableNameBuilder; |
||
11 | |||
12 | /** @var array<int, array{alias: string|null, name: DBTableNameType}> */ |
||
13 | private $tables = []; |
||
14 | |||
15 | /** |
||
16 | * @param string|null $alias |
||
17 | * @param DBTableNameType $table |
||
|
|||
18 | * @return $this |
||
19 | */ |
||
20 | protected function addTable(?string $alias, $table) { |
||
21 | $this->tables[] = ['alias' => $alias, 'name' => $table]; |
||
22 | return $this; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param string $query |
||
27 | * @return string |
||
28 | */ |
||
29 | protected function buildTables(string $query): string { |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return array<int, array{alias: string|null, name: DBTableNameType}> |
||
42 | */ |
||
43 | protected function getTables(): array { |
||
45 | } |
||
46 | } |
||
47 |
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