Ejegg has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/403222 )
Change subject: WIP fix classmap for Adyen WSDL
......................................................................
WIP fix classmap for Adyen WSDL
And move options out of loop
Change-Id: I3ffbfcd70e78b87b8f128dcb58d50a25f69ecbaf
---
M PaymentProviders/Adyen/WSDL/Payment.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/SmashPig
refs/changes/22/403222/1
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: newchange
Gerrit-Change-Id: I3ffbfcd70e78b87b8f128dcb58d50a25f69ecbaf
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/SmashPig
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits