1 | <?php |
||
2 | |||
3 | namespace Bdf\Prime\Query\Expression; |
||
4 | |||
5 | use Bdf\Prime\Exception\PrimeException; |
||
6 | use Bdf\Prime\Query\CompilableClause; |
||
7 | |||
8 | /** |
||
9 | * SQL Expression |
||
10 | * |
||
11 | * inject sql expression into query builder |
||
12 | * |
||
13 | * @package Bdf\Prime\Query\Expression |
||
14 | * |
||
15 | * @template Q as \Bdf\Prime\Query\CompilableClause&\Bdf\Prime\Query\Contract\Compilable |
||
16 | * @template C as object |
||
17 | */ |
||
18 | interface ExpressionInterface |
||
19 | { |
||
20 | /** |
||
21 | * Build the expression on query builder |
||
22 | * |
||
23 | * @param Q $query |
||
0 ignored issues
–
show
|
|||
24 | * @param C $compiler |
||
0 ignored issues
–
show
The type
Bdf\Prime\Query\Expression\C was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
25 | * |
||
26 | * @return string |
||
27 | * @throws PrimeException |
||
28 | */ |
||
29 | public function build(CompilableClause $query, object $compiler); |
||
30 | } |
||
31 |
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