wikimedia/mediawiki-extensions-DonationInterface

View on GitHub
extras/civiproxy/CiviproxyConnect.php

Summary

Maintainability
B
4 hrs
Test Coverage

Method getRecurDetails has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function getRecurDetails( $checksum, $contact_id ) {
        global $wgDonationInterfaceCiviproxyURLBase;

        $client = new GuzzleHttp\Client();
        $params = [
Severity: Major
Found in extras/civiproxy/CiviproxyConnect.php - About 2 hrs to fix

    Method getEmailPreferences has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static function getEmailPreferences( $checksum, $contact_id ) {
            global $wgDonationInterfaceCiviproxyURLBase;
    
            $client = new GuzzleHttp\Client();
            $logger = DonationLoggerFactory::getLoggerFromParams(
    Severity: Minor
    Found in extras/civiproxy/CiviproxyConnect.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status