wikimedia/mediawiki-extensions-DonationInterface

View on GitHub
ingenico_gateway/IngenicoLocale.php

Summary

Maintainability
D
2 days
Test Coverage

Method getFallbacks has 331 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function getFallbacks() {
        return [
            'aae' => 'sq',
            'aao' => 'ar',
            'aat' => 'sq',
Severity: Major
Found in ingenico_gateway/IngenicoLocale.php - About 1 day to fix

    File IngenicoLocale.php has 336 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    /**
     * Ingenico's connect API returns a 400 BAD REQUEST if the locale string
     * doesn't match the xx_YY format. This class tries to find a decent ALPHA2
    Severity: Minor
    Found in ingenico_gateway/IngenicoLocale.php - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status