Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return UnionTypeVisitor::MAGIC_CONST_NAME_MAP[$node->flags] ?? '(unknown)';
Avoid too many return
statements within this method. Open
Open
return sprintf(
'%s::$%s',
self::toShortString($node->children['class']),
$prop_node instanceof Node ? '{' . self::toShortString($prop_node) . '}' : (string)$prop_node
);
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return;
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 $parent_node !== ($parent_parent_node->children['cond'] ?? null);
Avoid too many return
statements within this method. Open
Open
return '$' . (is_string($name_node) ? $name_node : ('{' . self::toShortString($name_node) . '}'));
Avoid too many return
statements within this method. Open
Open
return '(unknown)';
Avoid too many return
statements within this method. Open
Open
return 'namespace\\' . $result;
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 "list($string)";
Avoid too many return
statements within this method. Open
Open
return $operation_name . $expr_text;
Avoid too many return
statements within this method. Open
Open
return sprintf(
'(clone(%s))',
self::toShortString($node->children['expr'])
);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'%s::%s%s',
self::toShortString($node->children['class']),
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 implode(', ', \array_map('self::toShortString', $node->children));
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 instanceof %s)',
self::toShortString($node->children['expr']),
self::toShortString($node->children['class'])
);
Avoid too many return
statements within this method. Open
Open
return sprintf(
'...(%s)',
self::toShortString($node->children['expr'])
);