Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | final class PdoValue implements ExpressionInterface |
||
24 | { |
||
25 | public function __construct(private ?string $value = null, private ?int $type = null) |
||
26 | { |
||
27 | } |
||
28 | |||
29 | public function build( |
||
30 | QueryBuilderInterface $queryBuilder, |
||
31 | ExpressionInterface $expression, |
||
32 | array &$params = [] |
||
33 | ): string { |
||
34 | return (new PdoValueBuilder())->build($expression, $params); |
||
35 | } |
||
36 | |||
37 | public function getValue(): ?string |
||
38 | { |
||
39 | return $this->value; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return int|null One of PDO_PARAM_* constants |
||
44 | * |
||
45 | * {@see http://php.net/manual/en/pdo.constants.php} |
||
46 | */ |
||
47 | public function getType(): ?int |
||
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