Showing 3,272 of 4,939 total issues
Method locateGlobalFunctionCompletion
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CompletionRequest $request,
CodeBase $code_base,
Context $context,
Node $node,
string $incomplete_function_name
Method showLongProgress
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private static function showLongProgress(string $msg, float $p, float $memory, ?int $offset, ?int $count): void
Method withNamespaceMap
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int $flags,
string $alias,
FullyQualifiedGlobalStructuralElement $target,
int $lineno,
CodeBase $code_base = null
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Context $context,
string $name,
UnionType $type,
int $flags,
FullyQualifiedClassElement $fqsen
Method fromStringInContext
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $comment,
CodeBase $code_base,
Context $context,
int $lineno,
int $comment_type
Method warnDuplicateUse
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function warnDuplicateUse(CodeBase $code_base, FullyQualifiedGlobalStructuralElement $target, int $lineno, int $flags, string $alias): void
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Context $context,
string $name,
UnionType $type,
int $flags,
FQSEN $fqsen
Method fromNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Context $context,
CodeBase $code_base,
Node $node,
FullyQualifiedMethodName $fqsen,
?Clazz $class = null
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Context $context,
string $name,
UnionType $type,
int $flags,
FullyQualifiedClassConstantName $fqsen
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $name,
UnionType $type,
array $parameters,
bool $is_static,
int $line
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct(FileRef $file_ref, array $params, UnionType $return_type, bool $returns_reference, bool $is_nullable)
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct(UnionType $type, bool $is_variadic, bool $is_reference, bool $is_optional, string $name = null)
Method make
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $namespace,
string $type_name,
array $template_parameter_type_list,
bool $is_nullable,
int $source
Method fromFunctionLikeInContext
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
bool $is_closure_type,
array $shape_components,
Context $context,
int $source,
bool $is_nullable
Method createVarForInlineComment
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private static function createVarForInlineComment(CodeBase $code_base, Context $context, string $variable_name, UnionType $type, bool $create_variable): void
Method suggestSimilarMethodMap
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function suggestSimilarMethodMap(CodeBase $code_base, Context $context, Clazz $class, string $wanted_method_name, bool $is_static): array
Method suggestSimilarPropertyMap
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function suggestSimilarPropertyMap(CodeBase $code_base, Context $context, Clazz $class, string $wanted_property_name, bool $is_static): array
Method suggestSimilarProperty
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function suggestSimilarProperty(CodeBase $code_base, Context $context, Clazz $class, string $wanted_property_name, bool $is_static): ?Suggestion
Method suggestSimilarGlobalFunction
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CodeBase $code_base,
Context $context,
FullyQualifiedFunctionName $function_fqsen,
bool $suggest_in_global_namespace = true,
string $prefix = ""
Method suggestSimilarClassForGenericFQSEN
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function suggestSimilarClassForGenericFQSEN(CodeBase $code_base, Context $context, FQSEN $fqsen, ?Closure $filter = null, string $prefix = 'Did you mean'): ?Suggestion