gitlabhq/gitlabhq

View on GitHub

Showing 1,405 of 2,015 total issues

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

    def changed_milestone_merge_request_email(recipient_id, merge_request_id, milestone, updated_by_user_id, reason = nil)
Severity: Minor
Found in app/mailers/emails/merge_requests.rb - About 35 mins to fix

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

        def relabeled_merge_request_email(recipient_id, merge_request_id, label_names, updated_by_user_id, reason = nil)
    Severity: Minor
    Found in app/mailers/emails/merge_requests.rb - About 35 mins to fix

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

          def merge_request_status_email(recipient_id, merge_request_id, status, updated_by_user_id, reason = nil)
      Severity: Minor
      Found in app/mailers/emails/merge_requests.rb - About 35 mins to fix

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

              def initialize(repo, name, namespace, current_user, session_data)
        Severity: Minor
        Found in lib/gitlab/bitbucket_import/project_creator.rb - About 35 mins to fix

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

              def reassigned_issue_email(recipient_id, issue_id, previous_assignee_ids, updated_by_user_id, reason = nil)
          Severity: Minor
          Found in app/mailers/emails/issues.rb - About 35 mins to fix

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

              def perform(project_id, user_id, ref, source, params = {})
            Severity: Minor
            Found in app/workers/create_pipeline_worker.rb - About 35 mins to fix

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

                  def relabeled_issue_email(recipient_id, issue_id, label_names, updated_by_user_id, reason = nil)
              Severity: Minor
              Found in app/mailers/emails/issues.rb - About 35 mins to fix

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

                    def issue_moved_email(recipient, issue, new_issue, updated_by_user, reason = nil)
                Severity: Minor
                Found in app/mailers/emails/issues.rb - About 35 mins to fix

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

                        def user_merge_to_ref(user, source_sha, branch, target_ref, message)
                  Severity: Minor
                  Found in lib/gitlab/gitaly_client/operation_service.rb - About 35 mins to fix

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

                          def initialize(text, type, index, old_pos, new_pos, parent_file: nil, line_code: nil, rich_text: nil)
                    Severity: Minor
                    Found in lib/gitlab/diff/line.rb - About 35 mins to fix

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

                            def update_page(page_path, title, format, content, commit_details)
                      Severity: Minor
                      Found in lib/gitlab/gitaly_client/wiki_service.rb - About 35 mins to fix

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

                            def initialize(name, title, description, preview, logo = 'illustrations/gitlab_logo.svg')
                        Severity: Minor
                        Found in lib/gitlab/project_template.rb - About 35 mins to fix

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

                                  def between(repo, head, base, options = {}, *paths)
                          Severity: Minor
                          Found in lib/gitlab/git/diff.rb - About 35 mins to fix

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

                                  def update_page(page_path, title, format, content, commit_details)
                            Severity: Minor
                            Found in lib/gitlab/git/wiki.rb - About 35 mins to fix

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

                                    def merge(user, source_sha, target_branch, message, &block)
                              Severity: Minor
                              Found in lib/gitlab/git/repository.rb - About 35 mins to fix

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

                                      def gitaly_update_page(page_path, title, format, content, commit_details)
                                Severity: Minor
                                Found in lib/gitlab/git/wiki.rb - About 35 mins to fix

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

                                        def find_commits_by_message(query, ref, path, limit, offset)
                                  Severity: Minor
                                  Found in lib/gitlab/git/repository.rb - About 35 mins to fix

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

                                            def handle_line(action, time, name, marker_start, marker_end)
                                    Severity: Minor
                                    Found in lib/gitlab/ci/trace/section_parser.rb - About 35 mins to fix

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

                                            def merge_to_ref(user, source_sha, branch, target_ref, message)
                                      Severity: Minor
                                      Found in lib/gitlab/git/repository.rb - About 35 mins to fix

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

                                              def initialize(repo, name, namespace, current_user, session_data, type: 'github')
                                        Severity: Minor
                                        Found in lib/gitlab/legacy_github_import/project_creator.rb - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language