Showing 3,272 of 4,939 total issues
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,
Avoid too many return
statements within this method. Open
Open
return '(for loop)';
Avoid too many return
statements within this method. Open
Open
return $visitor->visitMagicLine($this->node);
Avoid too many return
statements within this method. Open
Open
return UnionType::empty();
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_STATIC_PROP,
0,
[
'class' => static::phpParserNonValueNodeToAstNode($n->scopeResolutionQualifier),
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_EXIT, 0, ['expr' => $expr_node], $start_line);
Avoid too many return
statements within this method. Open
Open
return '(foreach loop)';
Avoid too many return
statements within this method. Open
Open
return $visitor->visitUnionTypeObject($this->node);
Avoid too many return
statements within this method. Open
Open
return $method->getUnionType();