wikimedia/mediawiki-extensions-DonationInterface

View on GitHub
adyen_gateway/adyen_checkout_gateway.body.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    protected function addGatewaySpecificResources( $out ): void {
        $script = $this->adapter->getAccountConfig( 'Script' );
        $css = $this->adapter->getAccountConfig( 'Css' );
        if ( $this->adapter->getPaymentMethod() == 'google' ) {
            $googleScript = $this->adapter->getAccountConfig( 'GoogleScript' );
Severity: Minor
Found in adyen_gateway/adyen_checkout_gateway.body.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status