Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return static::phpParserPropertyToAstNode($n, $start_line);
Avoid too many return
statements within this method. Open
Open
return \count($static_nodes) === 1 ? $static_nodes[0] : $static_nodes;
Avoid too many return
statements within this method. Open
Open
return static::phpParserSwitchListToAstSwitch($n);
Avoid too many return
statements within this method. Open
Open
return static::phpParserThrowToASTThrow($n, $start_line);
Avoid too many return
statements within this method. Open
Open
return $children;
Avoid too many return
statements within this method. Open
Open
return static::phpParserIfStmtToAstIfStmt($n, $start_line);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_FOR,
0,
[
'init' => $n->forInitializer !== null ? static::phpParserExprListToExprList($n->forInitializer, $start_line) : null,
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_GOTO, 0, ['label' => static::tokenToString($n->name)], $start_line);
Avoid too many return
statements within this method. Open
Open
return static::astStmtClass(
flags\CLASS_INTERFACE,
static::tokenToString($n->name),
static::interfaceBaseClauseToNode($n->interfaceBaseClause),
null,
Avoid too many return
statements within this method. Open
Open
return static::phpParserConstToAstNode($n, $start_line);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_ECHO,
0,
['expr' => static::tokenToRawString($n->text)],
$start_line
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_NAMESPACE,
0,
[
'name' => $name_node !== null ? static::phpParserNameToString($name_node) : null,
Avoid too many return
statements within this method. Open
Open
return new ast\Node(ast\AST_TRAIT_ALIAS, $flags, $children, $start_line);
Avoid too many return
statements within this method. Open
Open
return $doc_comment;
Avoid too many return
statements within this method. Open
Open
return UnionTypeVisitor::unionTypeFromNode(
$this->code_base,
$this->context,
$arg_node
);
Avoid too many return
statements within this method. Open
Open
return $object_type->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return $resulting_element_type;
Avoid too many return
statements within this method. Open
Open
return ObjectType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return NullType::instance(false)->asRealUnionType()->withIsDefinitelyUndefined();
Avoid too many return
statements within this method. Open
Open
return Type::fromObject($node)->asRealUnionType();