Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return $str;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return '(unknown)';
Avoid too many return
statements within this method. Open
Open
return sprintf("%s(%s)", $operation_name, $expr_text);
Avoid too many return
statements within this method. Open
Open
return sprintf('(%s ? %s : %s)', self::toShortString($cond), self::toShortString($true), self::toShortString($false));
Avoid too many return
statements within this method. Open
Open
return sprintf('%s => %s', $cond !== null ? ASTReverter::toShortString($cond) : 'default', ASTReverter::toShortString($expr));
Avoid too many return
statements within this method. Open
Open
return $result->asNormalizedTypes();
Avoid too many return
statements within this method. Open
Open
return $unknown_type;
Avoid too many return
statements within this method. Open
Open
return $probably_array_type;
Avoid too many return
statements within this method. Open
Open
return '(' . implode(', ', \array_map('self::toShortString', $node->children)) . ')';
Avoid too many return
statements within this method. Open
Open
return self::toShortString($node->children['name']);
Avoid too many return
statements within this method. Open
Open
return $this->compareYieldFromAgainstDeclaredType($node, $method, $context, $type_list, $yield_from_type);
Avoid too many return
statements within this method. Open
Open
return $parent_node->children['var'] === $node;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return "${expr_str}{{$dim_str}}";
Avoid too many return
statements within this method. Open
Open
return sprintf(
"(%s = %s)",
self::toShortString($node->children['var']),
self::toShortString($node->children['expr'])
);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'%s->%s',
self::toShortString($node->children['expr']),
$prop_node instanceof Node ? '{' . self::toShortString($prop_node) . '}' : (string)$prop_node
);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'(%s)(%s)',
// @phan-suppress-next-line PhanAccessClassConstantInternal
PostOrderAnalysisVisitor::AST_CAST_FLAGS_LOOKUP[$node->flags] ?? 'unknown',
self::toShortString($node->children['expr'])