Showing 4,939 of 4,939 total issues

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

        CompletionRequest $request,
        CodeBase $code_base,
        Context $context,
        Node $node,
        $constant_name
Severity: Minor
Found in src/Phan/LanguageServer/CompletionResolver.php - About 35 mins to fix

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

            array $internal_class_name_list,
            array $internal_interface_name_list,
            array $internal_trait_name_list,
            array $internal_constant_name_list,
            array $internal_function_name_list
    Severity: Minor
    Found in src/Phan/CodeBase.php - About 35 mins to fix

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

          private static function renderLongProgress(string $msg, float $p, float $memory, ?int $offset, ?int $count): string
      Severity: Minor
      Found in src/Phan/CLI.php - About 35 mins to fix

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

                CompletionRequest $request,
                CodeBase $code_base,
                Context $context,
                Node $node,
                string $incomplete_class_name
        Severity: Minor
        Found in src/Phan/LanguageServer/CompletionResolver.php - About 35 mins to fix

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

                  CompletionRequest $request,
                  CodeBase $code_base,
                  Context $context,
                  Node $node,
                  string $incomplete_function_name
          Severity: Minor
          Found in src/Phan/LanguageServer/CompletionResolver.php - About 35 mins to fix

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

                private static function showLongProgress(string $msg, float $p, float $memory, ?int $offset, ?int $count): void
            Severity: Minor
            Found in src/Phan/CLI.php - About 35 mins to fix

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

                      int $flags,
                      string $alias,
                      FullyQualifiedGlobalStructuralElement $target,
                      int $lineno,
                      CodeBase $code_base = null
              Severity: Minor
              Found in src/Phan/Language/Context.php - About 35 mins to fix

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

                        Context $context,
                        string $name,
                        UnionType $type,
                        int $flags,
                        FullyQualifiedClassElement $fqsen
                Severity: Minor
                Found in src/Phan/Language/Element/ClassElement.php - About 35 mins to fix

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

                          string $comment,
                          CodeBase $code_base,
                          Context $context,
                          int $lineno,
                          int $comment_type
                  Severity: Minor
                  Found in src/Phan/Language/Element/Comment.php - About 35 mins to fix

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

                        private function warnDuplicateUse(CodeBase $code_base, FullyQualifiedGlobalStructuralElement $target, int $lineno, int $flags, string $alias): void
                    Severity: Minor
                    Found in src/Phan/Language/Context.php - About 35 mins to fix

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

                              Context $context,
                              string $name,
                              UnionType $type,
                              int $flags,
                              FQSEN $fqsen
                      Severity: Minor
                      Found in src/Phan/Language/Element/AddressableElement.php - About 35 mins to fix

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

                                Context $context,
                                CodeBase $code_base,
                                Node $node,
                                FullyQualifiedMethodName $fqsen,
                                ?Clazz $class = null
                        Severity: Minor
                        Found in src/Phan/Language/Element/Method.php - About 35 mins to fix

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

                                  Context $context,
                                  string $name,
                                  UnionType $type,
                                  int $flags,
                                  FullyQualifiedClassConstantName $fqsen
                          Severity: Minor
                          Found in src/Phan/Language/Element/ClassConstant.php - About 35 mins to fix

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

                                    string $name,
                                    UnionType $type,
                                    array $parameters,
                                    bool $is_static,
                                    int $line
                            Severity: Minor
                            Found in src/Phan/Language/Element/Comment/Method.php - About 35 mins to fix

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

                                  public function __construct(FileRef $file_ref, array $params, UnionType $return_type, bool $returns_reference, bool $is_nullable)
                              Severity: Minor
                              Found in src/Phan/Language/Type/FunctionLikeDeclarationType.php - About 35 mins to fix

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

                                    public function __construct(UnionType $type, bool $is_variadic, bool $is_reference, bool $is_optional, string $name = null)
                                Severity: Minor
                                Found in src/Phan/Language/Type/ClosureDeclarationParameter.php - About 35 mins to fix

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

                                          string $namespace,
                                          string $type_name,
                                          array $template_parameter_type_list,
                                          bool $is_nullable,
                                          int $source
                                  Severity: Minor
                                  Found in src/Phan/Language/Type.php - About 35 mins to fix

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

                                            bool $is_closure_type,
                                            array $shape_components,
                                            Context $context,
                                            int $source,
                                            bool $is_nullable
                                    Severity: Minor
                                    Found in src/Phan/Language/Type.php - About 35 mins to fix

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

                                          private static function createVarForInlineComment(CodeBase $code_base, Context $context, string $variable_name, UnionType $type, bool $create_variable): void
                                      Severity: Minor
                                      Found in src/Phan/BlockAnalysisVisitor.php - About 35 mins to fix

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

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