From dec02692a536d928991a57489cb31f744b1db463 Mon Sep 17 00:00:00 2001 From: Anush Ramani Date: Tue, 7 Jan 2020 10:17:40 -0800 Subject: [PATCH] Upgrade to Omnipay 3 --- composer.json | 17 +++++++++-------- src/Gateway.php | 24 ++++++++++++------------ 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/composer.json b/composer.json index b9a0de1..4386e57 100644 --- a/composer.json +++ b/composer.json @@ -1,19 +1,20 @@ { "name": "medlmobileenterprises/omnipay-cybersource-so", + "description": "CyberSource Simple Order gateway for the Omnipay payment processing library", + "license": "MIT", "type": "library", "require": { - "omnipay/common": "^2.0", - "ext-json": "*", - "cybersource/sdk-php": "^1.0" + "omnipay/common": "^3", + "cybersource/sdk-php": "^1" }, "require-dev": { - "omnipay/tests": "^2.0", - "squizlabs/php_codesniffer": "^1", - "phpunit/phpunit": "^3" + "omnipay/tests": "^3", + "squizlabs/php_codesniffer": "^3" }, - "license": "MIT", "autoload": { - "psr-4": { "Omnipay\\CyberSourceSimpleOrder\\" : "src/" } + "psr-4": { + "Omnipay\\CyberSourceSimpleOrder\\": "src/" + } }, "authors": [ { diff --git a/src/Gateway.php b/src/Gateway.php index 73e8223..bec64c0 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -1,17 +1,17 @@