| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class LikeConditionBuilder extends AbstractLikeConditionBuilder |
||
| 14 | { |
||
| 15 | protected ?string $escapeCharacter = '!'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * `\` is initialized in {@see buildLikeCondition()} method since we need to choose replacement value based on |
||
| 19 | * {@see Quoter::quoteValue()}. |
||
| 20 | */ |
||
| 21 | protected array $escapingReplacements = [ |
||
| 22 | '%' => '!%', |
||
| 23 | '_' => '!_', |
||
| 24 | '!' => '!!', |
||
| 25 | ]; |
||
| 26 | |||
| 27 | 31 | public function __construct(private QueryBuilderInterface $queryBuilder) |
|
| 28 | { |
||
| 29 | 31 | parent::__construct($queryBuilder); |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @throws Exception |
||
| 34 | */ |
||
| 35 | 31 | public function build(ExpressionInterface $expression, array &$params = []): string |
|
| 46 | } |
||
| 47 | } |
||
| 48 |
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