Showing 3,272 of 4,939 total issues
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();
Avoid too many return
statements within this method. Open
Open
return NullType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return Variable::getUnionTypeOfHardcodedGlobalVariableWithName($variable_name);
Avoid too many return
statements within this method. Open
Open
return IntType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return (bool)$cond;
Avoid too many return
statements within this method. Open
Open
return $union_type;
Avoid too many return
statements within this method. Open
Open
return NullType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return $element_types;