diff --git a/CHANGELOG.md b/CHANGELOG.md index e3e0e78..db3c628 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C ## [Unreleased][unreleased] - +## [1.2.4] - 2016-02-1 +- Added an gateway settings class. + ## [1.2.3] - 2015-10-14 - Add support for bank transfer as payment method. diff --git a/composer.json b/composer.json index d16993c..958aa06 100644 --- a/composer.json +++ b/composer.json @@ -28,9 +28,9 @@ }, "require": { "php": ">=5.2.4", - "wp-pay/core": "dev-develop", - "wp-pay-gateways/common": "dev-develop", - "wp-pay-gateways/multisafepay": "dev-develop" + "wp-pay/core": "^1.3.1", + "wp-pay-gateways/common": "^1.0.0", + "wp-pay-gateways/multisafepay": "^1.1.2" }, "require-dev": { "satooshi/php-coveralls": "dev-master" diff --git a/composer.lock b/composer.lock index 43f24a1..d71f10b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,29 +4,34 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "919ae3da658f9a2c34a40051cc500d7c", - "content-hash": "b96e480077ae6c469c2cb7f3e1d4fc87", + "hash": "9e1d4302fe7a4ff9baded37832a82e9d", + "content-hash": "0da7deaa65af89d83172c38cb435c4c3", "packages": [ { "name": "wp-pay-gateways/common", - "version": "dev-develop", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/wp-pay-gateways/common.git", - "reference": "66a36014eaa96b657fd3ac3ade7f6c68c1b3c695" + "reference": "4020ab38efaea0a8366458fd8c4835c53c624cb5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-pay-gateways/common/zipball/66a36014eaa96b657fd3ac3ade7f6c68c1b3c695", - "reference": "66a36014eaa96b657fd3ac3ade7f6c68c1b3c695", + "url": "https://api.github.com/repos/wp-pay-gateways/common/zipball/4020ab38efaea0a8366458fd8c4835c53c624cb5", + "reference": "4020ab38efaea0a8366458fd8c4835c53c624cb5", "shasum": "" }, "require": { "php": ">=5.2.4", - "wp-pay/core": "dev-develop" + "wp-pay/core": ">=1.3.0", + "xrstf/composer-php52": "1.*" }, "require-dev": { - "satooshi/php-coveralls": "dev-master" + "phpmd/phpmd": "^2.2.3", + "satooshi/php-coveralls": "^0.7.1", + "squizlabs/php_codesniffer": "^2.2.0", + "wp-cli/wp-cli": "^0.21.1", + "wp-coding-standards/wpcs": "0.8.0" }, "type": "library", "autoload": { @@ -62,29 +67,34 @@ "wordpress", "wp" ], - "time": "2015-11-19 07:11:15" + "time": "2016-01-29 14:12:41" }, { "name": "wp-pay-gateways/multisafepay", - "version": "dev-develop", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/wp-pay-gateways/multisafepay.git", - "reference": "129b5bf0c84ed34e2ec4806f663a00502babe918" + "reference": "0790fcf1c2e6d9e25ec11a703710bc13a451c413" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-pay-gateways/multisafepay/zipball/129b5bf0c84ed34e2ec4806f663a00502babe918", - "reference": "129b5bf0c84ed34e2ec4806f663a00502babe918", + "url": "https://api.github.com/repos/wp-pay-gateways/multisafepay/zipball/0790fcf1c2e6d9e25ec11a703710bc13a451c413", + "reference": "0790fcf1c2e6d9e25ec11a703710bc13a451c413", "shasum": "" }, "require": { "php": ">=5.2.4", - "wp-pay-gateways/common": "dev-develop", - "wp-pay/core": "dev-develop" + "wp-pay-gateways/common": "^1.0.0", + "wp-pay/core": "^1.3.1", + "xrstf/composer-php52": "1.*" }, "require-dev": { - "satooshi/php-coveralls": "dev-master" + "phpmd/phpmd": "^2.2.3", + "satooshi/php-coveralls": "^0.7.1", + "squizlabs/php_codesniffer": "^2.2.0", + "wp-cli/wp-cli": "^0.21.1", + "wp-coding-standards/wpcs": "0.8.0" }, "type": "library", "autoload": { @@ -121,24 +131,32 @@ "wordpress", "wp" ], - "time": "2015-11-19 12:59:35" + "time": "2016-02-01 13:43:02" }, { "name": "wp-pay/core", - "version": "dev-develop", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/wp-pay/core.git", - "reference": "2359885cebc9329e46a6defac841117deda76fa6" + "reference": "ef03f9f16d54546915ef697e1bd91b7392d8c5df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-pay/core/zipball/2359885cebc9329e46a6defac841117deda76fa6", - "reference": "2359885cebc9329e46a6defac841117deda76fa6", + "url": "https://api.github.com/repos/wp-pay/core/zipball/ef03f9f16d54546915ef697e1bd91b7392d8c5df", + "reference": "ef03f9f16d54546915ef697e1bd91b7392d8c5df", "shasum": "" }, "require": { - "php": ">=5.2.4" + "php": ">=5.2.4", + "xrstf/composer-php52": "1.*" + }, + "require-dev": { + "phpmd/phpmd": "^2.2.3", + "satooshi/php-coveralls": "^0.7.1", + "squizlabs/php_codesniffer": "^2.2.0", + "wp-cli/wp-cli": "^0.21.1", + "wp-coding-standards/wpcs": "0.8.0" }, "type": "library", "autoload": { @@ -174,75 +192,78 @@ "wordpress", "wp" ], - "time": "2015-11-12 13:02:52" + "time": "2016-01-22 15:28:45" + }, + { + "name": "xrstf/composer-php52", + "version": "v1.0.19", + "source": { + "type": "hg", + "url": "https://bitbucket.org/xrstf/composer-php52", + "reference": "9a4a9c46d0347b39bf9159815301dc66fc25324e" + }, + "dist": { + "type": "zip", + "url": "https://bitbucket.org/xrstf/composer-php52/get/9a4a9c46d0347b39bf9159815301dc66fc25324e.zip", + "reference": "9a4a9c46d0347b39bf9159815301dc66fc25324e", + "shasum": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-default": "1.x-dev" + } + }, + "autoload": { + "psr-0": { + "xrstf\\Composer52": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "homepage": "http://www.xrstf.de/", + "time": "2015-10-01 14:11:58" } ], "packages-dev": [ { - "name": "guzzle/guzzle", - "version": "v3.9.3", + "name": "guzzlehttp/guzzle", + "version": "6.1.1", "source": { "type": "git", - "url": "https://github.com/guzzle/guzzle3.git", - "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9" + "url": "https://github.com/guzzle/guzzle.git", + "reference": "c6851d6e48f63b69357cbfa55bca116448140e0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9", - "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/c6851d6e48f63b69357cbfa55bca116448140e0c", + "reference": "c6851d6e48f63b69357cbfa55bca116448140e0c", "shasum": "" }, "require": { - "ext-curl": "*", - "php": ">=5.3.3", - "symfony/event-dispatcher": "~2.1" - }, - "replace": { - "guzzle/batch": "self.version", - "guzzle/cache": "self.version", - "guzzle/common": "self.version", - "guzzle/http": "self.version", - "guzzle/inflection": "self.version", - "guzzle/iterator": "self.version", - "guzzle/log": "self.version", - "guzzle/parser": "self.version", - "guzzle/plugin": "self.version", - "guzzle/plugin-async": "self.version", - "guzzle/plugin-backoff": "self.version", - "guzzle/plugin-cache": "self.version", - "guzzle/plugin-cookie": "self.version", - "guzzle/plugin-curlauth": "self.version", - "guzzle/plugin-error-response": "self.version", - "guzzle/plugin-history": "self.version", - "guzzle/plugin-log": "self.version", - "guzzle/plugin-md5": "self.version", - "guzzle/plugin-mock": "self.version", - "guzzle/plugin-oauth": "self.version", - "guzzle/service": "self.version", - "guzzle/stream": "self.version" + "guzzlehttp/promises": "~1.0", + "guzzlehttp/psr7": "~1.1", + "php": ">=5.5.0" }, "require-dev": { - "doctrine/cache": "~1.3", - "monolog/monolog": "~1.0", - "phpunit/phpunit": "3.7.*", - "psr/log": "~1.0", - "symfony/class-loader": "~2.1", - "zendframework/zend-cache": "2.*,<2.3", - "zendframework/zend-log": "2.*,<2.3" - }, - "suggest": { - "guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated." + "ext-curl": "*", + "phpunit/phpunit": "~4.0", + "psr/log": "~1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.9-dev" + "dev-master": "6.1-dev" } }, "autoload": { - "psr-0": { - "Guzzle": "src/", - "Guzzle\\Tests": "tests/" + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -254,13 +275,9 @@ "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" - }, - { - "name": "Guzzle Community", - "homepage": "https://github.com/guzzle/guzzle/contributors" } ], - "description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle", + "description": "Guzzle is a PHP HTTP client library", "homepage": "http://guzzlephp.org/", "keywords": [ "client", @@ -271,7 +288,165 @@ "rest", "web service" ], - "time": "2015-03-18 18:23:50" + "time": "2015-11-23 00:47:50" + }, + { + "name": "guzzlehttp/promises", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/b1e1c0d55f8083c71eda2c28c12a228d708294ea", + "reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea", + "shasum": "" + }, + "require": { + "php": ">=5.5.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "time": "2015-10-15 22:28:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "f5d04bdd2881ac89abde1fb78cc234bce24327bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5d04bdd2881ac89abde1fb78cc234bce24327bb", + "reference": "f5d04bdd2881ac89abde1fb78cc234bce24327bb", + "shasum": "" + }, + "require": { + "php": ">=5.4.0", + "psr/http-message": "~1.0" + }, + "provide": { + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "PSR-7 message implementation", + "keywords": [ + "http", + "message", + "stream", + "uri" + ], + "time": "2016-01-23 01:23:02" + }, + { + "name": "psr/http-message", + "version": "1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "time": "2015-05-04 20:22:00" }, { "name": "psr/log", @@ -317,52 +492,40 @@ "source": { "type": "git", "url": "https://github.com/satooshi/php-coveralls.git", - "reference": "2fbf803803d179ab1082807308a67bbd5a760c70" + "reference": "50c60bb64054974f8ed7540ae6e75fd7981a5fd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/satooshi/php-coveralls/zipball/2fbf803803d179ab1082807308a67bbd5a760c70", - "reference": "2fbf803803d179ab1082807308a67bbd5a760c70", + "url": "https://api.github.com/repos/satooshi/php-coveralls/zipball/50c60bb64054974f8ed7540ae6e75fd7981a5fd3", + "reference": "50c60bb64054974f8ed7540ae6e75fd7981a5fd3", "shasum": "" }, "require": { "ext-json": "*", "ext-simplexml": "*", - "guzzle/guzzle": ">=2.7", - "php": ">=5.3", - "psr/log": "1.0.0", - "symfony/config": ">=2.0", - "symfony/console": ">=2.0", - "symfony/stopwatch": ">=2.2", - "symfony/yaml": ">=2.0" - }, - "require-dev": { - "apigen/apigen": "2.8.*@stable", - "pdepend/pdepend": "dev-master as 2.0.0", - "phpmd/phpmd": "dev-master", - "phpunit/php-invoker": ">=1.1.0,<1.2.0", - "phpunit/phpunit": "3.7.*@stable", - "sebastian/finder-facade": "dev-master", - "sebastian/phpcpd": "1.4.*@stable", - "squizlabs/php_codesniffer": "1.4.*@stable", - "theseer/fdomdocument": "dev-master" + "guzzlehttp/guzzle": "^6.0", + "php": ">=5.5", + "psr/log": "^1.0", + "symfony/config": "^2.1|^3.0", + "symfony/console": "^2.1|^3.0", + "symfony/stopwatch": "^2.0|^3.0", + "symfony/yaml": "^2.0|^3.0" }, "suggest": { "symfony/http-kernel": "Allows Symfony integration" }, "bin": [ - "composer/bin/coveralls" + "bin/coveralls" ], "type": "library", "extra": { "branch-alias": { - "dev-master": "0.7-dev" + "dev-master": "2.0-dev" } }, "autoload": { - "psr-0": { - "Satooshi\\Component": "src/", - "Satooshi\\Bundle": "src/" + "psr-4": { + "Satooshi\\": "src/Satooshi/" } }, "notification-url": "https://packagist.org/downloads/", @@ -384,36 +547,39 @@ "github", "test" ], - "time": "2014-11-11 15:35:34" + "time": "2016-01-20 17:44:41" }, { "name": "symfony/config", - "version": "v2.7.6", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "831f88908b51b9ce945f5e6f402931d1ac544423" + "reference": "58680a6516a457a6c65044fe33586c4a81fdff01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/831f88908b51b9ce945f5e6f402931d1ac544423", - "reference": "831f88908b51b9ce945f5e6f402931d1ac544423", + "url": "https://api.github.com/repos/symfony/config/zipball/58680a6516a457a6c65044fe33586c4a81fdff01", + "reference": "58680a6516a457a6c65044fe33586c4a81fdff01", "shasum": "" }, "require": { - "php": ">=5.3.9", - "symfony/filesystem": "~2.3" + "php": ">=5.5.9", + "symfony/filesystem": "~2.8|~3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "3.0-dev" } }, "autoload": { "psr-4": { "Symfony\\Component\\Config\\": "" - } + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -431,29 +597,30 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2015-10-11 09:39:48" + "time": "2015-12-26 13:39:53" }, { "name": "symfony/console", - "version": "v2.7.6", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "5efd632294c8320ea52492db22292ff853a43766" + "reference": "ebcdc507829df915f4ca23067bd59ee4ef61f6c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/5efd632294c8320ea52492db22292ff853a43766", - "reference": "5efd632294c8320ea52492db22292ff853a43766", + "url": "https://api.github.com/repos/symfony/console/zipball/ebcdc507829df915f4ca23067bd59ee4ef61f6c3", + "reference": "ebcdc507829df915f4ca23067bd59ee4ef61f6c3", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.5.9", + "symfony/polyfill-mbstring": "~1.0" }, "require-dev": { "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.1", - "symfony/process": "~2.1" + "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/process": "~2.8|~3.0" }, "suggest": { "psr/log": "For using the console logger", @@ -463,13 +630,16 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "3.0-dev" } }, "autoload": { "psr-4": { "Symfony\\Component\\Console\\": "" - } + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -487,46 +657,38 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2015-10-20 14:38:46" + "time": "2015-12-22 10:39:06" }, { - "name": "symfony/event-dispatcher", - "version": "v2.7.6", + "name": "symfony/filesystem", + "version": "v3.0.1", "source": { "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "87a5db5ea887763fa3a31a5471b512ff1596d9b8" + "url": "https://github.com/symfony/filesystem.git", + "reference": "c2e59d11dccd135dc8f00ee97f34fe1de842e70c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/87a5db5ea887763fa3a31a5471b512ff1596d9b8", - "reference": "87a5db5ea887763fa3a31a5471b512ff1596d9b8", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/c2e59d11dccd135dc8f00ee97f34fe1de842e70c", + "reference": "c2e59d11dccd135dc8f00ee97f34fe1de842e70c", "shasum": "" }, "require": { - "php": ">=5.3.9" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.0,>=2.0.5", - "symfony/dependency-injection": "~2.6", - "symfony/expression-language": "~2.6", - "symfony/stopwatch": "~2.3" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" + "php": ">=5.5.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "3.0-dev" } }, "autoload": { "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" - } + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -542,37 +704,43 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony EventDispatcher Component", + "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2015-10-11 09:39:48" + "time": "2015-12-22 10:39:06" }, { - "name": "symfony/filesystem", - "version": "v2.7.6", + "name": "symfony/polyfill-mbstring", + "version": "v1.1.0", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "56fd6df73be859323ff97418d97edc1d756df6df" + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "1289d16209491b584839022f29257ad859b8532d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/56fd6df73be859323ff97418d97edc1d756df6df", - "reference": "56fd6df73be859323ff97418d97edc1d756df6df", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/1289d16209491b584839022f29257ad859b8532d", + "reference": "1289d16209491b584839022f29257ad859b8532d", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "1.1-dev" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - } + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -580,45 +748,55 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Filesystem Component", + "description": "Symfony polyfill for the Mbstring extension", "homepage": "https://symfony.com", - "time": "2015-10-18 20:23:18" + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2016-01-20 09:13:37" }, { "name": "symfony/stopwatch", - "version": "v2.7.6", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "f8ab957c17e4b85a73c4df03bdf94ee597f2bd55" + "reference": "6aeac8907e3e1340a0033b0a9ec075f8e6524800" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/f8ab957c17e4b85a73c4df03bdf94ee597f2bd55", - "reference": "f8ab957c17e4b85a73c4df03bdf94ee597f2bd55", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/6aeac8907e3e1340a0033b0a9ec075f8e6524800", + "reference": "6aeac8907e3e1340a0033b0a9ec075f8e6524800", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.5.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "3.0-dev" } }, "autoload": { "psr-4": { "Symfony\\Component\\Stopwatch\\": "" - } + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -636,35 +814,38 @@ ], "description": "Symfony Stopwatch Component", "homepage": "https://symfony.com", - "time": "2015-10-12 12:42:24" + "time": "2015-10-30 23:35:59" }, { "name": "symfony/yaml", - "version": "v2.7.6", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "eca9019c88fbe250164affd107bc8057771f3f4d" + "reference": "3df409958a646dad2bc5046c3fb671ee24a1a691" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/eca9019c88fbe250164affd107bc8057771f3f4d", - "reference": "eca9019c88fbe250164affd107bc8057771f3f4d", + "url": "https://api.github.com/repos/symfony/yaml/zipball/3df409958a646dad2bc5046c3fb671ee24a1a691", + "reference": "3df409958a646dad2bc5046c3fb671ee24a1a691", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.5.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "3.0-dev" } }, "autoload": { "psr-4": { "Symfony\\Component\\Yaml\\": "" - } + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -682,15 +863,12 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2015-10-11 09:39:48" + "time": "2015-12-26 13:39:53" } ], "aliases": [], "minimum-stability": "stable", "stability-flags": { - "wp-pay/core": 20, - "wp-pay-gateways/common": 20, - "wp-pay-gateways/multisafepay": 20, "satooshi/php-coveralls": 20 }, "prefer-stable": false, diff --git a/package.json b/package.json index 54e70f9..52c7735 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "multisafepay-connect", - "version": "1.2.3", + "version": "1.2.4", "description": "MultiSafepay Connect driver for the WordPress payment processing library.", "repository": { "type": "git", @@ -35,9 +35,9 @@ "homepage": "http://www.wp-pay.org/gateways/multisafepay-connect/", "devDependencies": { "grunt": "~0.4.5", - "grunt-contrib-jshint": "^0.11.3", + "grunt-contrib-jshint": "^0.12.0", "grunt-phpcs": "^0.4.0", - "grunt-phplint": "0.0.5", + "grunt-phplint": "0.0.8", "grunt-phpmd": "^0.1.1", "load-grunt-tasks": "^3.3.0" } diff --git a/phpcs.ruleset.xml b/phpcs.ruleset.xml index c78355d..6d589b3 100644 --- a/phpcs.ruleset.xml +++ b/phpcs.ruleset.xml @@ -6,6 +6,10 @@ + + + + diff --git a/src/Client.php b/src/Client.php index 619ea2d..90f014a 100644 --- a/src/Client.php +++ b/src/Client.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect client * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @since 1.0.0 */ diff --git a/src/Customer.php b/src/Customer.php index 17860b9..393857e 100644 --- a/src/Customer.php +++ b/src/Customer.php @@ -3,8 +3,9 @@ /** * Title: MutliSafepay Connect customer * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @since 1.0.0 */ diff --git a/src/Gateway.php b/src/Gateway.php index 5a8733b..91e3a39 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect gateay * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.1.0 * @since 1.0.1 @@ -73,7 +74,7 @@ public function get_issuers() { */ public function get_issuer_field() { if ( Pronamic_WP_Pay_PaymentMethods::IDEAL === $this->get_payment_method() ) { - return array ( + return array( 'id' => 'pronamic_ideal_issuer_id', 'name' => 'pronamic_ideal_issuer_id', 'label' => __( 'Choose your bank', 'pronamic_ideal' ), diff --git a/src/GatewayInfo.php b/src/GatewayInfo.php index c1730c7..2014fe5 100644 --- a/src/GatewayInfo.php +++ b/src/GatewayInfo.php @@ -3,8 +3,9 @@ /** * Title: MutliSafepay Connect gateway info * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @since 1.2.0 * @version 1.2.0 diff --git a/src/Gateways.php b/src/Gateways.php index bd69e1e..dd120b0 100644 --- a/src/Gateways.php +++ b/src/Gateways.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay connect gateways * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @since 1.2.0 * @version 1.2.0 diff --git a/src/Merchant.php b/src/Merchant.php index 7caa6f8..b58b484 100644 --- a/src/Merchant.php +++ b/src/Merchant.php @@ -3,8 +3,9 @@ /** * Title: MutliSafepay Connect merchant * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @since 1.0.0 */ diff --git a/src/Signature.php b/src/Signature.php index d401d70..e6182ce 100644 --- a/src/Signature.php +++ b/src/Signature.php @@ -3,8 +3,9 @@ /** * Title: MutliSafepay Connect signature * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @since 1.0.0 */ diff --git a/src/Statuses.php b/src/Statuses.php index 57e78a5..318458d 100644 --- a/src/Statuses.php +++ b/src/Statuses.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay statuses constants * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.0.0 */ diff --git a/src/Transaction.php b/src/Transaction.php index 4c78205..8d4e054 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -3,8 +3,9 @@ /** * Title: MutliSafepay Connect transaction * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @since 1.0.0 */ diff --git a/src/XML/DirectTransactionRequestMessage.php b/src/XML/DirectTransactionRequestMessage.php index a4380a5..04539a6 100644 --- a/src/XML/DirectTransactionRequestMessage.php +++ b/src/XML/DirectTransactionRequestMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML direct transaction request message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.2.0 * @since 1.2.0 diff --git a/src/XML/DirectTransactionResponseMessage.php b/src/XML/DirectTransactionResponseMessage.php index f87c9e5..e9357cf 100644 --- a/src/XML/DirectTransactionResponseMessage.php +++ b/src/XML/DirectTransactionResponseMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML direct transaction response message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.2.0 * @since 1.2.0 diff --git a/src/XML/GatewaysRequestMessage.php b/src/XML/GatewaysRequestMessage.php index c8350e6..9ab3f0a 100644 --- a/src/XML/GatewaysRequestMessage.php +++ b/src/XML/GatewaysRequestMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML gateways request message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.2.0 * @since 1.2.0 diff --git a/src/XML/GatewaysResponseMessage.php b/src/XML/GatewaysResponseMessage.php index 2e5786c..92ffc8f 100644 --- a/src/XML/GatewaysResponseMessage.php +++ b/src/XML/GatewaysResponseMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML gateways response message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.2.0 * @since 1.2.0 diff --git a/src/XML/IDealIssuersRequestMessage.php b/src/XML/IDealIssuersRequestMessage.php index 60b464e..96a5b41 100644 --- a/src/XML/IDealIssuersRequestMessage.php +++ b/src/XML/IDealIssuersRequestMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML iDEAL issuers request message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.2.0 * @since 1.2.0 diff --git a/src/XML/IDealIssuersResponseMessage.php b/src/XML/IDealIssuersResponseMessage.php index f6d9400..250772c 100644 --- a/src/XML/IDealIssuersResponseMessage.php +++ b/src/XML/IDealIssuersResponseMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML iDEAL issuers response message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.2.0 * @since 1.2.0 diff --git a/src/XML/Message.php b/src/XML/Message.php index e3fa12f..ffa1102 100644 --- a/src/XML/Message.php +++ b/src/XML/Message.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.0.0 * @since 1.0.0 diff --git a/src/XML/RedirectTransactionRequestMessage.php b/src/XML/RedirectTransactionRequestMessage.php index 73aa381..e8cd573 100644 --- a/src/XML/RedirectTransactionRequestMessage.php +++ b/src/XML/RedirectTransactionRequestMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML redirect transaction request message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.0.0 * @since 1.0.0 diff --git a/src/XML/RedirectTransactionResponseMessage.php b/src/XML/RedirectTransactionResponseMessage.php index e426f13..48c1f5d 100644 --- a/src/XML/RedirectTransactionResponseMessage.php +++ b/src/XML/RedirectTransactionResponseMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML redirect transaction response message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.0.0 * @since 1.0.0 diff --git a/src/XML/RequestMessage.php b/src/XML/RequestMessage.php index 53fd255..02323f0 100644 --- a/src/XML/RequestMessage.php +++ b/src/XML/RequestMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML request message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.0.0 * @since 1.0.0 diff --git a/src/XML/ResponseMessage.php b/src/XML/ResponseMessage.php index 7bd8f43..52ea45c 100644 --- a/src/XML/ResponseMessage.php +++ b/src/XML/ResponseMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML response message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.0.0 * @since 1.0.0 diff --git a/src/XML/StatusRequestMessage.php b/src/XML/StatusRequestMessage.php index 0873516..f8108ab 100644 --- a/src/XML/StatusRequestMessage.php +++ b/src/XML/StatusRequestMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML status request message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.0.0 * @since 1.0.0 diff --git a/src/XML/StatusResponseMessage.php b/src/XML/StatusResponseMessage.php index 7b40809..c7a8ee2 100644 --- a/src/XML/StatusResponseMessage.php +++ b/src/XML/StatusResponseMessage.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML status response message * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.0.0 * @since 1.0.0 diff --git a/src/XML/TransactionParser.php b/src/XML/TransactionParser.php index 3d50164..99561c3 100644 --- a/src/XML/TransactionParser.php +++ b/src/XML/TransactionParser.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay Connect XML transaction parser * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.0.0 * @since 1.0.0 diff --git a/tests/GatewayTest.php b/tests/GatewayTest.php index 50bf0ca..fbd0e2d 100644 --- a/tests/GatewayTest.php +++ b/tests/GatewayTest.php @@ -10,12 +10,12 @@ class Pronamic_Pay_Gateways_MultiSafepay_Connect_GatewayTest extends WP_UnitTest public function pre_http_request( $preempt, $request, $url ) { $response = file_get_contents( __DIR__ . '/Mock/ideal-issuers-response.http' ); - $processedResponse = WP_Http::processResponse( $response ); + $processed_response = WP_Http::processResponse( $response ); - $processedHeaders = WP_Http::processHeaders( $processedResponse['headers'], $url ); - $processedHeaders['body'] = $processedResponse['body']; + $processed_headers = WP_Http::processHeaders( $processed_response['headers'], $url ); + $processed_headers['body'] = $processed_response['body']; - return $processedHeaders; + return $processed_headers; } function test_init() { diff --git a/tests/StatusesTest.php b/tests/StatusesTest.php index 123c4d8..102c98c 100644 --- a/tests/StatusesTest.php +++ b/tests/StatusesTest.php @@ -3,8 +3,9 @@ /** * Title: MultiSafepay statuses test * Description: - * Copyright: Copyright (c) 2005 - 2015 + * Copyright: Copyright (c) 2005 - 2016 * Company: Pronamic + * * @author Remco Tolsma * @version 1.2.0 * @since 1.2.0