From 97ffd84a03c1bd62b5ffd2359d019ba2b14cedbc Mon Sep 17 00:00:00 2001 From: Juan Alfonso Date: Fri, 13 Nov 2020 11:36:16 -0500 Subject: [PATCH 1/9] Include debit card logic --- composer.lock | 1510 ++++++++++++----- src/Models/DebitCard.php | 47 + src/Models/Payment.php | 8 + .../Adapters/DebitCardPaymentAdapter.php | 29 + src/Services/Gateways/DebitCard.php | 6 +- .../Adapters/DebitCardPaymentAdapterTest.php | 96 ++ 6 files changed, 1312 insertions(+), 384 deletions(-) create mode 100644 src/Models/DebitCard.php create mode 100644 src/Services/Adapters/DebitCardPaymentAdapter.php create mode 100644 tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php diff --git a/composer.lock b/composer.lock index 4764a0d7..4bcd1f73 100644 --- a/composer.lock +++ b/composer.lock @@ -4,34 +4,34 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d84e0ad972170be5253c7503f8f7d13e", + "content-hash": "735a01a319c5ed7b83716dd8d8f16aee", "packages": [], "packages-dev": [ { "name": "composer/semver", - "version": "dev-master", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "2b303e43d14d15cc90c8e8db4a1cdb6259f1a5c5" + "reference": "4089fddb67bcf6bf860d91b979e95be303835002" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/2b303e43d14d15cc90c8e8db4a1cdb6259f1a5c5", - "reference": "2b303e43d14d15cc90c8e8db4a1cdb6259f1a5c5", + "url": "https://api.github.com/repos/composer/semver/zipball/4089fddb67bcf6bf860d91b979e95be303835002", + "reference": "4089fddb67bcf6bf860d91b979e95be303835002", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.5 || ^5.0.5", - "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0" + "phpstan/phpstan": "^0.12.19", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -67,28 +67,42 @@ "validation", "versioning" ], - "time": "2017-11-06T09:05:54+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2020-10-14T08:51:15+00:00" }, { "name": "composer/xdebug-handler", - "version": "1.1.0", + "version": "1.4.4", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "c919dc6c62e221fc6406f861ea13433c0aa24f08" + "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/c919dc6c62e221fc6406f861ea13433c0aa24f08", - "reference": "c919dc6c62e221fc6406f861ea13433c0aa24f08", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6e076a124f7ee146f2487554a94b6a19a74887ba", + "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0", + "php": "^5.3.2 || ^7.0 || ^8.0", "psr/log": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8" }, "type": "library", "autoload": { @@ -106,44 +120,125 @@ "email": "john-stevenson@blueyonder.co.uk" } ], - "description": "Restarts a process without xdebug.", + "description": "Restarts a process without Xdebug.", "keywords": [ "Xdebug", "performance" ], - "time": "2018-04-11T15:42:36+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2020-10-24T12:39:10+00:00" }, { - "name": "doctrine/instantiator", + "name": "doctrine/annotations", "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "870a62d7b0d63d4e0ffa8f2ce3ab7c8a53d1846d" + "url": "https://github.com/doctrine/annotations.git", + "reference": "5cb4064410e57ffd3ed5583cdb2baa6f1a1fa204" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/870a62d7b0d63d4e0ffa8f2ce3ab7c8a53d1846d", - "reference": "870a62d7b0d63d4e0ffa8f2ce3ab7c8a53d1846d", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/5cb4064410e57ffd3ed5583cdb2baa6f1a1fa204", + "reference": "5cb4064410e57ffd3ed5583cdb2baa6f1a1fa204", "shasum": "" }, "require": { - "php": "^7.1" + "doctrine/lexer": "1.*", + "ext-tokenizer": "*", + "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^4.0", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.13", - "phpstan/phpstan-shim": "^0.9.2", - "phpunit/phpunit": "^7.0" + "doctrine/cache": "1.*", + "doctrine/coding-standard": "^6.0 || ^8.1", + "phpstan/phpstan": "^0.12.20", + "phpunit/phpunit": "^7.5 || ^9.1.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.12.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } + ], + "description": "Docblock Annotations Parser", + "homepage": "https://www.doctrine-project.org/projects/annotations.html", + "keywords": [ + "annotations", + "docblock", + "parser" + ], + "time": "2020-10-24T07:46:25+00:00" + }, + { + "name": "doctrine/instantiator", + "version": "1.5.x-dev", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "6410c4b8352cb64218641457cef64997e6b784fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/6410c4b8352cb64218641457cef64997e6b784fb", + "reference": "6410c4b8352cb64218641457cef64997e6b784fb", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^8.0", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, + "type": "library", "autoload": { "psr-4": { "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" @@ -157,16 +252,30 @@ { "name": "Marco Pivetta", "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" + "homepage": "https://ocramius.github.io/" } ], "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", "keywords": [ "constructor", "instantiate" ], - "time": "2018-03-05T09:41:42+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2020-11-10T19:05:51+00:00" }, { "name": "doctrine/lexer", @@ -174,24 +283,26 @@ "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "c0970c7889bfd33504c4fa54f35451c27897381d" + "reference": "4f8001a38062a3104c612ada5143b267eb57227f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/c0970c7889bfd33504c4fa54f35451c27897381d", - "reference": "c0970c7889bfd33504c4fa54f35451c27897381d", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/4f8001a38062a3104c612ada5143b267eb57227f", + "reference": "4f8001a38062a3104c612ada5143b267eb57227f", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "^7.2 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.5" + "doctrine/coding-standard": "^7.0.2", + "phpstan/phpstan": "^0.11.8", + "phpunit/phpunit": "^8.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { @@ -204,26 +315,43 @@ "MIT" ], "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, { "name": "Guilherme Blanco", "email": "guilhermeblanco@gmail.com" }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, { "name": "Johannes Schmitt", "email": "schmittjoh@gmail.com" } ], - "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "http://www.doctrine-project.org", + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", "keywords": [ + "annotations", + "docblock", "lexer", - "parser" + "parser", + "php" + ], + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } ], - "time": "2018-05-14T15:49:16+00:00" + "time": "2020-10-15T17:34:58+00:00" }, { "name": "friendsofphp/php-cs-fixer", @@ -231,50 +359,49 @@ "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "cc2b20451116e0ee5155ac95d13fa34e022cbd71" + "reference": "7fd92129901629346913e5439d5ad717ac5f73e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/cc2b20451116e0ee5155ac95d13fa34e022cbd71", - "reference": "cc2b20451116e0ee5155ac95d13fa34e022cbd71", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/7fd92129901629346913e5439d5ad717ac5f73e7", + "reference": "7fd92129901629346913e5439d5ad717ac5f73e7", "shasum": "" }, "require": { - "composer/semver": "^1.4", - "composer/xdebug-handler": "^1.0", + "composer/semver": "^1.4 || ^2.0 || ^3.0", + "composer/xdebug-handler": "^1.2", "doctrine/annotations": "^1.2", "ext-json": "*", "ext-tokenizer": "*", - "php": "^5.6 || >=7.0 <7.3", + "php": "^5.6 || ^7.0", "php-cs-fixer/diff": "^1.3", - "symfony/console": "^3.2 || ^4.0", - "symfony/event-dispatcher": "^3.0 || ^4.0", - "symfony/filesystem": "^3.0 || ^4.0", - "symfony/finder": "^3.0 || ^4.0", - "symfony/options-resolver": "^3.0 || ^4.0", + "symfony/console": "^3.4.43 || ^4.1.6 || ^5.0", + "symfony/event-dispatcher": "^3.0 || ^4.0 || ^5.0", + "symfony/filesystem": "^3.0 || ^4.0 || ^5.0", + "symfony/finder": "^3.0 || ^4.0 || ^5.0", + "symfony/options-resolver": "^3.0 || ^4.0 || ^5.0", "symfony/polyfill-php70": "^1.0", "symfony/polyfill-php72": "^1.4", - "symfony/process": "^3.0 || ^4.0", - "symfony/stopwatch": "^3.0 || ^4.0" - }, - "conflict": { - "hhvm": "*" + "symfony/process": "^3.0 || ^4.0 || ^5.0", + "symfony/stopwatch": "^3.0 || ^4.0 || ^5.0" }, "require-dev": { "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0", "justinrainbow/json-schema": "^5.0", - "keradus/cli-executor": "^1.1", + "keradus/cli-executor": "^1.4", "mikey179/vfsstream": "^1.6", - "php-coveralls/php-coveralls": "^2.1", + "php-coveralls/php-coveralls": "^2.4.1", "php-cs-fixer/accessible-object": "^1.0", - "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.0.1", - "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.0.1", - "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1", - "phpunitgoodpractices/traits": "^1.5", - "symfony/phpunit-bridge": "^4.0" + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", + "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.1", + "phpunitgoodpractices/traits": "^1.9.1", + "symfony/phpunit-bridge": "^5.1", + "symfony/yaml": "^3.0 || ^4.0 || ^5.0" }, "suggest": { - "ext-mbstring": "For handling non-UTF8 characters in cache signature.", + "ext-dom": "For handling output formats in XML", + "ext-mbstring": "For handling non-UTF8 characters.", "php-cs-fixer/phpunit-constraint-isidenticalstring": "For IsIdenticalString constraint.", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "For XmlMatchesXsd constraint.", "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." @@ -285,7 +412,7 @@ "type": "application", "extra": { "branch-alias": { - "dev-master": "2.13-dev" + "dev-master": "2.17-dev" } }, "autoload": { @@ -301,6 +428,7 @@ "tests/Test/IntegrationCaseFactory.php", "tests/Test/IntegrationCaseFactoryInterface.php", "tests/Test/InternalIntegrationCaseFactory.php", + "tests/Test/IsIdenticalConstraint.php", "tests/TestCase.php" ] }, @@ -309,17 +437,23 @@ "MIT" ], "authors": [ - { - "name": "Dariusz Rumiński", - "email": "dariusz.ruminski@gmail.com" - }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" + }, + { + "name": "Dariusz Rumiński", + "email": "dariusz.ruminski@gmail.com" } ], "description": "A tool to automatically fix PHP code style", - "time": "2018-06-09T14:06:42+00:00" + "funding": [ + { + "url": "https://github.com/keradus", + "type": "github" + } + ], + "time": "2020-11-08T21:03:05+00:00" }, { "name": "fzaninotto/faker", @@ -327,26 +461,26 @@ "source": { "type": "git", "url": "https://github.com/fzaninotto/Faker.git", - "reference": "eef05943cd5f9b00edf81daac1f1ef28b16942d6" + "reference": "ac73e5287024f5e98dd6d0bf10e6a6f7877b7513" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/eef05943cd5f9b00edf81daac1f1ef28b16942d6", - "reference": "eef05943cd5f9b00edf81daac1f1ef28b16942d6", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/ac73e5287024f5e98dd6d0bf10e6a6f7877b7513", + "reference": "ac73e5287024f5e98dd6d0bf10e6a6f7877b7513", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^5.3.3 || ^7.0 || ^8.0" }, "require-dev": { "ext-intl": "*", "phpunit/phpunit": "^4.8.35 || ^5.7", - "squizlabs/php_codesniffer": "^1.5" + "squizlabs/php_codesniffer": "^2.9.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-master": "1.9-dev" } }, "autoload": { @@ -369,7 +503,8 @@ "faker", "fixtures" ], - "time": "2018-06-25T11:55:00+00:00" + "abandoned": true, + "time": "2020-10-27T14:15:58+00:00" }, { "name": "justinrainbow/json-schema", @@ -377,19 +512,19 @@ "source": { "type": "git", "url": "https://github.com/justinrainbow/json-schema.git", - "reference": "8560d4314577199ba51bf2032f02cd1315587c23" + "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/8560d4314577199ba51bf2032f02cd1315587c23", - "reference": "8560d4314577199ba51bf2032f02cd1315587c23", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b", + "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b", "shasum": "" }, "require": { "php": ">=5.3.3" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.1", + "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", "json-schema/json-schema-test-suite": "1.2.0", "phpunit/phpunit": "^4.8.35" }, @@ -435,76 +570,27 @@ "json", "schema" ], - "time": "2018-02-14T22:26:30+00:00" - }, - { - "name": "paragonie/random_compat", - "version": "v2.0.15", - "source": { - "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "10bcb46e8f3d365170f6de9d05245aa066b81f09" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/10bcb46e8f3d365170f6de9d05245aa066b81f09", - "reference": "10bcb46e8f3d365170f6de9d05245aa066b81f09", - "shasum": "" - }, - "require": { - "php": ">=5.2.0" - }, - "require-dev": { - "phpunit/phpunit": "4.*|5.*" - }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." - }, - "type": "library", - "autoload": { - "files": [ - "lib/random.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" - } - ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", - "keywords": [ - "csprng", - "polyfill", - "pseudorandom", - "random" - ], - "time": "2018-06-08T15:26:40+00:00" + "time": "2020-05-27T16:41:55+00:00" }, { "name": "php-cs-fixer/diff", - "version": "v1.3.0", + "version": "v1.3.1", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/diff.git", - "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756" + "reference": "dbd31aeb251639ac0b9e7e29405c1441907f5759" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/78bb099e9c16361126c86ce82ec4405ebab8e756", - "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756", + "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/dbd31aeb251639ac0b9e7e29405c1441907f5759", + "reference": "dbd31aeb251639ac0b9e7e29405c1441907f5759", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": "^5.6 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^5.7.23 || ^6.4.3", + "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", "symfony/process": "^3.3" }, "type": "library", @@ -518,14 +604,14 @@ "BSD-3-Clause" ], "authors": [ - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + }, { "name": "SpacePossum" } @@ -535,7 +621,7 @@ "keywords": [ "diff" ], - "time": "2018-02-15T16:58:55+00:00" + "time": "2020-10-14T08:39:05+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -543,20 +629,17 @@ "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "21162582b5cab4ad8bd7c4b6ea4419d022b0add9" + "reference": "cf8df60735d98fd18070b7cab0019ba0831e219c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21162582b5cab4ad8bd7c4b6ea4419d022b0add9", - "reference": "21162582b5cab4ad8bd7c4b6ea4419d022b0add9", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/cf8df60735d98fd18070b7cab0019ba0831e219c", + "reference": "cf8df60735d98fd18070b7cab0019ba0831e219c", "shasum": "" }, "require": { "php": ">=7.1" }, - "require-dev": { - "phpunit/phpunit": "^6" - }, "type": "library", "extra": { "branch-alias": { @@ -565,9 +648,7 @@ }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] + "phpDocumentor\\Reflection\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -589,7 +670,7 @@ "reflection", "static analysis" ], - "time": "2018-06-14T16:14:50+00:00" + "time": "2020-06-19T17:42:03+00:00" }, { "name": "phpdocumentor/reflection-docblock", @@ -597,27 +678,28 @@ "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "182609736818dc750d42470c0be2a5ed74bad3bd" + "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/182609736818dc750d42470c0be2a5ed74bad3bd", - "reference": "182609736818dc750d42470c0be2a5ed74bad3bd", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", + "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", "shasum": "" }, "require": { - "php": ">=7.1", - "phpdocumentor/type-resolver": "^0", - "webmozart/assert": "^1" + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" }, "require-dev": { - "doctrine/instantiator": "^1", - "mockery/mockery": "^1" + "mockery/mockery": "~1.3.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.x-dev" + "dev-master": "5.x-dev" } }, "autoload": { @@ -633,37 +715,40 @@ { "name": "Mike van Riel", "email": "me@mikevanriel.com" + }, + { + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2018-02-14T19:00:58+00:00" + "time": "2020-09-03T19:13:55+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "dev-master", + "version": "1.x-dev", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "6e17163fca40eaa8ca76dee8be8f3856a3d40bb7" + "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6e17163fca40eaa8ca76dee8be8f3856a3d40bb7", - "reference": "6e17163fca40eaa8ca76dee8be8f3856a3d40bb7", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", "shasum": "" }, "require": { - "php": ">=7.1", - "phpdocumentor/reflection-common": "^2" + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^6.5" + "ext-tokenizer": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.x-dev" + "dev-1.x": "1.x-dev" } }, "autoload": { @@ -681,42 +766,43 @@ "email": "me@mikevanriel.com" } ], - "time": "2018-06-14T16:15:07+00:00" + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "time": "2020-09-17T18:55:26+00:00" }, { "name": "phpspec/prophecy", - "version": "dev-master", + "version": "v1.10.3", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "6471ce6aa91ec03e9fdf3ca188e277104d8a7d1c" + "reference": "451c3cd1418cf640de218914901e51b064abb093" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/6471ce6aa91ec03e9fdf3ca188e277104d8a7d1c", - "reference": "6471ce6aa91ec03e9fdf3ca188e277104d8a7d1c", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093", + "reference": "451c3cd1418cf640de218914901e51b064abb093", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0|^3.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", + "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" }, "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", + "phpspec/phpspec": "^2.5 || ^3.2", "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7.x-dev" + "dev-master": "1.10.x-dev" } }, "autoload": { - "psr-0": { - "Prophecy\\": "src/" + "psr-4": { + "Prophecy\\": "src/Prophecy" } }, "notification-url": "https://packagist.org/downloads/", @@ -744,11 +830,11 @@ "spy", "stub" ], - "time": "2018-05-09T14:00:54+00:00" + "time": "2020-03-05T15:02:03+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "2.2.x-dev", + "version": "2.2.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", @@ -947,16 +1033,16 @@ }, { "name": "phpunit/php-token-stream", - "version": "1.4.x-dev", + "version": "1.4.12", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "58bd196ce8bc49389307b3787934a5117db80fea" + "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/58bd196ce8bc49389307b3787934a5117db80fea", - "reference": "58bd196ce8bc49389307b3787934a5117db80fea", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16", + "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16", "shasum": "" }, "require": { @@ -992,20 +1078,21 @@ "keywords": [ "tokenizer" ], - "time": "2017-12-04T15:11:28+00:00" + "abandoned": true, + "time": "2017-12-04T08:55:13+00:00" }, { "name": "phpunit/phpunit", - "version": "4.8.x-dev", + "version": "4.8.36", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "18e5f52e8412d23e739f7d8744e177039860e800" + "reference": "46023de9a91eec7dfb06cc56cb4e260017298517" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/18e5f52e8412d23e739f7d8744e177039860e800", - "reference": "18e5f52e8412d23e739f7d8744e177039860e800", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517", + "reference": "46023de9a91eec7dfb06cc56cb4e260017298517", "shasum": "" }, "require": { @@ -1064,7 +1151,7 @@ "testing", "xunit" ], - "time": "2017-06-23T12:44:27+00:00" + "time": "2017-06-21T08:07:12+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1120,20 +1207,116 @@ "mock", "xunit" ], + "abandoned": true, "time": "2015-10-02T06:51:40+00:00" }, + { + "name": "psr/container", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "381524e8568e07f31d504a945b88556548c8c42e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/381524e8568e07f31d504a945b88556548c8c42e", + "reference": "381524e8568e07f31d504a945b88556548c8c42e", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "time": "2020-10-13T07:07:53+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "3ef040d7c05652f55bd05115baf059a445cfc79c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/3ef040d7c05652f55bd05115baf059a445cfc79c", + "reference": "3ef040d7c05652f55bd05115baf059a445cfc79c", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "time": "2020-09-18T06:44:18+00:00" + }, { "name": "psr/log", "version": "dev-master", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "3490ba5925e6dcbe6de950c5c6b8dce9f6e96eda" + "reference": "dd738d0b4491f32725492cf345f6b501f5922fec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/3490ba5925e6dcbe6de950c5c6b8dce9f6e96eda", - "reference": "3490ba5925e6dcbe6de950c5c6b8dce9f6e96eda", + "url": "https://api.github.com/repos/php-fig/log/zipball/dd738d0b4491f32725492cf345f6b501f5922fec", + "reference": "dd738d0b4491f32725492cf345f6b501f5922fec", "shasum": "" }, "require": { @@ -1142,7 +1325,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { @@ -1157,7 +1340,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for logging libraries", @@ -1167,7 +1350,7 @@ "psr", "psr-3" ], - "time": "2018-04-03T15:59:15+00:00" + "time": "2020-09-18T06:44:51+00:00" }, { "name": "sebastian/comparator", @@ -1404,23 +1587,29 @@ }, { "name": "sebastian/finder-facade", - "version": "1.2.2", + "version": "1.2.x-dev", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/finder-facade.git", - "reference": "4a3174709c2dc565fe5fb26fcf827f6a1fc7b09f" + "reference": "bc7d1a6fd93418155da6ea721bc0f8eb8efc0d78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/finder-facade/zipball/4a3174709c2dc565fe5fb26fcf827f6a1fc7b09f", - "reference": "4a3174709c2dc565fe5fb26fcf827f6a1fc7b09f", + "url": "https://api.github.com/repos/sebastianbergmann/finder-facade/zipball/bc7d1a6fd93418155da6ea721bc0f8eb8efc0d78", + "reference": "bc7d1a6fd93418155da6ea721bc0f8eb8efc0d78", "shasum": "" }, "require": { - "symfony/finder": "~2.3|~3.0|~4.0", - "theseer/fdomdocument": "~1.3" + "php": "^7.1", + "symfony/finder": "^2.3|^3.0|^4.0|^5.0", + "theseer/fdomdocument": "^1.6" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, "autoload": { "classmap": [ "src/" @@ -1439,7 +1628,8 @@ ], "description": "FinderFacade is a convenience wrapper for Symfony's Finder component.", "homepage": "https://github.com/sebastianbergmann/finder-facade", - "time": "2017-11-18T17:31:49+00:00" + "abandoned": true, + "time": "2020-02-08T06:24:54+00:00" }, { "name": "sebastian/global-state", @@ -1637,12 +1827,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "1b97071a26d028c9bd4588264e101e14f6e7cd00" + "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/1b97071a26d028c9bd4588264e101e14f6e7cd00", - "reference": "1b97071a26d028c9bd4588264e101e14f6e7cd00", + "url": "https://api.github.com/repos/symfony/console/zipball/a10b1da6fc93080c180bba7219b5ff5b7518fe81", + "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81", "shasum": "" }, "require": { @@ -1654,6 +1844,9 @@ "symfony/dependency-injection": "<3.4", "symfony/process": "<3.3" }, + "provide": { + "psr/log-implementation": "1.0" + }, "require-dev": { "psr/log": "~1.0", "symfony/config": "~3.3|~4.0", @@ -1663,17 +1856,12 @@ "symfony/process": "~3.3|~4.0" }, "suggest": { - "psr/log-implementation": "For using the console logger", + "psr/log": "For using the console logger", "symfony/event-dispatcher": "", "symfony/lock": "", "symfony/process": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Console\\": "" @@ -1698,38 +1886,48 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-05-23T05:02:55+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/debug", - "version": "dev-master", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "ef8bd62973e1ab44f0bf5a6acde62f6969dbcd72" + "reference": "65fe7b49868378319b82da3035fb30801b931c47" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/ef8bd62973e1ab44f0bf5a6acde62f6969dbcd72", - "reference": "ef8bd62973e1ab44f0bf5a6acde62f6969dbcd72", + "url": "https://api.github.com/repos/symfony/debug/zipball/65fe7b49868378319b82da3035fb30801b931c47", + "reference": "65fe7b49868378319b82da3035fb30801b931c47", "shasum": "" }, "require": { - "php": "^7.1.3", - "psr/log": "~1.0" + "php": ">=7.1.3", + "psr/log": "~1.0", + "symfony/polyfill-php80": "^1.15" }, "conflict": { "symfony/http-kernel": "<3.4" }, "require-dev": { - "symfony/http-kernel": "~3.4|~4.0" + "symfony/http-kernel": "^3.4|^4.0|^5.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Debug\\": "" @@ -1754,45 +1952,129 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2018-06-08T09:40:00+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-28T20:42:29+00:00" }, { - "name": "symfony/event-dispatcher", - "version": "dev-master", + "name": "symfony/deprecation-contracts", + "version": "dev-main", "source": { "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "7edfcd9670ce9dd7450333f281d61f487f403aff" + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "be5a36670fd7ccb6f6e03d9c9bd7345e2a9a8515" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7edfcd9670ce9dd7450333f281d61f487f403aff", - "reference": "7edfcd9670ce9dd7450333f281d61f487f403aff", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/be5a36670fd7ccb6f6e03d9c9bd7345e2a9a8515", + "reference": "be5a36670fd7ccb6f6e03d9c9bd7345e2a9a8515", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-version": "2.3", + "branch-alias": { + "dev-main": "2.3-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-14T17:08:19+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "5.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "aa13a09811e6d2ad43f8fb336bebdb7691d85d3c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/aa13a09811e6d2ad43f8fb336bebdb7691d85d3c", + "reference": "aa13a09811e6d2ad43f8fb336bebdb7691d85d3c", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/event-dispatcher-contracts": "^2", + "symfony/polyfill-php80": "^1.15" }, "conflict": { - "symfony/dependency-injection": "<3.4" + "symfony/dependency-injection": "<4.4" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0" }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/expression-language": "~3.4|~4.0", - "symfony/stopwatch": "~3.4|~4.0" + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/error-handler": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/service-contracts": "^1.1|^2", + "symfony/stopwatch": "^4.4|^5.0" }, "suggest": { "symfony/dependency-injection": "", "symfony/http-kernel": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\EventDispatcher\\": "" @@ -1817,32 +2099,118 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2018-05-07T14:51:25+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-11-01T16:14:45+00:00" }, { - "name": "symfony/filesystem", - "version": "dev-master", + "name": "symfony/event-dispatcher-contracts", + "version": "dev-main", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "87d17aa4b6ed33ed85a7ae3442f3c7ba3d8beaf8" + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "8e3016b6e4f491433751b9ef0ef090cac6b08170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/87d17aa4b6ed33ed85a7ae3442f3c7ba3d8beaf8", - "reference": "87d17aa4b6ed33ed85a7ae3442f3c7ba3d8beaf8", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8e3016b6e4f491433751b9ef0ef090cac6b08170", + "reference": "8e3016b6e4f491433751b9ef0ef090cac6b08170", "shasum": "" }, "require": { - "php": "^7.1.3", - "symfony/polyfill-ctype": "~1.8" + "php": ">=7.2.5", + "psr/event-dispatcher": "^1" + }, + "suggest": { + "symfony/event-dispatcher-implementation": "" }, "type": "library", "extra": { + "branch-version": "2.3", "branch-alias": { - "dev-master": "4.2-dev" + "dev-main": "2.3-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-14T17:08:19+00:00" + }, + { + "name": "symfony/filesystem", + "version": "5.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "4326782dcccf8aa873b26999e36c6c71c8d3404b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/4326782dcccf8aa873b26999e36c6c71c8d3404b", + "reference": "4326782dcccf8aa873b26999e36c6c71c8d3404b", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8" + }, + "type": "library", "autoload": { "psr-4": { "Symfony\\Component\\Filesystem\\": "" @@ -1867,31 +2235,40 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2018-05-31T10:18:23+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-28T21:33:29+00:00" }, { "name": "symfony/finder", - "version": "dev-master", + "version": "5.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "fdf3ebd1f340fbf666de59745b1f86d021d34e94" + "reference": "19de51f4fd1cb88ba4d8d9a8c39d79cca7f11577" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/fdf3ebd1f340fbf666de59745b1f86d021d34e94", - "reference": "fdf3ebd1f340fbf666de59745b1f86d021d34e94", + "url": "https://api.github.com/repos/symfony/finder/zipball/19de51f4fd1cb88ba4d8d9a8c39d79cca7f11577", + "reference": "19de51f4fd1cb88ba4d8d9a8c39d79cca7f11577", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": ">=7.2.5" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Finder\\": "" @@ -1916,31 +2293,43 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2018-06-19T21:38:29+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-11-02T07:55:38+00:00" }, { "name": "symfony/options-resolver", - "version": "dev-master", + "version": "5.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "72f3c0dc4d3103c192b6b68ff79edb0307e4d1c0" + "reference": "87a2a4a766244e796dd9cb9d6f58c123358cd986" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/72f3c0dc4d3103c192b6b68ff79edb0307e4d1c0", - "reference": "72f3c0dc4d3103c192b6b68ff79edb0307e4d1c0", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/87a2a4a766244e796dd9cb9d6f58c123358cd986", + "reference": "87a2a4a766244e796dd9cb9d6f58c123358cd986", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/polyfill-php73": "~1.0", + "symfony/polyfill-php80": "^1.15" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\OptionsResolver\\": "" @@ -1970,24 +2359,38 @@ "configuration", "options" ], - "time": "2018-05-31T11:26:55+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T12:08:07+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "dev-master", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "9d31bef82d2e9b033f335d60b96611757f98c605" + "reference": "fade6deebd931cfd7a544f68479405a6a08979a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/9d31bef82d2e9b033f335d60b96611757f98c605", - "reference": "9d31bef82d2e9b033f335d60b96611757f98c605", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/fade6deebd931cfd7a544f68479405a6a08979a3", + "reference": "fade6deebd931cfd7a544f68479405a6a08979a3", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-ctype": "For best performance" @@ -1995,7 +2398,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-main": "1.21-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -2011,13 +2418,13 @@ "MIT" ], "authors": [ - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - }, { "name": "Gert de Pagter", "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], "description": "Symfony polyfill for ctype functions", @@ -2028,24 +2435,38 @@ "polyfill", "portable" ], - "time": "2018-05-17T18:32:56+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-26T13:35:45+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "dev-master", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "25b83a5050c6607e2dfa814ffb15388caf7ce690" + "reference": "401c9d9d3400c53a8f1a39425f0543406c137a43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/25b83a5050c6607e2dfa814ffb15388caf7ce690", - "reference": "25b83a5050c6607e2dfa814ffb15388caf7ce690", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/401c9d9d3400c53a8f1a39425f0543406c137a43", + "reference": "401c9d9d3400c53a8f1a39425f0543406c137a43", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-mbstring": "For best performance" @@ -2053,7 +2474,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-main": "1.21-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -2087,35 +2512,190 @@ "portable", "shim" ], - "time": "2018-05-30T15:56:36+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-26T13:35:45+00:00" }, { "name": "symfony/polyfill-php70", - "version": "dev-master", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "77454693d8f10dd23bb24955cffd2d82db1007a6" + "reference": "5f03a781d984aae42cebd18e7912fa80f02ee644" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/77454693d8f10dd23bb24955cffd2d82db1007a6", - "reference": "77454693d8f10dd23bb24955cffd2d82db1007a6", + "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/5f03a781d984aae42cebd18e7912fa80f02ee644", + "reference": "5f03a781d984aae42cebd18e7912fa80f02ee644", "shasum": "" }, "require": { - "paragonie/random_compat": "~1.0|~2.0", - "php": ">=5.3.3" + "php": ">=7.1" + }, + "type": "metapackage", + "extra": { + "branch-alias": { + "dev-main": "1.20-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T14:02:19+00:00" + }, + { + "name": "symfony/polyfill-php72", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "4a4465f57b476085b62e74087f74ae2e753ff633" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/4a4465f57b476085b62e74087f74ae2e753ff633", + "reference": "4a4465f57b476085b62e74087f74ae2e753ff633", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.21-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-26T13:35:45+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "8c0d39c1526009b97f43beea4cc685bbc353a70b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/8c0d39c1526009b97f43beea4cc685bbc353a70b", + "reference": "8c0d39c1526009b97f43beea4cc685bbc353a70b", + "shasum": "" + }, + "require": { + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-main": "1.21-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" + "Symfony\\Polyfill\\Php73\\": "" }, "files": [ "bootstrap.php" @@ -2138,7 +2718,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -2146,37 +2726,58 @@ "portable", "shim" ], - "time": "2018-04-26T10:06:28+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-26T13:35:45+00:00" }, { - "name": "symfony/polyfill-php72", - "version": "dev-master", + "name": "symfony/polyfill-php80", + "version": "dev-main", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "a4576e282d782ad82397f3e4ec1df8e0f0cafb46" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "3a11f3dfb34ad50f978cb2b8cf936933b87739aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/a4576e282d782ad82397f3e4ec1df8e0f0cafb46", - "reference": "a4576e282d782ad82397f3e4ec1df8e0f0cafb46", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/3a11f3dfb34ad50f978cb2b8cf936933b87739aa", + "reference": "3a11f3dfb34ad50f978cb2b8cf936933b87739aa", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-main": "1.21-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" + "Symfony\\Polyfill\\Php80\\": "" }, "files": [ "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2184,6 +2785,10 @@ "MIT" ], "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" @@ -2193,7 +2798,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -2201,31 +2806,41 @@ "portable", "shim" ], - "time": "2018-04-26T10:06:28+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-26T13:35:45+00:00" }, { "name": "symfony/process", - "version": "dev-master", + "version": "5.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "3bca3baddc791a60b8a1e199892ef270b74b0877" + "reference": "240e74140d4d956265048f3025c0aecbbc302d54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/3bca3baddc791a60b8a1e199892ef270b74b0877", - "reference": "3bca3baddc791a60b8a1e199892ef270b74b0877", + "url": "https://api.github.com/repos/symfony/process/zipball/240e74140d4d956265048f3025c0aecbbc302d54", + "reference": "240e74140d4d956265048f3025c0aecbbc302d54", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.15" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Process\\": "" @@ -2250,31 +2865,118 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2018-05-31T10:18:23+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-11-02T15:47:15+00:00" }, { - "name": "symfony/stopwatch", - "version": "dev-master", + "name": "symfony/service-contracts", + "version": "dev-main", "source": { "type": "git", - "url": "https://github.com/symfony/stopwatch.git", - "reference": "4ca32e1f12018a8ab855f1925c7dc320c6843012" + "url": "https://github.com/symfony/service-contracts.git", + "reference": "0aeee2f70f4550e6c48c9a796d98f5ceda58dfda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/4ca32e1f12018a8ab855f1925c7dc320c6843012", - "reference": "4ca32e1f12018a8ab855f1925c7dc320c6843012", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/0aeee2f70f4550e6c48c9a796d98f5ceda58dfda", + "reference": "0aeee2f70f4550e6c48c9a796d98f5ceda58dfda", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": ">=7.2.5", + "psr/container": "^1.0" + }, + "suggest": { + "symfony/service-implementation": "" }, "type": "library", "extra": { + "branch-version": "2.3", "branch-alias": { - "dev-master": "4.2-dev" + "dev-main": "2.3-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-14T17:08:19+00:00" + }, + { + "name": "symfony/stopwatch", + "version": "5.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/stopwatch.git", + "reference": "2b105c0354f39a63038a1d8bf776ee92852813af" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/2b105c0354f39a63038a1d8bf776ee92852813af", + "reference": "2b105c0354f39a63038a1d8bf776ee92852813af", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/service-contracts": "^1.0|^2" + }, + "type": "library", "autoload": { "psr-4": { "Symfony\\Component\\Stopwatch\\": "" @@ -2299,7 +3001,21 @@ ], "description": "Symfony Stopwatch Component", "homepage": "https://symfony.com", - "time": "2018-05-07T14:51:25+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-11-01T16:14:45+00:00" }, { "name": "symfony/yaml", @@ -2307,12 +3023,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0" + "reference": "88289caa3c166321883f67fe5130188ebbb47094" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/c5010cc1692ce1fa328b1fb666961eb3d4a85bb0", - "reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0", + "url": "https://api.github.com/repos/symfony/yaml/zipball/88289caa3c166321883f67fe5130188ebbb47094", + "reference": "88289caa3c166321883f67fe5130188ebbb47094", "shasum": "" }, "require": { @@ -2329,11 +3045,6 @@ "symfony/console": "For validating YAML files using the lint command" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Yaml\\": "" @@ -2358,7 +3069,21 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2018-05-03T23:18:14+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "theseer/fdomdocument", @@ -2402,28 +3127,35 @@ }, { "name": "vlucas/phpdotenv", - "version": "dev-master", + "version": "2.6.x-dev", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "fe2a5c22c94949983be10263417f47f8551d5946" + "reference": "e1d57f62db3db00d9139078cbedf262280701479" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/fe2a5c22c94949983be10263417f47f8551d5946", - "reference": "fe2a5c22c94949983be10263417f47f8551d5946", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/e1d57f62db3db00d9139078cbedf262280701479", + "reference": "e1d57f62db3db00d9139078cbedf262280701479", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": "^5.3.9 || ^7.0 || ^8.0", + "symfony/polyfill-ctype": "^1.17" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.0" + "ext-filter": "*", + "ext-pcre": "*", + "phpunit/phpunit": "^4.8.35 || ^5.7.27" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator.", + "ext-pcre": "Required to use most of the library." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.5-dev" + "dev-master": "2.6-dev" } }, "autoload": { @@ -2436,10 +3168,15 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "homepage": "https://gjcampbell.co.uk/" + }, { "name": "Vance Lucas", "email": "vance@vancelucas.com", - "homepage": "http://www.vancelucas.com" + "homepage": "https://vancelucas.com/" } ], "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", @@ -2448,35 +3185,44 @@ "env", "environment" ], - "time": "2018-03-19T21:27:48+00:00" + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2020-07-14T17:54:18+00:00" }, { "name": "webmozart/assert", - "version": "dev-master", + "version": "1.9.1", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "53927dddf3afa2088b355188e143bba42159bf5d" + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/53927dddf3afa2088b355188e143bba42159bf5d", - "reference": "53927dddf3afa2088b355188e143bba42159bf5d", + "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^5.3.3 || ^7.0 || ^8.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<3.9.1" }, "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" + "phpunit/phpunit": "^4.8.36 || ^7.5.13" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -2498,7 +3244,7 @@ "check", "validate" ], - "time": "2018-05-29T14:25:02+00:00" + "time": "2020-07-08T17:02:28+00:00" } ], "aliases": [], @@ -2511,7 +3257,9 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=5.4" + "php": ">=5.4", + "ext-curl": "*" }, - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "1.1.0" } diff --git a/src/Models/DebitCard.php b/src/Models/DebitCard.php new file mode 100644 index 00000000..3f7d69ac --- /dev/null +++ b/src/Models/DebitCard.php @@ -0,0 +1,47 @@ +payment_type_code = $this->payment->debit_card->type; + $transformed->card = $this->transformCard(); + $transformed->manual_review = $this->payment->manualReview; + + return $transformed; + } + + private function transformCard() + { + return (object) [ + 'threeds_eci' => $this->payment->debit_card->threedsEci, + 'threeds_cryptogram' => $this->payment->debit_card->threedsCryptogram, + 'threeds_xid' => $this->payment->debit_card->threedsXid, + 'threeds_version' => $this->payment->debit_card->threedsVersion, + 'threeds_trxid' => $this->payment->debit_card->threedsTrxid, + 'token' => $this->payment->debit_card->token + ]; + } + +} \ No newline at end of file diff --git a/src/Services/Gateways/DebitCard.php b/src/Services/Gateways/DebitCard.php index e5dceb29..62ab7848 100644 --- a/src/Services/Gateways/DebitCard.php +++ b/src/Services/Gateways/DebitCard.php @@ -4,7 +4,7 @@ use Ebanx\Benjamin\Models\Country; use Ebanx\Benjamin\Models\Currency; use Ebanx\Benjamin\Models\Payment; -use Ebanx\Benjamin\Services\Adapters\CardPaymentAdapter; +use Ebanx\Benjamin\Services\Adapters\DebitCardPaymentAdapter; class DebitCard extends DirectGateway { @@ -29,9 +29,9 @@ protected static function getEnabledCurrencies() protected function getPaymentData(Payment $payment) { - $payment->card->type = self::API_TYPE; + $payment->debit_card->type = self::API_TYPE; - $adapter = new CardPaymentAdapter($payment, $this->config); + $adapter = new DebitCardPaymentAdapter($payment, $this->config); return $adapter->transform(); } } diff --git a/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php b/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php new file mode 100644 index 00000000..183ecacb --- /dev/null +++ b/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php @@ -0,0 +1,96 @@ + 'testIntegrationKey' + ]); + $factory = new BuilderFactory('pt_BR'); + $payment = $factory->payment()->debitCard()->businessPerson()->build(); + + $adapter = new DebitCardPaymentAdapter($payment, $config); + $result = $adapter->transform(); + + $validator = new JsonSchema\Validator; + $validator->validate($result, $this->getSchema(['paymentSchema', 'brazilPaymentSchema', 'cardPaymentSchema'])); + + $this->assertTrue($validator->isValid(), $this->getJsonMessage($validator)); + } + + + public function testAdaptEmptyCard() + { + $config = new Config([ + 'sandboxIntegrationKey' => 'testIntegrationKey' + ]); + $factory = new BuilderFactory('pt_BR'); + $payment = $factory->payment()->emptyCreditCard()->businessPerson()->build(); + + $adapter = new DebitCardPaymentAdapter($payment, $config); + $result = $adapter->transform(); + + $this->assertObjectHasAttribute('payment', $result); + } + + public function testWithManualReview() + { + $config = new Config([ + 'sandboxIntegrationKey' => 'testIntegrationKey' + ]); + $factory = new BuilderFactory('pt_BR'); + $payment = $factory->payment()->creditCard()->businessPerson()->manualReview(true)->build(); + + $adapter = new DebitCardPaymentAdapter($payment, $config); + $result = $adapter->transform(); + + $this->assertObjectHasAttribute('payment', $result); + $this->assertObjectHasAttribute('manual_review', $result->payment); + $this->assertEquals(true, $result->payment->manual_review); + } + + public function testWithoutManualReview() + { + $config = new Config([ + 'sandboxIntegrationKey' => 'testIntegrationKey' + ]); + $factory = new BuilderFactory('pt_BR'); + $payment = $factory->payment()->creditCard()->businessPerson()->build(); + + $adapter = new DebitCardPaymentAdapter($payment, $config); + $result = $adapter->transform(); + + $this->assertObjectHasAttribute('payment', $result); + $this->assertObjectHasAttribute('manual_review', $result->payment); + $this->assertEquals(null, $result->payment->manual_review); + } + + public function testRequestAttributeNumber() + { + $config = new Config([ + 'sandboxIntegrationKey' => 'testIntegrationKey' + ]); + $factory = new BuilderFactory('pt_BR'); + $payment = $factory->payment()->emptyCreditCard()->businessPerson()->build(); + + $adapter = new DebitCardPaymentAdapter($payment, $config); + $result = $adapter->transform(); + + $numberOfKeys = count((array) $result); + $this->assertEquals(5, $numberOfKeys); + $this->assertObjectHasAttribute('integration_key', $result); + $this->assertObjectHasAttribute('operation', $result); + $this->assertObjectHasAttribute('mode', $result); + $this->assertObjectHasAttribute('metadata', $result); + $this->assertObjectHasAttribute('payment', $result); + } + + +} \ No newline at end of file From f83936a137f7724a39bd8c042c83c1ab869bf101 Mon Sep 17 00:00:00 2001 From: Juan Alfonso Date: Fri, 13 Nov 2020 11:46:54 -0500 Subject: [PATCH 2/9] Include debit card logic --- .../Services/Adapters/DebitCardPaymentAdapterTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php b/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php index 183ecacb..5514950a 100644 --- a/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php +++ b/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php @@ -32,7 +32,7 @@ public function testAdaptEmptyCard() 'sandboxIntegrationKey' => 'testIntegrationKey' ]); $factory = new BuilderFactory('pt_BR'); - $payment = $factory->payment()->emptyCreditCard()->businessPerson()->build(); + $payment = $factory->payment()->emptydebitCard()->businessPerson()->build(); $adapter = new DebitCardPaymentAdapter($payment, $config); $result = $adapter->transform(); @@ -46,7 +46,7 @@ public function testWithManualReview() 'sandboxIntegrationKey' => 'testIntegrationKey' ]); $factory = new BuilderFactory('pt_BR'); - $payment = $factory->payment()->creditCard()->businessPerson()->manualReview(true)->build(); + $payment = $factory->payment()->debitCard()->businessPerson()->manualReview(true)->build(); $adapter = new DebitCardPaymentAdapter($payment, $config); $result = $adapter->transform(); @@ -62,7 +62,7 @@ public function testWithoutManualReview() 'sandboxIntegrationKey' => 'testIntegrationKey' ]); $factory = new BuilderFactory('pt_BR'); - $payment = $factory->payment()->creditCard()->businessPerson()->build(); + $payment = $factory->payment()->debitCard()->businessPerson()->build(); $adapter = new DebitCardPaymentAdapter($payment, $config); $result = $adapter->transform(); @@ -78,7 +78,7 @@ public function testRequestAttributeNumber() 'sandboxIntegrationKey' => 'testIntegrationKey' ]); $factory = new BuilderFactory('pt_BR'); - $payment = $factory->payment()->emptyCreditCard()->businessPerson()->build(); + $payment = $factory->payment()->emptydebitCard()->businessPerson()->build(); $adapter = new DebitCardPaymentAdapter($payment, $config); $result = $adapter->transform(); From d9327c1d0b66cc87479a225ab38e23a0a1e36453 Mon Sep 17 00:00:00 2001 From: Juan Alfonso Date: Fri, 13 Nov 2020 11:50:55 -0500 Subject: [PATCH 3/9] Include debit card logic --- tests/Helpers/Builders/PaymentBuilder.php | 10 ++++++++++ .../Services/Adapters/DebitCardPaymentAdapterTest.php | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/Helpers/Builders/PaymentBuilder.php b/tests/Helpers/Builders/PaymentBuilder.php index e282fbf9..2a56d958 100644 --- a/tests/Helpers/Builders/PaymentBuilder.php +++ b/tests/Helpers/Builders/PaymentBuilder.php @@ -2,6 +2,7 @@ namespace Tests\Helpers\Builders; use Ebanx\Benjamin\Models\Card; +use Ebanx\Benjamin\Models\DebitCard; use Faker; use Ebanx\Benjamin\Models\Bank; use Ebanx\Benjamin\Models\Payment; @@ -96,6 +97,15 @@ public function debitCard() return $this; } + public function emptyDebitCard($instalmentNumber = 1) + { + $this->instance->type = 'deditcard'; + $this->instance->card = new DebitCard(); + $this->instance->instalments = $instalmentNumber; + + return $this; + } + public function tef() { $this->instance->type = 'tef'; diff --git a/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php b/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php index 5514950a..b91bbd53 100644 --- a/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php +++ b/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php @@ -78,7 +78,7 @@ public function testRequestAttributeNumber() 'sandboxIntegrationKey' => 'testIntegrationKey' ]); $factory = new BuilderFactory('pt_BR'); - $payment = $factory->payment()->emptydebitCard()->businessPerson()->build(); + $payment = $factory->payment()->emptyDebitCard()->businessPerson()->build(); $adapter = new DebitCardPaymentAdapter($payment, $config); $result = $adapter->transform(); From b65ac1b13c5d5ab81b5951bbd9dda7e8aa5574de Mon Sep 17 00:00:00 2001 From: Juan Alfonso Date: Fri, 13 Nov 2020 11:54:39 -0500 Subject: [PATCH 4/9] Include debit card logic --- tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php b/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php index b91bbd53..56f4cf69 100644 --- a/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php +++ b/tests/Unit/Services/Adapters/DebitCardPaymentAdapterTest.php @@ -32,7 +32,7 @@ public function testAdaptEmptyCard() 'sandboxIntegrationKey' => 'testIntegrationKey' ]); $factory = new BuilderFactory('pt_BR'); - $payment = $factory->payment()->emptydebitCard()->businessPerson()->build(); + $payment = $factory->payment()->emptyDebitCard()->businessPerson()->build(); $adapter = new DebitCardPaymentAdapter($payment, $config); $result = $adapter->transform(); From 11147c12b0cfb0e13dd874acb04ed155e0752e3a Mon Sep 17 00:00:00 2001 From: Juan Alfonso Date: Fri, 13 Nov 2020 13:01:55 -0500 Subject: [PATCH 5/9] remove unused line --- tests/Helpers/Builders/PaymentBuilder.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Helpers/Builders/PaymentBuilder.php b/tests/Helpers/Builders/PaymentBuilder.php index 2a56d958..db34d8a4 100644 --- a/tests/Helpers/Builders/PaymentBuilder.php +++ b/tests/Helpers/Builders/PaymentBuilder.php @@ -97,11 +97,10 @@ public function debitCard() return $this; } - public function emptyDebitCard($instalmentNumber = 1) + public function emptyDebitCard() { $this->instance->type = 'deditcard'; $this->instance->card = new DebitCard(); - $this->instance->instalments = $instalmentNumber; return $this; } From 91dfea02e8a80217f318037012aac352b73bb538 Mon Sep 17 00:00:00 2001 From: Juan Alfonso Date: Tue, 17 Nov 2020 14:08:32 -0500 Subject: [PATCH 6/9] fix test --- tests/Helpers/Builders/PaymentBuilder.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/Helpers/Builders/PaymentBuilder.php b/tests/Helpers/Builders/PaymentBuilder.php index db34d8a4..5b628f1f 100644 --- a/tests/Helpers/Builders/PaymentBuilder.php +++ b/tests/Helpers/Builders/PaymentBuilder.php @@ -91,8 +91,11 @@ public function emptyCreditCard($instalmentNumber = 1) public function debitCard() { $this->instance->type = 'debitcard'; - $this->instance->card = $this->faker->cardModel(); - $this->instance->card->number = '4242424242424242'; + $this->instance->debit_card = $this->faker->cardModel(); + $this->instance->debit_card->threeds_eci = '05'; + $this->instance->debit_card->threeds_xid = 'AAIBAkl0NwmHglFBAXQ3AAAAAAA'; + $this->instance->debit_card->threeds_version = '2'; + $this->instance->debit_card->threeds_trxid = 'AAIBAkl0NwmHglFBAXQ3AAAAAAA'; return $this; } @@ -100,7 +103,7 @@ public function debitCard() public function emptyDebitCard() { $this->instance->type = 'deditcard'; - $this->instance->card = new DebitCard(); + $this->instance->debit_card = new DebitCard(); return $this; } From 4164c0716c4afefa48fee10d31ed433619ba8f7f Mon Sep 17 00:00:00 2001 From: Juan Alfonso Date: Tue, 17 Nov 2020 14:22:57 -0500 Subject: [PATCH 7/9] include debitCardModel helper test --- tests/Helpers/Builders/PaymentBuilder.php | 2 +- tests/Helpers/Providers/DebitCard.php | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/Helpers/Providers/DebitCard.php diff --git a/tests/Helpers/Builders/PaymentBuilder.php b/tests/Helpers/Builders/PaymentBuilder.php index 5b628f1f..a87c5d98 100644 --- a/tests/Helpers/Builders/PaymentBuilder.php +++ b/tests/Helpers/Builders/PaymentBuilder.php @@ -91,7 +91,7 @@ public function emptyCreditCard($instalmentNumber = 1) public function debitCard() { $this->instance->type = 'debitcard'; - $this->instance->debit_card = $this->faker->cardModel(); + $this->instance->debit_card = $this->faker->debitCardModel(); $this->instance->debit_card->threeds_eci = '05'; $this->instance->debit_card->threeds_xid = 'AAIBAkl0NwmHglFBAXQ3AAAAAAA'; $this->instance->debit_card->threeds_version = '2'; diff --git a/tests/Helpers/Providers/DebitCard.php b/tests/Helpers/Providers/DebitCard.php new file mode 100644 index 00000000..65ae7340 --- /dev/null +++ b/tests/Helpers/Providers/DebitCard.php @@ -0,0 +1,17 @@ +autoCapture = true; + return $card; + } +} From bbcb8a070b7a79fef1465f8e29a2fdc4acf1c353 Mon Sep 17 00:00:00 2001 From: Juan Alfonso Date: Tue, 17 Nov 2020 16:50:47 -0500 Subject: [PATCH 8/9] Fixes test --- tests/Helpers/Builders/BuilderFactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Helpers/Builders/BuilderFactory.php b/tests/Helpers/Builders/BuilderFactory.php index 3a6c7c3e..5da876d2 100644 --- a/tests/Helpers/Builders/BuilderFactory.php +++ b/tests/Helpers/Builders/BuilderFactory.php @@ -65,6 +65,7 @@ private function setupFaker() $this->faker->addProvider(new Providers\Item($this->faker)); $this->faker->addProvider(new Providers\Payment($this->faker)); $this->faker->addProvider(new Providers\Card($this->faker)); + $this->faker->addProvider(new Providers\DebitCard($this->faker)); $this->faker->addProvider(new Providers\Request($this->faker)); $personProviderClass = $localProviderDir.'\Person'; From 8b27cd1191fc4a2b52a7db5351e66d8ec3454a5a Mon Sep 17 00:00:00 2001 From: German Martinez Date: Fri, 25 Feb 2022 11:29:14 -0500 Subject: [PATCH 9/9] Se agrego el campo "expiration_time_in_seconds" en el request, esto para Pix --- src/Models/Payment.php | 7 +++++++ src/Services/Adapters/PaymentAdapter.php | 1 + 2 files changed, 8 insertions(+) diff --git a/src/Models/Payment.php b/src/Models/Payment.php index f1280411..990ba8a6 100644 --- a/src/Models/Payment.php +++ b/src/Models/Payment.php @@ -151,4 +151,11 @@ class Payment extends BaseModel * @var string */ public $wallet; + + /** + * Expiration time in seconds. + * + * @var integer + */ + public $expirationTimeInSeconds; } diff --git a/src/Services/Adapters/PaymentAdapter.php b/src/Services/Adapters/PaymentAdapter.php index 9115aef1..341d0f82 100644 --- a/src/Services/Adapters/PaymentAdapter.php +++ b/src/Services/Adapters/PaymentAdapter.php @@ -61,6 +61,7 @@ protected function transformPayment() 'device_id' => $this->payment->deviceId, 'payment_type_code' => $this->payment->type, 'user_value_5' => 'Benjamin', + 'expiration_time_in_seconds' => $this->payment->expirationTimeInSeconds, ]; if ($birthdate = $this->payment->person->birthdate) { $payload['birth_date'] = $birthdate->format('d/m/Y');