gateway_common/ConfigurationReader.php
Method createForGateway
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function createForGateway( $gateway, $variant, Config $mwConfig ) {
$extensionBaseDir = $mwConfig->get( 'ExtensionDirectory' ) . DIRECTORY_SEPARATOR
. 'DonationInterface';
/** The following conditional can be deleted when we get rid of WmfFramework */
if ( !is_dir( $extensionBaseDir ) ) {