Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | abstract class Delete extends Statement { |
||
17 | use TableNameBuilder; |
||
18 | use TableBuilder; |
||
19 | use JoinBuilder; |
||
20 | use WhereBuilder; |
||
21 | use OrderByBuilder; |
||
22 | use LimitBuilder; |
||
23 | use OffsetBuilder; |
||
24 | |||
25 | /** @var string[] */ |
||
26 | private array $aliases = []; |
||
27 | |||
28 | /** |
||
29 | * Name der Tabelle |
||
30 | * |
||
31 | * @param ($table is null ? DBTableNameType : string) $alias |
||
|
|||
32 | * @param null|DBTableNameType $table |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function from($alias, $table = null) { |
||
36 | if($table !== null) { |
||
37 | $this->aliases[] = $alias; |
||
38 | } |
||
39 | if($table === null) { |
||
40 | [$alias, $table] = [$table, $alias]; |
||
41 | } |
||
42 | $this->addTable($alias, $table); |
||
43 | return $this; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @param array<string, mixed> $params |
||
48 | * @return int |
||
49 | */ |
||
50 | abstract public function run(array $params = []); |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function __toString(): string { |
||
66 | } |
||
67 | } |
||
68 |
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