wikimedia/mediawiki-extensions-DonationInterface

View on GitHub
email_forms/EmailForm.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method getTemplateParams has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function getTemplateParams() {
        global $wgDonationInterfaceEmailFormHelpEmail, $wgDonationInterfaceRecurringDonateURL;

        $paramList = [
            'campaign',
Severity: Major
Found in email_forms/EmailForm.php - About 2 hrs to fix

    Method getForm has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function getForm() {
            $options = [
                'helpers' => [
                    'l10n' => 'EmailForm::l10n',
                    'dateFormatter' => 'EmailForm::dateFormatter',
    Severity: Minor
    Found in email_forms/EmailForm.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status