Showing 4,939 of 4,939 total issues
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();
Avoid too many return
statements within this method. Open
Open
return $expr;
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_CLONE, 0, ['expr' => static::phpParserNodeToAstNode($n->expression)], $start_line);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'return %s;',
self::toShortString($node->children['expr'])
);
Avoid too many return
statements within this method. Open
Open
return $visitor->visitClassAnonymous($this->node);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_CAST,
$ast_kind,
['expr' => static::phpParserNodeToAstNode($n->operand)],
static::getEndLine($n) ?: $start_line
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_NAME, flags\NAME_NOT_FQ, ['name' => $str], $start_line);
Avoid too many return
statements within this method. Open
Open
return static::astNodeCall(
static::phpParserNonValueNodeToAstNode($callable_expression),
$arg_list,
$start_line
);
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return $visitor->visitUnionTypeStatic($this->node);
Avoid too many return
statements within this method. Open
Open
return StaticType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return UnionType::empty();
Avoid too many return
statements within this method. Open
Open
return $parent_type_option->get()->asRealUnionType();