diff --git a/.travis.yml b/.travis.yml index 95de6e6..28f3131 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,8 @@ language: php php: - - 5.6 - - 7.0 - 7.1 - + - 7.2 before_script: - composer install -n --dev --prefer-source diff --git a/README.md b/README.md index 7437bbe..e9922ba 100644 --- a/README.md +++ b/README.md @@ -80,12 +80,14 @@ required for all interaction: A gateway could be set up like this: ```php -use Academe\GiroCheckout\Gateway; +use Omnipay\GiroCheckout\Gateway; use Omnipay\Omnipay; // The backward slashes are needed to make the driver base class absolute. // An issue will be raised against Omnipay Common to fix this. $gateway = Omnipay::create('\\' . Gateway::class); +// or +$gateway = Omnipay::create('GiroCheckout/Gateway'; // The IDs can be given as integers in strings. $gateway->setMerchantID('3610000'); diff --git a/composer.json b/composer.json index 96fe45f..4111cd0 100644 --- a/composer.json +++ b/composer.json @@ -22,13 +22,13 @@ ], "autoload": { "psr-4": { - "Academe\\GiroCheckout\\" : "src/" + "Omnipay\\GiroCheckout\\" : "src/" } }, "minimum-stability": "dev", "require": { "php": ">=5.6", - "omnipay/common": "~3.0@dev" + "omnipay/common": "~3.0@alpha" }, "require-dev": { "omnipay/tests": "~3.0", diff --git a/src/Gateway.php b/src/Gateway.php index 58c954d..72387c2 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -1,6 +1,6 @@