gitlabhq/gitlabhq

View on GitHub
app/mailers/emails/issues.rb

Summary

Maintainability
A
3 hrs
Test Coverage

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

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

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

        def changed_milestone_issue_email(recipient_id, issue_id, milestone, updated_by_user_id, reason = nil)
    Severity: Minor
    Found in app/mailers/emails/issues.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 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

            There are no issues that match your filters.

            Category
            Status