packages/CodeQuality/src/Rector/Identical/SimplifyConditionsRector.php
private function shouldSkip(BinaryOp $binaryOp): bool
    {
        if ($binaryOp instanceof BooleanOr) {
            return true;
        }

        if ($binaryOp->left instanceof BinaryOp) {
            return true;
        }
        return $binaryOp->right instanceof BinaryOp;
    }
private function shouldSkip(BinaryOp $binaryOp): bool
    {
        if ($binaryOp instanceof BooleanOr) {
            return true;
        }

        if ($binaryOp->left instanceof BinaryOp) {
            return true;
        }
        return $binaryOp->right instanceof BinaryOp;
    }
private function shouldSkip ( BinaryOp $ binaryOp ) : bool { if ( $ binaryOp instanceof BooleanOr ) { return true ; } if ( $ binaryOp -> left instanceof BinaryOp ) { return true ; } return $ binaryOp -> right instanceof BinaryOp ; }
Skip too nested binary || binary > binary combinations
Skip too nested binary || binary > binary combinations