Showing 3,272 of 4,939 total issues
Method suggestSimilarClassForMethod
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function suggestSimilarClassForMethod(CodeBase $code_base, Context $context, FullyQualifiedClassName $class_fqsen, string $method_name, bool $is_static): ?Suggestion
Method suggestSimilarMethod
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function suggestSimilarMethod(CodeBase $code_base, Context $context, Clazz $class, string $wanted_method_name, bool $is_static): ?Suggestion
Method __invoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $file,
int $line,
array $template_parameters = [],
Suggestion $suggestion = null,
int $column = 0
Method maybeEmit
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CodeBase $code_base,
Context $context,
string $issue_type,
int $lineno,
...$parameters
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct(string $name, FileRef $context, string $kind, ?string $scope, string $fragment = null)
Method shouldWarnAboutImpossibleInArray
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private static function shouldWarnAboutImpossibleInArray(CodeBase $code_base, Context $context, array $args, ?UnionType $needle_type = null, ?UnionType $haystack_type = null): bool
Method analyzeNodeUnionTypeCast
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$node,
Context $context,
CodeBase $code_base,
UnionType $cast_type,
Closure $issue_instance
Method shouldWarnAboutImpossibleArrayKeyExists
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private static function shouldWarnAboutImpossibleArrayKeyExists(CodeBase $code_base, Context $context, array $args, ?UnionType $key_type = null, ?UnionType $array_type = null): bool
Method extractIncrementDirectionForAssignOp
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private static function extractIncrementDirectionForAssignOp(CodeBase $code_base, Context $context, string $var_name, $expr, bool $is_subtraction): array
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct($_0, $_1, $_2, $_3, $_4)
Method checkAllNamedArgumentsPassed
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CodeBase $code_base,
Context $context,
int $lineno,
FunctionInterface $method,
array $positions_used
Method analyzeSetUnionTypeInContext
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CodeBase $code_base,
Context $context,
TypedElementInterface $element,
UnionType $element_type,
$node
Method emitTypeMismatchPropertyIssue
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Node $node,
Property $property,
UnionType $resolved_right_type,
UnionType $warn_type,
UnionType $property_union_type
Method analyzeSetUnionTypePassByRef
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CodeBase $code_base,
Context $context,
PassByReferenceVariable $reference_element,
UnionType $new_type,
$node
Method emitParamTooMany
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CodeBase $code_base,
Context $context,
FunctionInterface $method,
Node $node,
int $argcount
Method analyzeParameterListForCallback
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CodeBase $code_base,
FunctionInterface $method,
array $arg_nodes,
Context $context,
Closure $get_argument_type
Method analyzeForCallback
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
FunctionInterface $method,
array $arg_nodes,
Context $context,
CodeBase $code_base,
Closure $get_argument_type
Method updatePropertyExpressionWithConditionalFilter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Node $node,
Context $context,
Closure $should_filter_cb,
Closure $filter_union_type_cb,
bool $suppress_issues
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct(CodeBase $code_base, Context $context, $loop_condition_node, bool $allow_false, bool $loop_body_unconditionally_proceeds)
Method analyzeGlobalElementListReferenceCounts
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CodeBase $code_base,
iterable $element_list,
string $issue_type,
int $total_count,
int &$i