Showing 3,272 of 4,939 total issues

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

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

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

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

                                            Node $node,
                                            Context $context,
                                            Closure $should_filter_cb,
                                            Closure $filter_union_type_cb,
                                            bool $suppress_issues
                                    Severity: Minor
                                    Found in src/Phan/Analysis/ConditionVisitorUtil.php - About 35 mins to fix

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

                                          public function __construct(CodeBase $code_base, Context $context, $loop_condition_node, bool $allow_false, bool $loop_body_unconditionally_proceeds)
                                      Severity: Minor
                                      Found in src/Phan/Analysis/LoopConditionVisitor.php - About 35 mins to fix

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

                                                CodeBase $code_base,
                                                iterable $element_list,
                                                string $issue_type,
                                                int $total_count,
                                                int &$i
                                        Severity: Minor
                                        Found in src/Phan/Analysis/ReferenceCountsAnalyzer.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language