Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return $visitor->visitMagicMethod($this->node);
Avoid too many return
statements within this method. Open
Open
return $visitor->visitMagicNamespace($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 $visitor->visitMagicTrait($this->node);
Avoid too many return
statements within this method. Open
Open
return UnionType::fromFullyQualifiedRealString('int|float');
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return static::phpParserNodeToAstNode($n->rightOperand);
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 $visitor->visitUnionTypeNull($this->node);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'%s(%s)',
self::EXEC_NODE_FLAG_NAMES[$node->flags],
self::toShortString($node->children['expr'])
);
Avoid too many return
statements within this method. Open
Open
return '`' . implode('', $parts) . '`';
Avoid too many return
statements within this method. Open
Open
return '(while loop)';
Avoid too many return
statements within this method. Open
Open
return '(switch case statement)';
Avoid too many return
statements within this method. Open
Open
return '(do-while loop)';
Avoid too many return
statements within this method. Open
Open
return '(if statement)';
Avoid too many return
statements within this method. Open
Open
return static::astNodeAssign(
$var_node,
$expr_node,
$start_line,
$n->byRef !== null
Avoid too many return
statements within this method. Open
Open
return static::astNodeBinaryop($ast_kind, $n, $start_line);
Avoid too many return
statements within this method. Open
Open
return static::astDeclClosure(
$n->byRefToken !== null,
$n->staticModifier !== null,
static::phpParserParamsToAstParams($n->parameters, $start_line),
static::phpParserClosureUsesToAstClosureUses($use_variable_name_list, $start_line),
Avoid too many return
statements within this method. Open
Open
return static::newASTDecl(
ast\AST_ARROW_FUNC,
($n->byRefToken !== null ? flags\FUNC_RETURNS_REF : 0) | ($n->staticModifier !== null ? flags\MODIFIER_STATIC : null),
[
'params' => static::phpParserParamsToAstParams($n->parameters, $start_line),