| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | 33 | public function build(LikeConditionInterface $expression, array &$params = []): string |
|
| 40 | { |
||
| 41 | 33 | if (!isset($this->escapingReplacements['\\'])) { |
|
| 42 | /* |
||
| 43 | * Different pdo_oci8 versions may or may not implement `PDO::quote()`, so {@see Quoter::quoteValue()} may or |
||
| 44 | * may not quote `\`. |
||
| 45 | */ |
||
| 46 | 33 | $this->escapingReplacements['\\'] = substr((string) $this->queryBuilder->quoter()->quoteValue('\\'), 1, -1); |
|
| 47 | } |
||
| 48 | |||
| 49 | 33 | return parent::build($expression, $params); |
|
| 50 | } |
||
| 61 |