Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return new ast\Node($type, 0, ['var' => static::phpParserNodeToAstNode($n->operand)], $start_line);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'(throw %s)',
self::toShortString($node->children['expr'])
);
Avoid too many return
statements within this method. Open
Open
return UnionType::fromFullyQualifiedRealString('-1|0|1');
Avoid too many return
statements within this method. Open
Open
return ArrayType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_INSTANCEOF, 0, [
'expr' => static::phpParserNodeToAstNode($n->leftOperand),
'class' => static::phpParserNonValueNodeToAstNode($n->rightOperand),
], $start_line);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_INCLUDE_OR_EVAL,
$flags,
['expr' => static::phpParserNodeToAstNode($n->expression)],
$start_line
Avoid too many return
statements within this method. Open
Open
return $e;
Avoid too many return
statements within this method. Open
Open
return '"' . implode('', $parts) . '"';
Avoid too many return
statements within this method. Open
Open
return '(switch statement)';
Avoid too many return
statements within this method. Open
Open
return $visitor->visitUnionTypeFalse($this->node);
Avoid too many return
statements within this method. Open
Open
return UnionType::fromFullyQualifiedRealString('int');
Avoid too many return
statements within this method. Open
Open
return $str;
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_VAR, 0, ['name' => $name_node], $start_line);
Avoid too many return
statements within this method. Open
Open
return '(fn)';
Avoid too many return
statements within this method. Open
Open
return $this->analyzeCoalesce($node);
Avoid too many return
statements within this method. Open
Open
return $this->context->getClassFQSEN()->asType()->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_EMPTY, 0, ['expr' => static::phpParserNodeToAstNode($n->expression)], $start_line);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_NEW, 0, [
'class' => $class_node,
'args' => static::phpParserArgListToAstArgList($n->argumentExpressionList, $start_line),
], $start_line);
Avoid too many return
statements within this method. Open
Open
return '(function)';
Avoid too many return
statements within this method. Open
Open
return static::astNodeMethodCall(
$callable_expression->arrowToken->kind === TokenKind::QuestionArrowToken ? ast\AST_NULLSAFE_METHOD_CALL : ast\AST_METHOD_CALL,
static::phpParserNonValueNodeToAstNode($callable_expression->dereferencableExpression),
static::phpParserNodeToAstNode($callable_expression->memberName),
$arg_list,