Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return "[$string]";
Avoid too many return
statements within this method. Open
Open
return sprintf('(%s ?: %s)', self::toShortString($cond), self::toShortString($false));
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return $context->getScope()->getVariableByName(
$variable_name
);
Avoid too many return
statements within this method. Open
Open
return ArrayType::combineArrayTypesOverriding($left, $right, false);
Avoid too many return
statements within this method. Open
Open
return (self::$closure_map[$node->kind] ?? self::$noop)($node);
Avoid too many return
statements within this method. Open
Open
return '\\' . $result;
Avoid too many return
statements within this method. Open
Open
return $type;
Avoid too many return
statements within this method. Open
Open
return self::STATUS_THROW;
Avoid too many return
statements within this method. Open
Open
return \in_array($parent_kind, self::READ_AND_WRITE_KINDS, true);
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return $node->children['name'] . ': ' . self::toShortString($node->children['expr']);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'%s?->%s%s',
self::toShortString($node->children['expr']),
is_string($method_node) ? $method_node : self::toShortString($method_node),
self::toShortString($node->children['args'])
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return self::toShortString($node->children['class']) . '::class';
Avoid too many return
statements within this method. Open
Open
return (string)$result;
Avoid too many return
statements within this method. Open
Open
return sprintf(
'%s%s',
self::toShortString($node->children['expr']),
self::toShortString($node->children['args'])
);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'new %s%s',
self::toShortString($node->children['class']),
self::toShortString($node->children['args'])
);
Avoid too many return
statements within this method. Open
Open
return sprintf('match (%s) {%s}', ASTReverter::toShortString($cond), $stmts->children ? ' ' . ASTReverter::toShortString($stmts) . ' ' : '');
Avoid too many return
statements within this method. Open
Open
return sprintf(
'isset(%s)',
self::toShortString($node->children['var'])
);