Mepps has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/402931 )
Change subject: Use newer construct function ...................................................................... Use newer construct function Bug: T184200 Change-Id: I87e8ed39951ca28d66094d40ef45bc6f0513b083 --- A PaymentProviders/Adyen/Tests/phpunit/PaymentTest.php M PaymentProviders/Adyen/WSDL/Payment.php 2 files changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/SmashPig refs/changes/31/402931/1 diff --git a/PaymentProviders/Adyen/Tests/phpunit/PaymentTest.php b/PaymentProviders/Adyen/Tests/phpunit/PaymentTest.php new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/PaymentProviders/Adyen/Tests/phpunit/PaymentTest.php diff --git a/PaymentProviders/Adyen/WSDL/Payment.php b/PaymentProviders/Adyen/WSDL/Payment.php index 8238f88..85dad94 100644 --- a/PaymentProviders/Adyen/WSDL/Payment.php +++ b/PaymentProviders/Adyen/WSDL/Payment.php @@ -502,7 +502,7 @@ protected $retries; protected $uri = 'http://payment.services.adyen.com'; - public function Payment( $wsdl = "https://pal-live.adyen.com/pal/Payment.wsdl", $options = array() ) { + public function __construct( $wsdl = "https://pal-live.adyen.com/pal/Payment.wsdl", $options = array() ) { $this->retries = Context::get()->getProviderConfiguration()->val( 'curl/retries' ); foreach ( self::$classmap as $key => $value ) { if ( !isset( $options['classmap'][$key] ) ) { -- To view, visit https://gerrit.wikimedia.org/r/402931 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I87e8ed39951ca28d66094d40ef45bc6f0513b083 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/SmashPig Gerrit-Branch: master Gerrit-Owner: Mepps <me...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits