Showing 3,272 of 4,939 total issues
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),
Avoid too many return
statements within this method. Open
Open
return static::phpParserListToAstList($n, $start_line);
Avoid too many return
statements within this method. Open
Open
return StringType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_PRINT,
0,
['expr' => static::phpParserNodeToAstNode($n->expression)],
$start_line
Avoid too many return
statements within this method. Open
Open
return Type::fromFullyQualifiedString('\stdClass')->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return static::phpParserNodeToAstNode($n->expression);
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_UNARY_OP,
$ast_kind,
['expr' => static::phpParserNodeToAstNode($n->operand)],
$start_line
Avoid too many return
statements within this method. Open
Open
return new ast\Node(
ast\AST_UNARY_OP,
flags\UNARY_SILENCE,
['expr' => static::phpParserNodeToAstNode($n->operand)],
$start_line
Avoid too many return
statements within this method. Open
Open
return static::phpParserArrayToAstArray($n, $start_line);