jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/403222 )

Change subject: Fix classmap for Adyen WSDL
......................................................................


Fix classmap for Adyen WSDL

And move options out of loop

Bug: T184200
Change-Id: I3ffbfcd70e78b87b8f128dcb58d50a25f69ecbaf
---
M PaymentProviders/Adyen/WSDL/Payment.php
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Mepps: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/PaymentProviders/Adyen/WSDL/Payment.php 
b/PaymentProviders/Adyen/WSDL/Payment.php
index 0a92fee..7217d29 100644
--- a/PaymentProviders/Adyen/WSDL/Payment.php
+++ b/PaymentProviders/Adyen/WSDL/Payment.php
@@ -506,11 +506,11 @@
                $this->retries = 
Context::get()->getProviderConfiguration()->val( 'curl/retries' );
                foreach ( self::$classmap as $key => $value ) {
                        if ( !isset( $options['classmap'][$key] ) ) {
-                               $options['classmap'][$key] = $value;
+                               $options['classmap'][$key] = 
'\SmashPig\PaymentProviders\Adyen\WSDL\\' . $value;
                        }
-                       $options['connection_timeout'] = 
Context::get()->getProviderConfiguration()->val( 'curl/timeout' );
-                       $options['exceptions'] = true;
                }
+               $options['connection_timeout'] = 
Context::get()->getProviderConfiguration()->val( 'curl/timeout' );
+               $options['exceptions'] = true;
                parent::__construct( $wsdl, $options );
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/403222
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3ffbfcd70e78b87b8f128dcb58d50a25f69ecbaf
Gerrit-PatchSet: 2
Gerrit-Project: wikimedia/fundraising/SmashPig
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
Gerrit-Reviewer: Mepps <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to