Showing 4,939 of 4,939 total issues

Method suggestSimilarPropertyMap has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public static function suggestSimilarPropertyMap(CodeBase $code_base, Context $context, Clazz $class, string $wanted_property_name, bool $is_static): array
Severity: Minor
Found in src/Phan/IssueFixSuggester.php - About 35 mins to fix

    Method suggestSimilarProperty has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public static function suggestSimilarProperty(CodeBase $code_base, Context $context, Clazz $class, string $wanted_property_name, bool $is_static): ?Suggestion
    Severity: Minor
    Found in src/Phan/IssueFixSuggester.php - About 35 mins to fix

      Method suggestSimilarGlobalFunction has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              CodeBase $code_base,
              Context $context,
              FullyQualifiedFunctionName $function_fqsen,
              bool $suggest_in_global_namespace = true,
              string $prefix = ""
      Severity: Minor
      Found in src/Phan/IssueFixSuggester.php - About 35 mins to fix

        Method suggestSimilarClassForGenericFQSEN has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public static function suggestSimilarClassForGenericFQSEN(CodeBase $code_base, Context $context, FQSEN $fqsen, ?Closure $filter = null, string $prefix = 'Did you mean'): ?Suggestion
        Severity: Minor
        Found in src/Phan/IssueFixSuggester.php - About 35 mins to fix

          Method suggestSimilarClassForMethod has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public static function suggestSimilarClassForMethod(CodeBase $code_base, Context $context, FullyQualifiedClassName $class_fqsen, string $method_name, bool $is_static): ?Suggestion
          Severity: Minor
          Found in src/Phan/IssueFixSuggester.php - About 35 mins to fix

            Method suggestSimilarMethod has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public static function suggestSimilarMethod(CodeBase $code_base, Context $context, Clazz $class, string $wanted_method_name, bool $is_static): ?Suggestion
            Severity: Minor
            Found in src/Phan/IssueFixSuggester.php - About 35 mins to fix

              Method __invoke has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                      string $file,
                      int $line,
                      array $template_parameters = [],
                      Suggestion $suggestion = null,
                      int $column = 0
              Severity: Minor
              Found in src/Phan/Issue.php - About 35 mins to fix

                Method maybeEmit has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                        CodeBase $code_base,
                        Context $context,
                        string $issue_type,
                        int $lineno,
                        ...$parameters
                Severity: Minor
                Found in src/Phan/Issue.php - About 35 mins to fix

                  Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public function __construct(string $name, FileRef $context, string $kind, ?string $scope, string $fragment = null)
                  Severity: Minor
                  Found in src/Phan/Plugin/Internal/CtagsPlugin/CtagsEntry.php - About 35 mins to fix

                    Method shouldWarnAboutImpossibleInArray has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        private static function shouldWarnAboutImpossibleInArray(CodeBase $code_base, Context $context, array $args, ?UnionType $needle_type = null, ?UnionType $haystack_type = null): bool
                    Severity: Minor
                    Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 35 mins to fix

                      Method analyzeNodeUnionTypeCast has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                              $node,
                              Context $context,
                              CodeBase $code_base,
                              UnionType $cast_type,
                              Closure $issue_instance
                      Severity: Minor
                      Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 35 mins to fix

                        Method shouldWarnAboutImpossibleArrayKeyExists has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            private static function shouldWarnAboutImpossibleArrayKeyExists(CodeBase $code_base, Context $context, array $args, ?UnionType $key_type = null, ?UnionType $array_type = null): bool
                        Severity: Minor
                        Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 35 mins to fix

                          Method extractIncrementDirectionForAssignOp has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              private static function extractIncrementDirectionForAssignOp(CodeBase $code_base, Context $context, string $var_name, $expr, bool $is_subtraction): array
                          Severity: Minor
                          Found in src/Phan/Plugin/Internal/RedundantConditionLoopCheck.php - About 35 mins to fix

                            Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public function __construct($_0, $_1, $_2, $_3, $_4)
                            Severity: Minor
                            Found in src/Phan/Library/Tuple5.php - About 35 mins to fix

                              Method checkAllNamedArgumentsPassed has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                      CodeBase $code_base,
                                      Context $context,
                                      int $lineno,
                                      FunctionInterface $method,
                                      array $positions_used
                              Severity: Minor
                              Found in src/Phan/Analysis/ArgumentType.php - About 35 mins to fix

                                Method analyzeSetUnionTypeInContext has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                        CodeBase $code_base,
                                        Context $context,
                                        TypedElementInterface $element,
                                        UnionType $element_type,
                                        $node
                                Severity: Minor
                                Found in src/Phan/Analysis/AssignmentVisitor.php - About 35 mins to fix

                                  Method emitTypeMismatchPropertyIssue has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                          Node $node,
                                          Property $property,
                                          UnionType $resolved_right_type,
                                          UnionType $warn_type,
                                          UnionType $property_union_type
                                  Severity: Minor
                                  Found in src/Phan/Analysis/AssignmentVisitor.php - About 35 mins to fix

                                    Method analyzeSetUnionTypePassByRef has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                            CodeBase $code_base,
                                            Context $context,
                                            PassByReferenceVariable $reference_element,
                                            UnionType $new_type,
                                            $node
                                    Severity: Minor
                                    Found in src/Phan/Analysis/AssignmentVisitor.php - About 35 mins to fix

                                      Method emitParamTooMany has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                              CodeBase $code_base,
                                              Context $context,
                                              FunctionInterface $method,
                                              Node $node,
                                              int $argcount
                                      Severity: Minor
                                      Found in src/Phan/Analysis/ArgumentType.php - About 35 mins to fix

                                        Method analyzeParameterListForCallback has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                                CodeBase $code_base,
                                                FunctionInterface $method,
                                                array $arg_nodes,
                                                Context $context,
                                                Closure $get_argument_type
                                        Severity: Minor
                                        Found in src/Phan/Analysis/ArgumentType.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language