Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class MssqlTableSchema extends TableSchema |
||
13 | { |
||
14 | private ?string $catalogName = null; |
||
15 | private array $foreignKeys = []; |
||
16 | |||
17 | /** |
||
18 | * @param string|null name of the catalog (database) that this table belongs to. Defaults to null, meaning no |
||
|
|||
19 | * catalog (or the current database). |
||
20 | */ |
||
21 | public function catalogName(?string $value): void |
||
22 | { |
||
23 | $this->catalogName = $value; |
||
24 | } |
||
25 | |||
26 | public function getCatalogName(): ?string |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return array foreign keys of this table. Each array element is of the following structure: |
||
33 | * |
||
34 | * ```php |
||
35 | * [ |
||
36 | * 'ForeignTableName', |
||
37 | * 'fk1' => 'pk1', // pk1 is in foreign table |
||
38 | * 'fk2' => 'pk2', // if composite foreign key |
||
39 | * ] |
||
40 | * ``` |
||
41 | */ |
||
42 | public function getForeignKeys(): array |
||
43 | { |
||
44 | return $this->foreignKeys; |
||
45 | } |
||
46 | |||
47 | public function foreignKeys(array $value): void |
||
50 | } |
||
51 | } |
||
52 |
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