src/Persistence/Sql/Sqlite/Query.php
Method _renderConditionBinary
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
#[\Override] // @phpstan-ignore method.childParameterType (https://github.com/phpstan/phpstan/issues/10942)
protected function _renderConditionBinary(string $operator, string $sqlLeft, $sqlRight): string
{
if (in_array($operator, ['in', 'not in'], true)) {
if (is_array($sqlRight)) {
- Create a ticketCreate a ticket
Method _renderConditionLikeOperator
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
#[\Override]
protected function _renderConditionLikeOperator(bool $negated, string $sqlLeft, string $sqlRight): string
{
return ($negated ? 'not ' : '') . $this->_renderConditionBinaryReuse(
$sqlLeft,
- Create a ticketCreate a ticket
Method _renderConditionBinaryReuse
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $sqlLeft,
string $sqlRight,
\Closure $makeSqlFx,
bool $allowReuseLeft = true,
bool $allowReuseRight = true,
- Create a ticketCreate a ticket