ingenico_gateway/IngenicoLocale.php
Method getFallbacks
has 331 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getFallbacks() {
return [
'aae' => 'sq',
'aao' => 'ar',
'aat' => 'sq',
File IngenicoLocale.php
has 336 lines of code (exceeds 250 allowed). Consider refactoring. Open
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