From f6b67ac13e78c2005898c9b6b9732a33b9bab827 Mon Sep 17 00:00:00 2001 From: Christian Dangl Date: Thu, 12 Oct 2023 15:43:45 +0200 Subject: [PATCH] MOL-1255: move php vendor fix composer ambiguous class --- composer.json | 29 +- composer.lock | 4057 ++++++----------- makefile | 2 +- vendor_manual/makefile | 18 + .../mollie-api-php/.php-cs-fixer.dist.php | 37 + vendor_manual/mollie/mollie-api-php/LICENSE | 8 + vendor_manual/mollie/mollie-api-php/README.md | 231 + .../mollie/mollie-api-php/composer.json | 84 + .../mollie-api-php/phpstan-baseline.neon | 5 + .../mollie/mollie-api-php/phpstan.neon | 17 + .../mollie/mollie-api-php/phpunit.xml | 15 + .../mollie/mollie-api-php/scoper.inc.php | 13 + .../src/CompatibilityChecker.php | 59 + .../src/Endpoints/BalanceEndpoint.php | 82 + .../src/Endpoints/BalanceReportEndpoint.php | 69 + .../Endpoints/BalanceTransactionEndpoint.php | 83 + .../src/Endpoints/ChargebackEndpoint.php | 50 + .../src/Endpoints/ClientEndpoint.php | 69 + .../src/Endpoints/ClientLinkEndpoint.php | 40 + .../Endpoints/CollectionEndpointAbstract.php | 48 + .../src/Endpoints/CustomerEndpoint.php | 121 + .../Endpoints/CustomerPaymentsEndpoint.php | 97 + .../src/Endpoints/EndpointAbstract.php | 210 + .../src/Endpoints/InvoiceEndpoint.php | 79 + .../src/Endpoints/MandateEndpoint.php | 149 + .../src/Endpoints/MethodEndpoint.php | 103 + .../src/Endpoints/OnboardingEndpoint.php | 89 + .../src/Endpoints/OrderEndpoint.php | 130 + .../src/Endpoints/OrderLineEndpoint.php | 139 + .../src/Endpoints/OrderPaymentEndpoint.php | 74 + .../src/Endpoints/OrderRefundEndpoint.php | 69 + .../src/Endpoints/OrganizationEndpoint.php | 64 + .../Endpoints/OrganizationPartnerEndpoint.php | 58 + .../src/Endpoints/PaymentCaptureEndpoint.php | 121 + .../Endpoints/PaymentChargebackEndpoint.php | 89 + .../src/Endpoints/PaymentEndpoint.php | 168 + .../src/Endpoints/PaymentLinkEndpoint.php | 87 + .../src/Endpoints/PaymentRefundEndpoint.php | 122 + .../src/Endpoints/PaymentRouteEndpoint.php | 70 + .../src/Endpoints/PermissionEndpoint.php | 65 + .../src/Endpoints/ProfileEndpoint.php | 143 + .../src/Endpoints/ProfileMethodEndpoint.php | 129 + .../src/Endpoints/RefundEndpoint.php | 50 + .../Endpoints/SettlementPaymentEndpoint.php | 45 + .../src/Endpoints/SettlementsEndpoint.php | 87 + .../src/Endpoints/ShipmentEndpoint.php | 161 + .../src/Endpoints/SubscriptionEndpoint.php | 212 + .../src/Endpoints/TerminalEndpoint.php | 72 + .../src/Endpoints/WalletEndpoint.php | 44 + .../src/Exceptions/ApiException.php | 244 + .../CurlConnectTimeoutException.php | 7 + ...dapterDoesNotSupportDebuggingException.php | 7 + .../src/Exceptions/IncompatiblePlatform.php | 12 + .../UnrecognizedClientException.php | 7 + .../src/HttpAdapter/CurlMollieHttpAdapter.php | 239 + .../Guzzle6And7MollieHttpAdapter.php | 198 + .../Guzzle6And7RetryMiddlewareFactory.php | 83 + .../MollieHttpAdapterInterface.php | 26 + .../HttpAdapter/MollieHttpAdapterPicker.php | 65 + .../MollieHttpAdapterPickerInterface.php | 13 + .../DefaultIdempotencyKeyGenerator.php | 47 + .../FakeIdempotencyKeyGenerator.php | 21 + .../IdempotencyKeyGeneratorContract.php | 7 + .../mollie-api-php/src/MollieApiClient.php | 739 +++ .../mollie-api-php/src/Resources/Balance.php | 114 + .../src/Resources/BalanceCollection.php | 22 + .../src/Resources/BalanceReport.php | 80 + .../src/Resources/BalanceTransaction.php | 83 + .../BalanceTransactionCollection.php | 24 + .../src/Resources/BaseCollection.php | 34 + .../src/Resources/BaseResource.php | 31 + .../mollie-api-php/src/Resources/Capture.php | 71 + .../src/Resources/CaptureCollection.php | 22 + .../src/Resources/Chargeback.php | 75 + .../src/Resources/ChargebackCollection.php | 22 + .../mollie-api-php/src/Resources/Client.php | 36 + .../src/Resources/ClientCollection.php | 22 + .../src/Resources/ClientLink.php | 49 + .../src/Resources/CurrentProfile.php | 34 + .../src/Resources/CursorCollection.php | 96 + .../mollie-api-php/src/Resources/Customer.php | 250 + .../src/Resources/CustomerCollection.php | 22 + .../mollie-api-php/src/Resources/Invoice.php | 109 + .../src/Resources/InvoiceCollection.php | 22 + .../mollie-api-php/src/Resources/Issuer.php | 35 + .../src/Resources/IssuerCollection.php | 14 + .../mollie-api-php/src/Resources/Mandate.php | 112 + .../src/Resources/MandateCollection.php | 40 + .../mollie-api-php/src/Resources/Method.php | 100 + .../src/Resources/MethodCollection.php | 14 + .../src/Resources/MethodPrice.php | 28 + .../src/Resources/MethodPriceCollection.php | 14 + .../src/Resources/Onboarding.php | 65 + .../mollie-api-php/src/Resources/Order.php | 570 +++ .../src/Resources/OrderCollection.php | 22 + .../src/Resources/OrderLine.php | 420 ++ .../src/Resources/OrderLineCollection.php | 32 + .../src/Resources/Organization.php | 70 + .../src/Resources/OrganizationCollection.php | 22 + .../mollie-api-php/src/Resources/Partner.php | 50 + .../mollie-api-php/src/Resources/Payment.php | 806 ++++ .../src/Resources/PaymentCollection.php | 22 + .../src/Resources/PaymentLink.php | 127 + .../src/Resources/PaymentLinkCollection.php | 22 + .../src/Resources/Permission.php | 27 + .../src/Resources/PermissionCollection.php | 14 + .../mollie-api-php/src/Resources/Profile.php | 239 + .../src/Resources/ProfileCollection.php | 22 + .../mollie-api-php/src/Resources/Refund.php | 177 + .../src/Resources/RefundCollection.php | 22 + .../src/Resources/ResourceFactory.php | 79 + .../mollie-api-php/src/Resources/Route.php | 35 + .../src/Resources/RouteCollection.php | 22 + .../src/Resources/Settlement.php | 192 + .../src/Resources/SettlementCollection.php | 22 + .../mollie-api-php/src/Resources/Shipment.php | 124 + .../src/Resources/ShipmentCollection.php | 14 + .../src/Resources/Subscription.php | 236 + .../src/Resources/SubscriptionCollection.php | 22 + .../mollie-api-php/src/Resources/Terminal.php | 157 + .../src/Resources/TerminalCollection.php | 22 + .../src/Types/ApprovalPrompt.php | 14 + .../src/Types/BalanceTransferFrequency.php | 18 + .../src/Types/InvoiceStatus.php | 21 + .../src/Types/MandateMethod.php | 30 + .../src/Types/MandateStatus.php | 10 + .../src/Types/OnboardingStatus.php | 21 + .../src/Types/OrderLineStatus.php | 42 + .../src/Types/OrderLineType.php | 14 + .../Types/OrderLineUpdateOperationType.php | 13 + .../mollie-api-php/src/Types/OrderStatus.php | 52 + .../src/Types/PaymentMethod.php | 137 + .../src/Types/PaymentMethodStatus.php | 51 + .../src/Types/PaymentStatus.php | 46 + .../src/Types/ProfileStatus.php | 21 + .../mollie-api-php/src/Types/RefundStatus.php | 36 + .../mollie-api-php/src/Types/SequenceType.php | 15 + .../src/Types/SettlementStatus.php | 26 + .../src/Types/SubscriptionStatus.php | 12 + .../src/Types/TerminalStatus.php | 21 + 140 files changed, 12975 insertions(+), 2632 deletions(-) create mode 100644 vendor_manual/makefile create mode 100644 vendor_manual/mollie/mollie-api-php/.php-cs-fixer.dist.php create mode 100644 vendor_manual/mollie/mollie-api-php/LICENSE create mode 100644 vendor_manual/mollie/mollie-api-php/README.md create mode 100644 vendor_manual/mollie/mollie-api-php/composer.json create mode 100644 vendor_manual/mollie/mollie-api-php/phpstan-baseline.neon create mode 100644 vendor_manual/mollie/mollie-api-php/phpstan.neon create mode 100644 vendor_manual/mollie/mollie-api-php/phpunit.xml create mode 100644 vendor_manual/mollie/mollie-api-php/scoper.inc.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/CompatibilityChecker.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceReportEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceTransactionEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/ChargebackEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/ClientEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/ClientLinkEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/CollectionEndpointAbstract.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/CustomerEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/CustomerPaymentsEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/EndpointAbstract.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/InvoiceEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/MandateEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/MethodEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/OnboardingEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderLineEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderPaymentEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderRefundEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/OrganizationEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/OrganizationPartnerEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentCaptureEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentChargebackEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentLinkEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentRefundEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentRouteEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/PermissionEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/ProfileEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/ProfileMethodEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/RefundEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/SettlementPaymentEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/SettlementsEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/ShipmentEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/SubscriptionEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/TerminalEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Endpoints/WalletEndpoint.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Exceptions/ApiException.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Exceptions/CurlConnectTimeoutException.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Exceptions/HttpAdapterDoesNotSupportDebuggingException.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Exceptions/IncompatiblePlatform.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Exceptions/UnrecognizedClientException.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/HttpAdapter/CurlMollieHttpAdapter.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7MollieHttpAdapter.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7RetryMiddlewareFactory.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/HttpAdapter/MollieHttpAdapterInterface.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/HttpAdapter/MollieHttpAdapterPicker.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/HttpAdapter/MollieHttpAdapterPickerInterface.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Idempotency/DefaultIdempotencyKeyGenerator.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Idempotency/FakeIdempotencyKeyGenerator.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Idempotency/IdempotencyKeyGeneratorContract.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/MollieApiClient.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Balance.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/BalanceCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/BalanceReport.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/BalanceTransaction.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/BalanceTransactionCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/BaseCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/BaseResource.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Capture.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/CaptureCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Chargeback.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/ChargebackCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Client.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/ClientCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/ClientLink.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/CurrentProfile.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/CursorCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Customer.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/CustomerCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Invoice.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/InvoiceCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Issuer.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/IssuerCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Mandate.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/MandateCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Method.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/MethodCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/MethodPrice.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/MethodPriceCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Onboarding.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Order.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/OrderCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/OrderLine.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/OrderLineCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Organization.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/OrganizationCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Partner.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Payment.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/PaymentCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/PaymentLink.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/PaymentLinkCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Permission.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/PermissionCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Profile.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/ProfileCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Refund.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/RefundCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/ResourceFactory.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Route.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/RouteCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Settlement.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/SettlementCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Shipment.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/ShipmentCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Subscription.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/SubscriptionCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/Terminal.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Resources/TerminalCollection.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/ApprovalPrompt.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/BalanceTransferFrequency.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/InvoiceStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/MandateMethod.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/MandateStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/OnboardingStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/OrderLineStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/OrderLineType.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/OrderLineUpdateOperationType.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/OrderStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/PaymentMethod.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/PaymentMethodStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/PaymentStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/ProfileStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/RefundStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/SequenceType.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/SettlementStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/SubscriptionStatus.php create mode 100644 vendor_manual/mollie/mollie-api-php/src/Types/TerminalStatus.php diff --git a/composer.json b/composer.json index c0e8162ed..43ca3d2e1 100644 --- a/composer.json +++ b/composer.json @@ -34,16 +34,20 @@ } }, "config": { - "optimize-autoloader": true, - "allow-plugins": { + "platform": { + "php": "7.4" + }, + "optimize-autoloader": true, + "allow-plugins": { "infection/extension-installer": true, - "php-http/discovery": true + "php-http/discovery": true, + "symfony/runtime": true } }, "autoload": { "psr-4": { "Kiener\\MolliePayments\\": "src/", - "Mollie\\Api\\": "vendor/mollie/mollie-api-php/src/", + "Mollie\\Api\\": "vendor_manual/mollie/mollie-api-php/src/", "Shopware\\Core\\": "polyfill/Shopware/Core/" } }, @@ -64,16 +68,15 @@ }, "require": { "php": ">=7.4", - "ext-curl": "*", - "mollie/mollie-api-php": "2.61.0" + "ext-curl": "*" }, "require-dev": { - "phpunit/phpunit": "^9.5", - "phpstan/phpstan": "1.8.2", - "friendsofphp/php-cs-fixer": "^2.18", - "phpcompatibility/php-compatibility": "^9.3", - "squizlabs/php_codesniffer": "^3.6", - "infection/infection": "^0.25.4", + "phpunit/phpunit": "*", + "phpstan/phpstan": "*", + "friendsofphp/php-cs-fixer": "*", + "phpcompatibility/php-compatibility": "*", + "squizlabs/php_codesniffer": "*", + "infection/infection": "*", "boxblinkracer/phpunuhi": "dev-main", "shopware/core": "*", "shopware/administration": "*", @@ -87,4 +90,4 @@ "[ ! -f vendor/bin/phpcs ] || vendor/bin/phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility" ] } -} \ No newline at end of file +} diff --git a/composer.lock b/composer.lock index af7690c9e..6bc4623c6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,276 +4,47 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "845e0f39f54ea899e3d4e1d9c7787702", - "packages": [ - { - "name": "composer/ca-bundle", - "version": "1.3.7", - "source": { - "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "76e46335014860eec1aa5a724799a00a2e47cc85" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/76e46335014860eec1aa5a724799a00a2e47cc85", - "reference": "76e46335014860eec1aa5a724799a00a2e47cc85", - "shasum": "" - }, - "require": { - "ext-openssl": "*", - "ext-pcre": "*", - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^0.12.55", - "psr/log": "^1.0", - "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\CaBundle\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", - "keywords": [ - "cabundle", - "cacert", - "certificate", - "ssl", - "tls" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.3.7" - }, - "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": "2023-08-30T09:31:38+00:00" - }, - { - "name": "mollie/mollie-api-php", - "version": "v2.61.0", - "source": { - "type": "git", - "url": "https://github.com/mollie/mollie-api-php.git", - "reference": "d3ec7a191985aa57bec9b4425a665e95b4ba346a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mollie/mollie-api-php/zipball/d3ec7a191985aa57bec9b4425a665e95b4ba346a", - "reference": "d3ec7a191985aa57bec9b4425a665e95b4ba346a", - "shasum": "" - }, - "require": { - "composer/ca-bundle": "^1.2", - "ext-curl": "*", - "ext-json": "*", - "ext-openssl": "*", - "php": "^7.2|^8.0" - }, - "require-dev": { - "eloquent/liberator": "^2.0||^3.0", - "friendsofphp/php-cs-fixer": "^3.0", - "guzzlehttp/guzzle": "^6.3 || ^7.0", - "phpstan/phpstan": "^1.4", - "phpunit/phpunit": "^8.5 || ^9.5" - }, - "suggest": { - "mollie/oauth2-mollie-php": "Use OAuth to authenticate with the Mollie API. This is needed for some endpoints. Visit https://docs.mollie.com/ for more information." - }, - "type": "library", - "autoload": { - "psr-4": { - "Mollie\\Api\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Mollie B.V.", - "email": "info@mollie.com" - } - ], - "description": "Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.", - "homepage": "https://www.mollie.com/en/developers", - "keywords": [ - "Apple Pay", - "CBC", - "Przelewy24", - "api", - "bancontact", - "banktransfer", - "belfius", - "belfius direct net", - "charges", - "creditcard", - "direct debit", - "fashioncheque", - "gateway", - "gift cards", - "ideal", - "inghomepay", - "intersolve", - "kbc", - "klarna", - "mistercash", - "mollie", - "paylater", - "payment", - "payments", - "paypal", - "paysafecard", - "podiumcadeaukaart", - "recurring", - "refunds", - "sepa", - "service", - "sliceit", - "sofort", - "sofortbanking", - "subscriptions" - ], - "support": { - "issues": "https://github.com/mollie/mollie-api-php/issues", - "source": "https://github.com/mollie/mollie-api-php/tree/v2.61.0" - }, - "time": "2023-07-31T15:37:46+00:00" - } - ], + "content-hash": "ef714ea70f7163f955b721a8ee654936", + "packages": [], "packages-dev": [ - { - "name": "aws/aws-crt-php", - "version": "v1.2.2", - "source": { - "type": "git", - "url": "https://github.com/awslabs/aws-crt-php.git", - "reference": "2f1dc7b7eda080498be96a4a6d683a41583030e9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/2f1dc7b7eda080498be96a4a6d683a41583030e9", - "reference": "2f1dc7b7eda080498be96a4a6d683a41583030e9", - "shasum": "" - }, - "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.35||^5.6.3||^9.5", - "yoast/phpunit-polyfills": "^1.0" - }, - "suggest": { - "ext-awscrt": "Make sure you install awscrt native extension to use any of the functionality." - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "AWS SDK Common Runtime Team", - "email": "aws-sdk-common-runtime@amazon.com" - } - ], - "description": "AWS Common Runtime for PHP", - "homepage": "https://github.com/awslabs/aws-crt-php", - "keywords": [ - "amazon", - "aws", - "crt", - "sdk" - ], - "support": { - "issues": "https://github.com/awslabs/aws-crt-php/issues", - "source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.2" - }, - "time": "2023-07-20T16:49:55+00:00" - }, { "name": "aws/aws-sdk-php", - "version": "3.282.2", + "version": "3.133.6", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "b9b4013f68f1bd5f219f9784c1b2a47da02c1261" + "reference": "cd7bd2fdd159146ef6c7eeb90b73fae4fd11da57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/b9b4013f68f1bd5f219f9784c1b2a47da02c1261", - "reference": "b9b4013f68f1bd5f219f9784c1b2a47da02c1261", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/cd7bd2fdd159146ef6c7eeb90b73fae4fd11da57", + "reference": "cd7bd2fdd159146ef6c7eeb90b73fae4fd11da57", "shasum": "" }, "require": { - "aws/aws-crt-php": "^1.0.4", "ext-json": "*", "ext-pcre": "*", "ext-simplexml": "*", - "guzzlehttp/guzzle": "^6.5.8 || ^7.4.5", - "guzzlehttp/promises": "^1.4.0 || ^2.0", - "guzzlehttp/psr7": "^1.9.1 || ^2.4.5", - "mtdowling/jmespath.php": "^2.6", - "php": ">=7.2.5", - "psr/http-message": "^1.0 || ^2.0" + "guzzlehttp/guzzle": "^5.3.3|^6.2.1|^7.0", + "guzzlehttp/promises": "^1.0", + "guzzlehttp/psr7": "^1.4.1", + "mtdowling/jmespath.php": "^2.5", + "php": ">=5.5" }, "require-dev": { "andrewsville/php-token-reflection": "^1.4", "aws/aws-php-sns-message-validator": "~1.0", "behat/behat": "~3.0", - "composer/composer": "^1.10.22", - "dms/phpunit-arraysubset-asserts": "^0.4.0", "doctrine/cache": "~1.4", "ext-dom": "*", "ext-openssl": "*", "ext-pcntl": "*", "ext-sockets": "*", "nette/neon": "^2.3", - "paragonie/random_compat": ">= 2", - "phpunit/phpunit": "^5.6.3 || ^8.5 || ^9.5", + "phpunit/phpunit": "^4.8.35|^5.4.3", "psr/cache": "^1.0", "psr/simple-cache": "^1.0", - "sebastian/comparator": "^1.2.3 || ^4.0", - "yoast/phpunit-polyfills": "^1.0" + "sebastian/comparator": "^1.2.3" }, "suggest": { "aws/aws-php-sns-message-validator": "To validate incoming SNS notifications", @@ -321,9 +92,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.282.2" + "source": "https://github.com/aws/aws-sdk-php/tree/3.133.6" }, - "time": "2023-10-03T18:07:23+00:00" + "time": "2020-01-24T19:11:35+00:00" }, { "name": "boxblinkracer/phpunuhi", @@ -393,66 +164,6 @@ }, "time": "2023-09-03T12:32:03+00:00" }, - { - "name": "brick/math", - "version": "0.9.3", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae", - "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae", - "shasum": "" - }, - "require": { - "ext-json": "*", - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", - "vimeo/psalm": "4.9.2" - }, - "type": "library", - "autoload": { - "psr-4": { - "Brick\\Math\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Arbitrary-precision arithmetic library", - "keywords": [ - "Arbitrary-precision", - "BigInteger", - "BigRational", - "arithmetic", - "bigdecimal", - "bignum", - "brick", - "math" - ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.9.3" - }, - "funding": [ - { - "url": "https://github.com/BenMorel", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/brick/math", - "type": "tidelift" - } - ], - "time": "2021-08-15T20:50:18+00:00" - }, { "name": "cocur/slugify", "version": "v4.0.0", @@ -527,41 +238,116 @@ }, "time": "2019-12-14T13:04:14+00:00" }, + { + "name": "composer/ca-bundle", + "version": "1.3.7", + "source": { + "type": "git", + "url": "https://github.com/composer/ca-bundle.git", + "reference": "76e46335014860eec1aa5a724799a00a2e47cc85" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/76e46335014860eec1aa5a724799a00a2e47cc85", + "reference": "76e46335014860eec1aa5a724799a00a2e47cc85", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "ext-pcre": "*", + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.55", + "psr/log": "^1.0", + "symfony/phpunit-bridge": "^4.2 || ^5", + "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\CaBundle\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", + "keywords": [ + "cabundle", + "cacert", + "certificate", + "ssl", + "tls" + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/ca-bundle/issues", + "source": "https://github.com/composer/ca-bundle/tree/1.3.7" + }, + "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": "2023-08-30T09:31:38+00:00" + }, { "name": "composer/composer", - "version": "2.2.22", + "version": "2.0.13", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa" + "reference": "986e8b86b7b570632ad0a905c3726c33dd4c0efb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa", - "reference": "fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa", + "url": "https://api.github.com/repos/composer/composer/zipball/986e8b86b7b570632ad0a905c3726c33dd4c0efb", + "reference": "986e8b86b7b570632ad0a905c3726c33dd4c0efb", "shasum": "" }, "require": { "composer/ca-bundle": "^1.0", "composer/metadata-minifier": "^1.0", - "composer/pcre": "^1.0", "composer/semver": "^3.0", "composer/spdx-licenses": "^1.2", - "composer/xdebug-handler": "^2.0 || ^3.0", - "justinrainbow/json-schema": "^5.2.11", + "composer/xdebug-handler": "^1.1", + "justinrainbow/json-schema": "^5.2.10", "php": "^5.3.2 || ^7.0 || ^8.0", - "psr/log": "^1.0 || ^2.0", + "psr/log": "^1.0", "react/promise": "^1.2 || ^2.7", "seld/jsonlint": "^1.4", "seld/phar-utils": "^1.0", "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0", - "symfony/filesystem": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0", - "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0", - "symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0" + "symfony/filesystem": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0", + "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0", + "symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0" }, "require-dev": { "phpspec/prophecy": "^1.10", - "symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0" + "symfony/phpunit-bridge": "^4.2 || ^5.0" }, "suggest": { "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", @@ -574,7 +360,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.2-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -606,9 +392,9 @@ "package" ], "support": { - "irc": "ircs://irc.libera.chat:6697/composer", + "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.2.22" + "source": "https://github.com/composer/composer/tree/2.0.13" }, "funding": [ { @@ -624,7 +410,7 @@ "type": "tidelift" } ], - "time": "2023-09-29T08:53:46+00:00" + "time": "2021-04-27T11:11:08+00:00" }, { "name": "composer/metadata-minifier", @@ -696,36 +482,41 @@ "time": "2021-04-07T13:37:33+00:00" }, { - "name": "composer/pcre", - "version": "1.0.1", + "name": "composer/package-versions-deprecated", + "version": "1.11.99.5", "source": { "type": "git", - "url": "https://github.com/composer/pcre.git", - "reference": "67a32d7d6f9f560b726ab25a061b38ff3a80c560" + "url": "https://github.com/composer/package-versions-deprecated.git", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/67a32d7d6f9f560b726ab25a061b38ff3a80c560", - "reference": "67a32d7d6f9f560b726ab25a061b38ff3a80c560", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" + "composer-plugin-api": "^1.1.0 || ^2.0", + "php": "^7 || ^8" + }, + "replace": { + "ocramius/package-versions": "1.11.99" }, "require-dev": { - "phpstan/phpstan": "^1.3", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^4.2 || ^5" + "composer/composer": "^1.9.3 || ^2.0@dev", + "ext-zip": "^1.13", + "phpunit/phpunit": "^6.5 || ^7" }, - "type": "library", + "type": "composer-plugin", "extra": { + "class": "PackageVersions\\Installer", "branch-alias": { - "dev-main": "1.x-dev" + "dev-master": "1.x-dev" } }, "autoload": { "psr-4": { - "Composer\\Pcre\\": "src" + "PackageVersions\\": "src/PackageVersions" } }, "notification-url": "https://packagist.org/downloads/", @@ -733,22 +524,19 @@ "MIT" ], "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + }, { "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "email": "j.boggiano@seld.be" } ], - "description": "PCRE wrapping library that offers type-safe preg_* replacements.", - "keywords": [ - "PCRE", - "preg", - "regex", - "regular expression" - ], + "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", "support": { - "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/1.0.1" + "issues": "https://github.com/composer/package-versions-deprecated/issues", + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" }, "funding": [ { @@ -764,20 +552,20 @@ "type": "tidelift" } ], - "time": "2022-01-21T20:24:37+00:00" + "time": "2022-01-17T14:14:24+00:00" }, { "name": "composer/semver", - "version": "3.4.0", + "version": "3.2.9", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" + "reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", + "url": "https://api.github.com/repos/composer/semver/zipball/a951f614bd64dcd26137bc9b7b2637ddcfc57649", + "reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649", "shasum": "" }, "require": { @@ -827,9 +615,9 @@ "versioning" ], "support": { - "irc": "ircs://irc.libera.chat:6697/composer", + "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.0" + "source": "https://github.com/composer/semver/tree/3.2.9" }, "funding": [ { @@ -845,7 +633,7 @@ "type": "tidelift" } ], - "time": "2023-08-31T09:50:34+00:00" + "time": "2022-02-04T13:58:43+00:00" }, { "name": "composer/spdx-licenses", @@ -929,27 +717,25 @@ }, { "name": "composer/xdebug-handler", - "version": "2.0.5", + "version": "1.4.6", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "9e36aeed4616366d2b690bdce11f71e9178c579a" + "reference": "f27e06cd9675801df441b3656569b328e04aa37c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/9e36aeed4616366d2b690bdce11f71e9178c579a", - "reference": "9e36aeed4616366d2b690bdce11f71e9178c579a", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f27e06cd9675801df441b3656569b328e04aa37c", + "reference": "f27e06cd9675801df441b3656569b328e04aa37c", "shasum": "" }, "require": { - "composer/pcre": "^1", "php": "^5.3.2 || ^7.0 || ^8.0", - "psr/log": "^1 || ^2 || ^3" + "psr/log": "^1.0" }, "require-dev": { - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0" + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "autoload": { @@ -975,7 +761,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/2.0.5" + "source": "https://github.com/composer/xdebug-handler/tree/1.4.6" }, "funding": [ { @@ -991,7 +777,7 @@ "type": "tidelift" } ], - "time": "2022-02-24T20:20:32+00:00" + "time": "2021-03-25T17:01:18+00:00" }, { "name": "deeplcom/deepl-php", @@ -1125,32 +911,35 @@ }, { "name": "doctrine/annotations", - "version": "1.13.1", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f" + "reference": "ce77a7ba1770462cd705a91a151b6c3746f9c6ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f", - "reference": "e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/ce77a7ba1770462cd705a91a151b6c3746f9c6ad", + "reference": "ce77a7ba1770462cd705a91a151b6c3746f9c6ad", "shasum": "" }, "require": { "doctrine/lexer": "1.*", "ext-tokenizer": "*", - "php": "^7.1 || ^8.0", - "psr/cache": "^1 || ^2 || ^3" + "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/cache": "^1.11 || ^2.0", + "doctrine/cache": "1.*", "doctrine/coding-standard": "^6.0 || ^8.1", "phpstan/phpstan": "^0.12.20", - "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5", - "symfony/cache": "^4.4 || ^5.2" + "phpunit/phpunit": "^7.5 || ^9.1.5" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.11.x-dev" + } + }, "autoload": { "psr-4": { "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" @@ -1191,22 +980,22 @@ ], "support": { "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.13.1" + "source": "https://github.com/doctrine/annotations/tree/1.11.1" }, - "time": "2021-05-16T18:07:53+00:00" + "time": "2020-10-26T10:28:16+00:00" }, { "name": "doctrine/cache", - "version": "2.2.0", + "version": "1.13.0", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "1ca8f21980e770095a31456042471a57bc4c68fb" + "reference": "56cd022adb5514472cb144c087393c1821911d09" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/1ca8f21980e770095a31456042471a57bc4c68fb", - "reference": "1ca8f21980e770095a31456042471a57bc4c68fb", + "url": "https://api.github.com/repos/doctrine/cache/zipball/56cd022adb5514472cb144c087393c1821911d09", + "reference": "56cd022adb5514472cb144c087393c1821911d09", "shasum": "" }, "require": { @@ -1216,13 +1005,19 @@ "doctrine/common": ">2.2,<2.4" }, "require-dev": { + "alcaeus/mongo-php-adapter": "^1.1", "cache/integration-tests": "dev-master", "doctrine/coding-standard": "^9", + "mongodb/mongodb": "^1.1", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "predis/predis": "~1.0", "psr/cache": "^1.0 || ^2.0 || ^3.0", "symfony/cache": "^4.4 || ^5.4 || ^6", "symfony/var-exporter": "^4.4 || ^5.4 || ^6" }, + "suggest": { + "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" + }, "type": "library", "autoload": { "psr-4": { @@ -1270,7 +1065,7 @@ ], "support": { "issues": "https://github.com/doctrine/cache/issues", - "source": "https://github.com/doctrine/cache/tree/2.2.0" + "source": "https://github.com/doctrine/cache/tree/1.13.0" }, "funding": [ { @@ -1286,39 +1081,36 @@ "type": "tidelift" } ], - "time": "2022-05-20T20:07:39+00:00" + "time": "2022-05-20T20:06:54+00:00" }, { "name": "doctrine/dbal", - "version": "2.13.9", + "version": "2.12.1", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "c480849ca3ad6706a39c970cdfe6888fa8a058b8" + "reference": "adce7a954a1c2f14f85e94aed90c8489af204086" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/c480849ca3ad6706a39c970cdfe6888fa8a058b8", - "reference": "c480849ca3ad6706a39c970cdfe6888fa8a058b8", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/adce7a954a1c2f14f85e94aed90c8489af204086", + "reference": "adce7a954a1c2f14f85e94aed90c8489af204086", "shasum": "" }, "require": { - "doctrine/cache": "^1.0|^2.0", - "doctrine/deprecations": "^0.5.3|^1", + "doctrine/cache": "^1.0", "doctrine/event-manager": "^1.0", "ext-pdo": "*", - "php": "^7.1 || ^8" + "php": "^7.3 || ^8" }, "require-dev": { - "doctrine/coding-standard": "9.0.0", - "jetbrains/phpstorm-stubs": "2021.1", - "phpstan/phpstan": "1.4.6", - "phpunit/phpunit": "^7.5.20|^8.5|9.5.16", - "psalm/plugin-phpunit": "0.16.1", - "squizlabs/php_codesniffer": "3.6.2", - "symfony/cache": "^4.4", + "doctrine/coding-standard": "^8.1", + "jetbrains/phpstorm-stubs": "^2019.1", + "phpstan/phpstan": "^0.12.40", + "phpunit/phpunit": "^9.4", + "psalm/plugin-phpunit": "^0.10.0", "symfony/console": "^2.0.5|^3.0|^4.0|^5.0", - "vimeo/psalm": "4.22.0" + "vimeo/psalm": "^3.17.2" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -1327,6 +1119,11 @@ "bin/doctrine-dbal" ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0.x-dev" + } + }, "autoload": { "psr-4": { "Doctrine\\DBAL\\": "lib/Doctrine/DBAL" @@ -1379,7 +1176,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/2.13.9" + "source": "https://github.com/doctrine/dbal/tree/2.12.1" }, "funding": [ { @@ -1395,7 +1192,7 @@ "type": "tidelift" } ], - "time": "2022-05-02T20:28:55+00:00" + "time": "2020-11-14T20:26:58+00:00" }, { "name": "doctrine/deprecations", @@ -1538,37 +1335,32 @@ }, { "name": "doctrine/inflector", - "version": "1.4.4", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9" + "reference": "ec3a55242203ffa6a4b27c58176da97ff0a7aec1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", - "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/ec3a55242203ffa6a4b27c58176da97ff0a7aec1", + "reference": "ec3a55242203ffa6a4b27c58176da97ff0a7aec1", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^7.1" }, "require-dev": { - "doctrine/coding-standard": "^8.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^6.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { "psr-4": { - "Doctrine\\Inflector\\": "lib/Doctrine/Inflector", "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector" } }, @@ -1598,39 +1390,19 @@ "email": "schmittjoh@gmail.com" } ], - "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", - "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "description": "Common String Manipulations with regard to casing and singular/plural rules.", + "homepage": "http://www.doctrine-project.org", "keywords": [ "inflection", - "inflector", - "lowercase", - "manipulation", - "php", - "plural", - "singular", - "strings", - "uppercase", - "words" + "pluralize", + "singularize", + "string" ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/1.4.4" + "source": "https://github.com/doctrine/inflector/tree/1.3.1" }, - "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%2Finflector", - "type": "tidelift" - } - ], - "time": "2021-04-16T17:34:40+00:00" + "time": "2019-10-30T19:59:35+00:00" }, { "name": "doctrine/instantiator", @@ -1779,102 +1551,76 @@ "time": "2022-02-28T11:07:21+00:00" }, { - "name": "doctrine/persistence", - "version": "3.2.0", + "name": "dompdf/dompdf", + "version": "v1.0.2", "source": { "type": "git", - "url": "https://github.com/doctrine/persistence.git", - "reference": "63fee8c33bef740db6730eb2a750cd3da6495603" + "url": "https://github.com/dompdf/dompdf.git", + "reference": "8768448244967a46d6e67b891d30878e0e15d25c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/persistence/zipball/63fee8c33bef740db6730eb2a750cd3da6495603", - "reference": "63fee8c33bef740db6730eb2a750cd3da6495603", + "url": "https://api.github.com/repos/dompdf/dompdf/zipball/8768448244967a46d6e67b891d30878e0e15d25c", + "reference": "8768448244967a46d6e67b891d30878e0e15d25c", "shasum": "" }, "require": { - "doctrine/event-manager": "^1 || ^2", - "php": "^7.2 || ^8.0", - "psr/cache": "^1.0 || ^2.0 || ^3.0" - }, - "conflict": { - "doctrine/common": "<2.10" + "ext-dom": "*", + "ext-mbstring": "*", + "phenx/php-font-lib": "^0.5.2", + "phenx/php-svg-lib": "^0.3.3", + "php": "^7.1 || ^8.0" }, "require-dev": { - "composer/package-versions-deprecated": "^1.11", - "doctrine/coding-standard": "^11", - "doctrine/common": "^3.0", - "phpstan/phpstan": "1.9.4", - "phpstan/phpstan-phpunit": "^1", - "phpstan/phpstan-strict-rules": "^1.1", - "phpunit/phpunit": "^8.5 || ^9.5", - "symfony/cache": "^4.4 || ^5.4 || ^6.0", - "vimeo/psalm": "4.30.0 || 5.3.0" + "mockery/mockery": "^1.3", + "phpunit/phpunit": "^7.5 || ^8 || ^9", + "squizlabs/php_codesniffer": "^3.5" + }, + "suggest": { + "ext-gd": "Needed to process images", + "ext-gmagick": "Improves image processing performance", + "ext-imagick": "Improves image processing performance", + "ext-zlib": "Needed for pdf stream compression" }, "type": "library", + "extra": { + "branch-alias": { + "dev-develop": "0.7-dev" + } + }, "autoload": { "psr-4": { - "Doctrine\\Persistence\\": "src/Persistence" - } + "Dompdf\\": "src/" + }, + "classmap": [ + "lib/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "LGPL-2.1" ], "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": "Fabien Ménager", + "email": "fabien.menager@gmail.com" }, { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" + "name": "Brian Sweeney", + "email": "eclecticgeek@gmail.com" }, { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" + "name": "Gabriel Bull", + "email": "me@gabrielbull.com" } ], - "description": "The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.", - "homepage": "https://www.doctrine-project.org/projects/persistence.html", - "keywords": [ - "mapper", - "object", - "odm", - "orm", - "persistence" - ], + "description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter", + "homepage": "https://github.com/dompdf/dompdf", "support": { - "issues": "https://github.com/doctrine/persistence/issues", - "source": "https://github.com/doctrine/persistence/tree/3.2.0" + "issues": "https://github.com/dompdf/dompdf/issues", + "source": "https://github.com/dompdf/dompdf/tree/v1.0.2" }, - "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%2Fpersistence", - "type": "tidelift" - } - ], - "time": "2023-05-17T18:32:04+00:00" + "time": "2021-01-08T14:18:52+00:00" }, { "name": "egulias/email-validator", @@ -2004,30 +1750,29 @@ }, { "name": "enqueue/dbal", - "version": "0.10.19", + "version": "0.10.0", "source": { "type": "git", "url": "https://github.com/php-enqueue/dbal.git", - "reference": "2375961434e2a69b8710875f1c4e56f01b348a47" + "reference": "78bc56f49b247cc58cce3eb77cd3be966d0a3eff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-enqueue/dbal/zipball/2375961434e2a69b8710875f1c4e56f01b348a47", - "reference": "2375961434e2a69b8710875f1c4e56f01b348a47", + "url": "https://api.github.com/repos/php-enqueue/dbal/zipball/78bc56f49b247cc58cce3eb77cd3be966d0a3eff", + "reference": "78bc56f49b247cc58cce3eb77cd3be966d0a3eff", "shasum": "" }, "require": { - "doctrine/dbal": "^2.12|^3.1", - "doctrine/persistence": "^2.0|^3.0", - "php": "^7.4|^8.0", + "doctrine/dbal": "^2.6", + "php": "^7.1.3", "queue-interop/queue-interop": "^0.8", - "ramsey/uuid": "^3.5|^4" + "ramsey/uuid": "^3" }, "require-dev": { "enqueue/null": "0.10.x-dev", "enqueue/test": "0.10.x-dev", - "phpunit/phpunit": "^9.5", - "queue-interop/queue-spec": "^0.6.2" + "phpunit/phpunit": "~7.5", + "queue-interop/queue-spec": "^0.6" }, "type": "library", "extra": { @@ -2062,7 +1807,7 @@ "issues": "https://github.com/php-enqueue/enqueue-dev/issues", "source": "https://github.com/php-enqueue/enqueue-dev" }, - "time": "2023-05-12T13:06:33+00:00" + "time": "2019-12-19T07:01:09+00:00" }, { "name": "enqueue/dsn", @@ -2215,29 +1960,29 @@ }, { "name": "enqueue/enqueue-bundle", - "version": "0.10.19", + "version": "0.10.18", "source": { "type": "git", "url": "https://github.com/php-enqueue/enqueue-bundle.git", - "reference": "3eab4e7172ab0b4c021351bcdb5f44957c4e6789" + "reference": "32d1884ff33e6c0e34d106fb84e2181384b8191e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-enqueue/enqueue-bundle/zipball/3eab4e7172ab0b4c021351bcdb5f44957c4e6789", - "reference": "3eab4e7172ab0b4c021351bcdb5f44957c4e6789", + "url": "https://api.github.com/repos/php-enqueue/enqueue-bundle/zipball/32d1884ff33e6c0e34d106fb84e2181384b8191e", + "reference": "32d1884ff33e6c0e34d106fb84e2181384b8191e", "shasum": "" }, "require": { "enqueue/enqueue": "^0.10", "enqueue/null": "^0.10", - "php": "^7.4|^8.0", + "php": "^7.3|^8.0", "queue-interop/amqp-interop": "^0.8.2", "queue-interop/queue-interop": "^0.8", - "symfony/framework-bundle": "^5.4|^6.0" + "symfony/framework-bundle": "^5.1|^6.0" }, "require-dev": { "alcaeus/mongo-php-adapter": "^1.0", - "doctrine/doctrine-bundle": "^2.3.2", + "doctrine/doctrine-bundle": "^2.0", "doctrine/mongodb-odm-bundle": "^3.5|^4.3", "enqueue/amqp-bunny": "0.10.x-dev", "enqueue/amqp-ext": "0.10.x-dev", @@ -2254,10 +1999,9 @@ "enqueue/test": "0.10.x-dev", "php-amqplib/php-amqplib": "^3.0", "phpunit/phpunit": "^9.5", - "symfony/browser-kit": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/validator": "^5.4|^6.0", - "symfony/yaml": "^5.4|^6.0" + "symfony/browser-kit": "^5.1|^6.0", + "symfony/expression-language": "^5.1|^6.0", + "symfony/yaml": "^5.1|^6.0" }, "suggest": { "enqueue/async-command": "If want to run Symfony command via message queue", @@ -2296,7 +2040,7 @@ "issues": "https://github.com/php-enqueue/enqueue-dev/issues", "source": "https://github.com/php-enqueue/enqueue-dev" }, - "time": "2023-03-23T09:50:55+00:00" + "time": "2023-02-26T03:18:02+00:00" }, { "name": "enqueue/null", @@ -2355,70 +2099,6 @@ }, "time": "2023-03-23T09:50:55+00:00" }, - { - "name": "enqueue/redis", - "version": "0.10.19", - "source": { - "type": "git", - "url": "https://github.com/php-enqueue/redis.git", - "reference": "7aa6f64dd7fbd106aa3695d4fbd6ef5d579a5411" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-enqueue/redis/zipball/7aa6f64dd7fbd106aa3695d4fbd6ef5d579a5411", - "reference": "7aa6f64dd7fbd106aa3695d4fbd6ef5d579a5411", - "shasum": "" - }, - "require": { - "enqueue/dsn": "^0.10", - "php": "^7.4|^8.0", - "queue-interop/queue-interop": "^0.8", - "ramsey/uuid": "^3.5|^4" - }, - "require-dev": { - "enqueue/null": "0.10.x-dev", - "enqueue/test": "0.10.x-dev", - "phpunit/phpunit": "^9.5", - "predis/predis": "^1.1", - "queue-interop/queue-spec": "^0.6.2" - }, - "suggest": { - "ext-redis": "If you'd like to use phpredis extension." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.10.x-dev" - } - }, - "autoload": { - "psr-4": { - "Enqueue\\Redis\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Message Queue Redis Transport", - "homepage": "https://enqueue.forma-pro.com/", - "keywords": [ - "messaging", - "queue", - "redis" - ], - "support": { - "docs": "https://github.com/php-enqueue/enqueue-dev/blob/master/docs/index.md", - "email": "opensource@forma-pro.com", - "forum": "https://gitter.im/php-enqueue/Lobby", - "issues": "https://github.com/php-enqueue/enqueue-dev/issues", - "source": "https://github.com/php-enqueue/enqueue-dev" - }, - "time": "2023-05-20T05:16:02+00:00" - }, { "name": "ezyang/htmlpurifier", "version": "v4.13.0", @@ -2475,16 +2155,16 @@ }, { "name": "firebase/php-jwt", - "version": "v6.8.1", + "version": "v6.9.0", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "5dbc8959427416b8ee09a100d7a8588c00fb2e26" + "reference": "f03270e63eaccf3019ef0f32849c497385774e11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/5dbc8959427416b8ee09a100d7a8588c00fb2e26", - "reference": "5dbc8959427416b8ee09a100d7a8588c00fb2e26", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/f03270e63eaccf3019ef0f32849c497385774e11", + "reference": "f03270e63eaccf3019ef0f32849c497385774e11", "shasum": "" }, "require": { @@ -2532,9 +2212,9 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.8.1" + "source": "https://github.com/firebase/php-jwt/tree/v6.9.0" }, - "time": "2023-07-14T18:33:00+00:00" + "time": "2023-10-05T00:24:42+00:00" }, { "name": "friendsofphp/php-cs-fixer", @@ -2787,16 +2467,16 @@ }, { "name": "google/cloud-core", - "version": "v1.52.5", + "version": "v1.52.6", "source": { "type": "git", "url": "https://github.com/googleapis/google-cloud-php-core.git", - "reference": "28765cf75bd028ed063b0422b9c85bb9a54c41ca" + "reference": "71f092f4dab880515917da64423656ed3d6aefc2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/28765cf75bd028ed063b0422b9c85bb9a54c41ca", - "reference": "28765cf75bd028ed063b0422b9c85bb9a54c41ca", + "url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/71f092f4dab880515917da64423656ed3d6aefc2", + "reference": "71f092f4dab880515917da64423656ed3d6aefc2", "shasum": "" }, "require": { @@ -2846,26 +2526,26 @@ ], "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.", "support": { - "source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.5" + "source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.6" }, - "time": "2023-09-30T16:50:41+00:00" + "time": "2023-10-06T21:49:26+00:00" }, { "name": "google/cloud-storage", - "version": "v1.25.2", + "version": "v1.17.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-cloud-php-storage.git", - "reference": "d040368605ce3b8c2e6f2f7c03eb4046e9e0b951" + "reference": "626e910530f0b9463a15563f697a66f1cfbd6369" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-cloud-php-storage/zipball/d040368605ce3b8c2e6f2f7c03eb4046e9e0b951", - "reference": "d040368605ce3b8c2e6f2f7c03eb4046e9e0b951", + "url": "https://api.github.com/repos/googleapis/google-cloud-php-storage/zipball/626e910530f0b9463a15563f697a66f1cfbd6369", + "reference": "626e910530f0b9463a15563f697a66f1cfbd6369", "shasum": "" }, "require": { - "google/cloud-core": "^1.43", + "google/cloud-core": "^1.31", "google/crc32": "^0.1.0" }, "require-dev": { @@ -2900,9 +2580,9 @@ ], "description": "Cloud Storage Client for PHP", "support": { - "source": "https://github.com/googleapis/google-cloud-php-storage/tree/v1.25.2" + "source": "https://github.com/googleapis/google-cloud-php-storage/tree/v1.17.0" }, - "time": "2021-10-20T17:52:15+00:00" + "time": "2020-01-07T21:25:58+00:00" }, { "name": "google/cloud-translate", @@ -3204,16 +2884,16 @@ }, { "name": "google/protobuf", - "version": "v3.24.3", + "version": "v3.24.4", "source": { "type": "git", "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "2fc191fc5e137829081b8700086ac6ed7003b925" + "reference": "672d69e25f71b9364fdf1810eb8a8573defdc404" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/2fc191fc5e137829081b8700086ac6ed7003b925", - "reference": "2fc191fc5e137829081b8700086ac6ed7003b925", + "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/672d69e25f71b9364fdf1810eb8a8573defdc404", + "reference": "672d69e25f71b9364fdf1810eb8a8573defdc404", "shasum": "" }, "require": { @@ -3242,9 +2922,9 @@ "proto" ], "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.24.3" + "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.24.4" }, - "time": "2023-09-07T15:39:13+00:00" + "time": "2023-10-04T17:22:47+00:00" }, { "name": "grpc/grpc", @@ -3292,22 +2972,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.4.5", + "version": "7.8.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82" + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", - "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1110f66a6530a40fe7aea0378fe608ee2b2248f9", + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.9 || ^2.4", + "guzzlehttp/promises": "^1.5.3 || ^2.0.1", + "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -3316,10 +2996,11 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.1", "ext-curl": "*", - "php-http/client-integration-tests": "^3.0", - "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -3329,8 +3010,9 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "7.4-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { @@ -3396,7 +3078,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.4.5" + "source": "https://github.com/guzzle/guzzle/tree/7.8.0" }, "funding": [ { @@ -3412,7 +3094,7 @@ "type": "tidelift" } ], - "time": "2022-06-20T22:16:13+00:00" + "time": "2023-08-27T10:20:53+00:00" }, { "name": "guzzlehttp/promises", @@ -3600,25 +3282,25 @@ }, { "name": "infection/abstract-testframework-adapter", - "version": "0.5.0", + "version": "0.3.1", "source": { "type": "git", "url": "https://github.com/infection/abstract-testframework-adapter.git", - "reference": "18925e20d15d1a5995bb85c9dc09e8751e1e069b" + "reference": "c52539339f28d6b67625ff24496289b3e6d66025" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/abstract-testframework-adapter/zipball/18925e20d15d1a5995bb85c9dc09e8751e1e069b", - "reference": "18925e20d15d1a5995bb85c9dc09e8751e1e069b", + "url": "https://api.github.com/repos/infection/abstract-testframework-adapter/zipball/c52539339f28d6b67625ff24496289b3e6d66025", + "reference": "c52539339f28d6b67625ff24496289b3e6d66025", "shasum": "" }, "require": { - "php": "^7.4 || ^8.0" + "php": "^7.3 || ^8.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.8", - "friendsofphp/php-cs-fixer": "^2.17", - "phpunit/phpunit": "^9.5" + "friendsofphp/php-cs-fixer": "^2.16", + "phpunit/phpunit": "^9.0" }, "type": "library", "autoload": { @@ -3639,19 +3321,9 @@ "description": "Abstract Test Framework Adapter for Infection", "support": { "issues": "https://github.com/infection/abstract-testframework-adapter/issues", - "source": "https://github.com/infection/abstract-testframework-adapter/tree/0.5.0" + "source": "https://github.com/infection/abstract-testframework-adapter/tree/0.3" }, - "funding": [ - { - "url": "https://github.com/infection", - "type": "github" - }, - { - "url": "https://opencollective.com/infection", - "type": "open_collective" - } - ], - "time": "2021-08-17T18:49:12+00:00" + "time": "2020-08-30T13:50:12+00:00" }, { "name": "infection/extension-installer", @@ -3777,61 +3449,60 @@ }, { "name": "infection/infection", - "version": "0.25.6", + "version": "0.21.5", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "bded7581329766616bf35f1018326c9b3912df0b" + "reference": "cee1ab77f755c9faa8e5b75ba720125037942c80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/bded7581329766616bf35f1018326c9b3912df0b", - "reference": "bded7581329766616bf35f1018326c9b3912df0b", + "url": "https://api.github.com/repos/infection/infection/zipball/cee1ab77f755c9faa8e5b75ba720125037942c80", + "reference": "cee1ab77f755c9faa8e5b75ba720125037942c80", "shasum": "" }, "require": { - "composer-runtime-api": "^2.0", - "composer/xdebug-handler": "^2.0", + "composer/xdebug-handler": "^1.3.3", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", - "infection/abstract-testframework-adapter": "^0.5.0", + "infection/abstract-testframework-adapter": "^0.3.1", "infection/extension-installer": "^0.1.0", - "infection/include-interceptor": "^0.2.5", - "justinrainbow/json-schema": "^5.2.10", - "nikic/php-parser": "^4.13", + "infection/include-interceptor": "^0.2.4", + "justinrainbow/json-schema": "^5.2", + "nikic/php-parser": "^4.10.3", + "ocramius/package-versions": "^1.2 || ^2.0", "ondram/ci-detector": "^3.3.0", - "php": "^7.4.7 || ^8.0", + "php": "^7.4 || ^8.0", "sanmai/later": "^0.1.1", - "sanmai/pipeline": "^5.1 || ^6", + "sanmai/pipeline": "^5.1", "sebastian/diff": "^3.0.2 || ^4.0", "seld/jsonlint": "^1.7", - "symfony/console": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "symfony/filesystem": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "symfony/finder": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "symfony/process": "^3.4.29 || ^4.1.19 || ^5.0 || ^6.0", - "thecodingmachine/safe": "^1.1.3", + "symfony/console": "^3.4.29 || ^4.1.19 || ^5.0", + "symfony/filesystem": "^3.4.29 || ^4.1.19 || ^5.0", + "symfony/finder": "^3.4.29 || ^4.1.19 || ^5.0", + "symfony/process": "^3.4.29 || ^4.1.19 || ^5.0", + "thecodingmachine/safe": "^1.0", "webmozart/assert": "^1.3", "webmozart/path-util": "^2.3" }, "conflict": { - "dg/bypass-finals": "*", - "phpunit/php-code-coverage": ">9 <9.1.4" + "phpunit/php-code-coverage": ">9 <9.1.4", + "symfony/console": "=4.1.5" }, "require-dev": { - "brianium/paratest": "^6.3", "ext-simplexml": "*", "helmich/phpunit-json-assert": "^3.0", "phpspec/prophecy-phpunit": "^2.0", - "phpstan/extension-installer": "^1.1.0", - "phpstan/phpstan": "^1.2.0", - "phpstan/phpstan-phpunit": "^1.0.0", - "phpstan/phpstan-strict-rules": "^1.1.0", - "phpstan/phpstan-webmozart-assert": "^1.0.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.8", + "phpstan/phpstan-phpunit": "^0.12.6", + "phpstan/phpstan-strict-rules": "^0.12.5", + "phpstan/phpstan-webmozart-assert": "^0.12.2", "phpunit/phpunit": "^9.3.11", "symfony/phpunit-bridge": "^4.4.18 || ^5.1.10", "symfony/yaml": "^5.0", - "thecodingmachine/phpstan-safe-rule": "^1.1.0" + "thecodingmachine/phpstan-safe-rule": "^1.0" }, "bin": [ "bin/infection" @@ -3887,7 +3558,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.25.6" + "source": "https://github.com/infection/infection/tree/0.21.5" }, "funding": [ { @@ -3899,7 +3570,7 @@ "type": "open_collective" } ], - "time": "2022-01-08T13:06:28+00:00" + "time": "2021-03-31T11:40:44+00:00" }, { "name": "jdorn/sql-formatter", @@ -4154,16 +3825,16 @@ }, { "name": "lcobucci/jwt", - "version": "4.1.5", + "version": "4.1.4", "source": { "type": "git", "url": "https://github.com/lcobucci/jwt.git", - "reference": "fe2d89f2eaa7087af4aa166c6f480ef04e000582" + "reference": "71cf170102c8371ccd933fa4df6252086d144de6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/jwt/zipball/fe2d89f2eaa7087af4aa166c6f480ef04e000582", - "reference": "fe2d89f2eaa7087af4aa166c6f480ef04e000582", + "url": "https://api.github.com/repos/lcobucci/jwt/zipball/71cf170102c8371ccd933fa4df6252086d144de6", + "reference": "71cf170102c8371ccd933fa4df6252086d144de6", "shasum": "" }, "require": { @@ -4179,7 +3850,7 @@ "infection/infection": "^0.21", "lcobucci/coding-standard": "^6.0", "mikey179/vfsstream": "^1.6.7", - "phpbench/phpbench": "^1.0", + "phpbench/phpbench": "^1.0@alpha", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^0.12", "phpstan/phpstan-deprecation-rules": "^0.12", @@ -4212,7 +3883,7 @@ ], "support": { "issues": "https://github.com/lcobucci/jwt/issues", - "source": "https://github.com/lcobucci/jwt/tree/4.1.5" + "source": "https://github.com/lcobucci/jwt/tree/4.1.4" }, "funding": [ { @@ -4224,7 +3895,7 @@ "type": "patreon" } ], - "time": "2021-09-28T19:34:56+00:00" + "time": "2021-03-23T23:53:08+00:00" }, { "name": "league/event", @@ -4434,65 +4105,10 @@ }, { "url": "https://tidelift.com/funding/github/packagist/league/flysystem", - "type": "tidelift" - } - ], - "time": "2022-07-02T13:51:38+00:00" - }, - { - "name": "league/flysystem-memory", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/flysystem-memory.git", - "reference": "d0e87477c32e29f999b4de05e64c1adcddb51757" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-memory/zipball/d0e87477c32e29f999b4de05e64c1adcddb51757", - "reference": "d0e87477c32e29f999b4de05e64c1adcddb51757", - "shasum": "" - }, - "require": { - "league/flysystem": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.7.10" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "League\\Flysystem\\Memory\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Chris Leppanen", - "email": "chris.leppanen@gmail.com", - "role": "Developer" + "type": "tidelift" } ], - "description": "An in-memory adapter for Flysystem.", - "homepage": "https://github.com/thephpleague/flysystem-memory", - "keywords": [ - "Flysystem", - "adapter", - "memory" - ], - "support": { - "issues": "https://github.com/thephpleague/flysystem-memory/issues", - "source": "https://github.com/thephpleague/flysystem-memory/tree/1.0.2" - }, - "time": "2019-05-30T21:34:13+00:00" + "time": "2022-07-02T13:51:38+00:00" }, { "name": "league/mime-type-detection", @@ -4552,25 +4168,24 @@ }, { "name": "league/oauth2-server", - "version": "8.3.6", + "version": "8.2.4", "source": { "type": "git", "url": "https://github.com/thephpleague/oauth2-server.git", - "reference": "28c5441716c10d0c936bd731860dc385d0f6d1a8" + "reference": "622eaa1f28eb4a2dea0cfc7e4f5280fac794e83c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/28c5441716c10d0c936bd731860dc385d0f6d1a8", - "reference": "28c5441716c10d0c936bd731860dc385d0f6d1a8", + "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/622eaa1f28eb4a2dea0cfc7e4f5280fac794e83c", + "reference": "622eaa1f28eb4a2dea0cfc7e4f5280fac794e83c", "shasum": "" }, "require": { "defuse/php-encryption": "^2.2.1", "ext-json": "*", "ext-openssl": "*", - "lcobucci/jwt": "^3.4.6 || ^4.0.4", + "lcobucci/jwt": "^3.4 || ^4.0", "league/event": "^2.2", - "league/uri": "^6.4", "php": "^7.2 || ^8.0", "psr/http-message": "^1.0.1" }, @@ -4628,7 +4243,7 @@ ], "support": { "issues": "https://github.com/thephpleague/oauth2-server/issues", - "source": "https://github.com/thephpleague/oauth2-server/tree/8.3.6" + "source": "https://github.com/thephpleague/oauth2-server/tree/8.2.4" }, "funding": [ { @@ -4636,177 +4251,7 @@ "type": "github" } ], - "time": "2022-11-14T19:42:00+00:00" - }, - { - "name": "league/uri", - "version": "6.7.2", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/uri.git", - "reference": "d3b50812dd51f3fbf176344cc2981db03d10fe06" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri/zipball/d3b50812dd51f3fbf176344cc2981db03d10fe06", - "reference": "d3b50812dd51f3fbf176344cc2981db03d10fe06", - "shasum": "" - }, - "require": { - "ext-json": "*", - "league/uri-interfaces": "^2.3", - "php": "^7.4 || ^8.0", - "psr/http-message": "^1.0" - }, - "conflict": { - "league/uri-schemes": "^1.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^v3.3.2", - "nyholm/psr7": "^1.5", - "php-http/psr7-integration-tests": "^1.1", - "phpstan/phpstan": "^1.2.0", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0.0", - "phpstan/phpstan-strict-rules": "^1.1.0", - "phpunit/phpunit": "^9.5.10", - "psr/http-factory": "^1.0" - }, - "suggest": { - "ext-fileinfo": "Needed to create Data URI from a filepath", - "ext-intl": "Needed to improve host validation", - "league/uri-components": "Needed to easily manipulate URI objects", - "psr/http-factory": "Needed to use the URI factory" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.x-dev" - } - }, - "autoload": { - "psr-4": { - "League\\Uri\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ignace Nyamagana Butera", - "email": "nyamsprod@gmail.com", - "homepage": "https://nyamsprod.com" - } - ], - "description": "URI manipulation library", - "homepage": "https://uri.thephpleague.com", - "keywords": [ - "data-uri", - "file-uri", - "ftp", - "hostname", - "http", - "https", - "middleware", - "parse_str", - "parse_url", - "psr-7", - "query-string", - "querystring", - "rfc3986", - "rfc3987", - "rfc6570", - "uri", - "uri-template", - "url", - "ws" - ], - "support": { - "docs": "https://uri.thephpleague.com", - "forum": "https://thephpleague.slack.com", - "issues": "https://github.com/thephpleague/uri/issues", - "source": "https://github.com/thephpleague/uri/tree/6.7.2" - }, - "funding": [ - { - "url": "https://github.com/sponsors/nyamsprod", - "type": "github" - } - ], - "time": "2022-09-13T19:50:42+00:00" - }, - { - "name": "league/uri-interfaces", - "version": "2.3.0", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/uri-interfaces.git", - "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", - "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", - "shasum": "" - }, - "require": { - "ext-json": "*", - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.19", - "phpstan/phpstan": "^0.12.90", - "phpstan/phpstan-phpunit": "^0.12.19", - "phpstan/phpstan-strict-rules": "^0.12.9", - "phpunit/phpunit": "^8.5.15 || ^9.5" - }, - "suggest": { - "ext-intl": "to use the IDNA feature", - "symfony/intl": "to use the IDNA feature via Symfony Polyfill" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "League\\Uri\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ignace Nyamagana Butera", - "email": "nyamsprod@gmail.com", - "homepage": "https://nyamsprod.com" - } - ], - "description": "Common interface for URI representation", - "homepage": "http://github.com/thephpleague/uri-interfaces", - "keywords": [ - "rfc3986", - "rfc3987", - "uri", - "url" - ], - "support": { - "issues": "https://github.com/thephpleague/uri-interfaces/issues", - "source": "https://github.com/thephpleague/uri-interfaces/tree/2.3.0" - }, - "funding": [ - { - "url": "https://github.com/sponsors/nyamsprod", - "type": "github" - } - ], - "time": "2021-06-28T04:27:21+00:00" + "time": "2020-12-10T11:35:44+00:00" }, { "name": "marc1706/fast-image-size", @@ -4869,71 +4314,18 @@ }, "time": "2019-12-07T08:02:07+00:00" }, - { - "name": "meyfa/php-svg", - "version": "v0.11.3", - "source": { - "type": "git", - "url": "https://github.com/meyfa/php-svg.git", - "reference": "a3588b16a65258c95b49b054ef143d0e7ddb44fe" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/meyfa/php-svg/zipball/a3588b16a65258c95b49b054ef143d0e7ddb44fe", - "reference": "a3588b16a65258c95b49b054ef143d0e7ddb44fe", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "meyfa/phpunit-assert-gd": "^1.2", - "phpmd/phpmd": "@stable", - "phpunit/phpunit": "^4.8" - }, - "suggest": { - "ext-gd": "Needed to rasterize images", - "ext-simplexml": "Needed to read SVG strings and files" - }, - "type": "library", - "autoload": { - "psr-4": { - "SVG\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabian Meyer", - "homepage": "http://meyfa.net" - } - ], - "description": "Read, edit, write, and render SVG files with PHP", - "homepage": "https://github.com/meyfa/php-svg", - "keywords": [ - "svg" - ], - "support": { - "issues": "https://github.com/meyfa/php-svg/issues", - "source": "https://github.com/meyfa/php-svg/tree/v0.11.3" - }, - "time": "2022-02-18T11:53:57+00:00" - }, { "name": "monolog/monolog", - "version": "2.8.0", + "version": "2.9.1", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "720488632c590286b88b80e62aa3d3d551ad4a50" + "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/720488632c590286b88b80e62aa3d3d551ad4a50", - "reference": "720488632c590286b88b80e62aa3d3d551ad4a50", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f259e2b15fb95494c83f52d3caad003bbf5ffaa1", + "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1", "shasum": "" }, "require": { @@ -4948,7 +4340,7 @@ "doctrine/couchdb": "~1.0@dev", "elasticsearch/elasticsearch": "^7 || ^8", "ext-json": "*", - "graylog2/gelf-php": "^1.4.2", + "graylog2/gelf-php": "^1.4.2 || ^2@dev", "guzzlehttp/guzzle": "^7.4", "guzzlehttp/psr7": "^2.2", "mongodb/mongodb": "^1.8", @@ -5010,7 +4402,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.8.0" + "source": "https://github.com/Seldaek/monolog/tree/2.9.1" }, "funding": [ { @@ -5022,7 +4414,7 @@ "type": "tidelift" } ], - "time": "2022-07-24T11:55:47+00:00" + "time": "2023-02-06T13:44:46+00:00" }, { "name": "mtdowling/jmespath.php", @@ -5207,39 +4599,37 @@ }, { "name": "nyholm/psr7", - "version": "1.8.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/Nyholm/psr7.git", - "reference": "3cb4d163b58589e47b35103e8e5e6a6a475b47be" + "reference": "55ff6b76573f5b242554c9775792bd59fb52e11c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/3cb4d163b58589e47b35103e8e5e6a6a475b47be", - "reference": "3cb4d163b58589e47b35103e8e5e6a6a475b47be", + "url": "https://api.github.com/repos/Nyholm/psr7/zipball/55ff6b76573f5b242554c9775792bd59fb52e11c", + "reference": "55ff6b76573f5b242554c9775792bd59fb52e11c", "shasum": "" }, "require": { - "php": ">=7.2", + "php": "^7.1", + "php-http/message-factory": "^1.0", "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0" + "psr/http-message": "^1.0" }, "provide": { - "php-http/message-factory-implementation": "1.0", "psr/http-factory-implementation": "1.0", "psr/http-message-implementation": "1.0" }, "require-dev": { - "http-interop/http-factory-tests": "^0.9", - "php-http/message-factory": "^1.0", - "php-http/psr7-integration-tests": "^1.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", - "symfony/error-handler": "^4.4" + "http-interop/http-factory-tests": "dev-master", + "php-http/psr7-integration-tests": "dev-master", + "phpunit/phpunit": "^7.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -5262,26 +4652,16 @@ } ], "description": "A fast PHP7 implementation of PSR-7", - "homepage": "https://tnyholm.se", + "homepage": "http://tnyholm.se", "keywords": [ "psr-17", "psr-7" ], "support": { "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.8.0" + "source": "https://github.com/Nyholm/psr7/tree/master" }, - "funding": [ - { - "url": "https://github.com/Zegnat", - "type": "github" - }, - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2023-05-02T11:26:24+00:00" + "time": "2019-09-05T13:24:16+00:00" }, { "name": "ondram/ci-detector", @@ -5837,6 +5217,61 @@ }, "time": "2023-07-11T07:02:26+00:00" }, + { + "name": "php-http/message-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-http/message-factory.git", + "reference": "4d8778e1c7d405cbb471574821c1ff5b68cc8f57" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-http/message-factory/zipball/4d8778e1c7d405cbb471574821c1ff5b68cc8f57", + "reference": "4d8778e1c7d405cbb471574821c1ff5b68cc8f57", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com" + } + ], + "description": "Factory interfaces for PSR-7 HTTP Message", + "homepage": "http://php-http.org", + "keywords": [ + "factory", + "http", + "message", + "stream", + "uri" + ], + "support": { + "issues": "https://github.com/php-http/message-factory/issues", + "source": "https://github.com/php-http/message-factory/tree/1.1.0" + }, + "abandoned": "psr/http-factory", + "time": "2023-04-14T14:16:17+00:00" + }, { "name": "php-http/multipart-stream-builder", "version": "1.3.0", @@ -5957,16 +5392,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.8.2", + "version": "1.10.38", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "c53312ecc575caf07b0e90dee43883fdf90ca67c" + "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c53312ecc575caf07b0e90dee43883fdf90ca67c", - "reference": "c53312ecc575caf07b0e90dee43883fdf90ca67c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5302bb402c57f00fb3c2c015bac86e0827e4b691", + "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691", "shasum": "" }, "require": { @@ -5990,9 +5425,16 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.8.2" + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" }, "funding": [ { @@ -6003,16 +5445,12 @@ "url": "https://github.com/phpstan", "type": "github" }, - { - "url": "https://www.patreon.com/phpstan", - "type": "patreon" - }, { "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", "type": "tidelift" } ], - "time": "2022-07-20T09:57:31+00:00" + "time": "2023-10-06T14:19:14+00:00" }, { "name": "phpunit/php-code-coverage", @@ -6637,21 +6075,21 @@ }, { "name": "psr/http-factory", - "version": "1.0.2", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/http-factory.git", - "reference": "e616d01114759c4c489f93b099585439f795fe35" + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", - "reference": "e616d01114759c4c489f93b099585439f795fe35", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", "shasum": "" }, "require": { "php": ">=7.0.0", - "psr/http-message": "^1.0 || ^2.0" + "psr/http-message": "^1.0" }, "type": "library", "extra": { @@ -6671,7 +6109,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "homepage": "http://www.php-fig.org/" } ], "description": "Common interfaces for PSR-7 HTTP message factories", @@ -6686,31 +6124,31 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-factory/tree/1.0.2" + "source": "https://github.com/php-fig/http-factory/tree/master" }, - "time": "2023-04-10T20:10:41+00:00" + "time": "2019-04-30T12:38:16+00:00" }, { "name": "psr/http-message", - "version": "1.1", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", - "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": ">=5.3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { @@ -6739,9 +6177,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/1.1" + "source": "https://github.com/php-fig/http-message/tree/master" }, - "time": "2023-04-04T09:50:52+00:00" + "time": "2016-08-06T14:39:51+00:00" }, { "name": "psr/log", @@ -6889,101 +6327,30 @@ }, { "name": "ralouphie/getallheaders", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/ralouphie/getallheaders.git", - "reference": "120b605dfeb996808c31b6477290a714d356e822" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", - "reference": "120b605dfeb996808c31b6477290a714d356e822", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5 || ^6.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/getallheaders.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ralph Khattar", - "email": "ralph.khattar@gmail.com" - } - ], - "description": "A polyfill for getallheaders.", - "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" - }, - "time": "2019-03-08T08:55:37+00:00" - }, - { - "name": "ramsey/collection", - "version": "1.3.0", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/ramsey/collection.git", - "reference": "ad7475d1c9e70b190ecffc58f2d989416af339b4" + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/ad7475d1c9e70b190ecffc58f2d989416af339b4", - "reference": "ad7475d1c9e70b190ecffc58f2d989416af339b4", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", "shasum": "" }, "require": { - "php": "^7.4 || ^8.0", - "symfony/polyfill-php81": "^1.23" + "php": ">=5.6" }, "require-dev": { - "captainhook/plugin-composer": "^5.3", - "ergebnis/composer-normalize": "^2.28.3", - "fakerphp/faker": "^1.21", - "hamcrest/hamcrest-php": "^2.0", - "jangregor/phpstan-prophecy": "^1.0", - "mockery/mockery": "^1.5", - "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.3", - "phpcsstandards/phpcsutils": "^1.0.0-rc1", - "phpspec/prophecy-phpunit": "^2.0", - "phpstan/extension-installer": "^1.2", - "phpstan/phpstan": "^1.9", - "phpstan/phpstan-mockery": "^1.1", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5", - "psalm/plugin-mockery": "^1.1", - "psalm/plugin-phpunit": "^0.18.4", - "ramsey/coding-standard": "^2.0.3", - "ramsey/conventional-commits": "^1.3", - "vimeo/psalm": "^5.4" + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" }, "type": "library", - "extra": { - "captainhook": { - "force-install": true - }, - "ramsey/conventional-commits": { - "configFile": "conventional-commits.json" - } - }, "autoload": { - "psr-4": { - "Ramsey\\Collection\\": "src/" - } + "files": [ + "src/getallheaders.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6991,100 +6358,65 @@ ], "authors": [ { - "name": "Ben Ramsey", - "email": "ben@benramsey.com", - "homepage": "https://benramsey.com" + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" } ], - "description": "A PHP library for representing and manipulating collections.", - "keywords": [ - "array", - "collection", - "hash", - "map", - "queue", - "set" - ], + "description": "A polyfill for getallheaders.", "support": { - "issues": "https://github.com/ramsey/collection/issues", - "source": "https://github.com/ramsey/collection/tree/1.3.0" + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", - "type": "tidelift" - } - ], - "time": "2022-12-27T19:12:24+00:00" + "time": "2019-03-08T08:55:37+00:00" }, { "name": "ramsey/uuid", - "version": "4.2.3", + "version": "3.9.7", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df" + "reference": "dc75aa439eb4c1b77f5379fd958b3dc0e6014178" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", - "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/dc75aa439eb4c1b77f5379fd958b3dc0e6014178", + "reference": "dc75aa439eb4c1b77f5379fd958b3dc0e6014178", "shasum": "" }, "require": { - "brick/math": "^0.8 || ^0.9", "ext-json": "*", - "php": "^7.2 || ^8.0", - "ramsey/collection": "^1.0", - "symfony/polyfill-ctype": "^1.8", - "symfony/polyfill-php80": "^1.14" + "paragonie/random_compat": "^1 | ^2 | ^9.99.99", + "php": "^5.4 | ^7.0 | ^8.0", + "symfony/polyfill-ctype": "^1.8" }, "replace": { "rhumsaa/uuid": "self.version" }, "require-dev": { - "captainhook/captainhook": "^5.10", - "captainhook/plugin-composer": "^5.3", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/annotations": "^1.8", - "ergebnis/composer-normalize": "^2.15", - "mockery/mockery": "^1.3", + "codeception/aspect-mock": "^1 | ^2", + "doctrine/annotations": "^1.2", + "goaop/framework": "1.0.0-alpha.2 | ^1 | >=2.1.0 <=2.3.2", + "mockery/mockery": "^0.9.11 | ^1", "moontoast/math": "^1.1", + "nikic/php-parser": "<=4.5.0", "paragonie/random-lib": "^2", - "php-mock/php-mock": "^2.2", - "php-mock/php-mock-mockery": "^1.3", - "php-parallel-lint/php-parallel-lint": "^1.1", - "phpbench/phpbench": "^1.0", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-mockery": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^8.5 || ^9", - "slevomat/coding-standard": "^7.0", + "php-mock/php-mock-phpunit": "^0.3 | ^1.1 | ^2.6", + "php-parallel-lint/php-parallel-lint": "^1.3", + "phpunit/phpunit": ">=4.8.36 <9.0.0 | >=9.3.0", "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.9" + "yoast/phpunit-polyfills": "^1.0" }, "suggest": { - "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", - "ext-ctype": "Enables faster processing of character classification using ctype functions.", - "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", - "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "ext-ctype": "Provides support for PHP Ctype functions", + "ext-libsodium": "Provides the PECL libsodium extension for use with the SodiumRandomGenerator", + "ext-openssl": "Provides the OpenSSL extension for use with the OpenSslGenerator", + "ext-uuid": "Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator", + "moontoast/math": "Provides support for converting UUID to 128-bit integer (in string form).", "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-console": "A console application for generating UUIDs with ramsey/uuid", "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "4.x-dev" - }, - "captainhook": { - "force-install": true - } - }, "autoload": { "files": [ "src/functions.php" @@ -7097,7 +6429,23 @@ "license": [ "MIT" ], - "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + }, + { + "name": "Marijn Huizendveld", + "email": "marijn.huizendveld@gmail.com" + }, + { + "name": "Thibaud Fabre", + "email": "thibaud@aztech.io" + } + ], + "description": "Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).", + "homepage": "https://github.com/ramsey/uuid", "keywords": [ "guid", "identifier", @@ -7105,7 +6453,9 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.2.3" + "rss": "https://github.com/ramsey/uuid/releases.atom", + "source": "https://github.com/ramsey/uuid", + "wiki": "https://github.com/ramsey/uuid/wiki" }, "funding": [ { @@ -7117,7 +6467,7 @@ "type": "tidelift" } ], - "time": "2021-09-25T23:10:38+00:00" + "time": "2022-12-19T21:55:10+00:00" }, { "name": "react/promise", @@ -7366,36 +6716,36 @@ }, { "name": "sanmai/pipeline", - "version": "v6.8.1", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/sanmai/pipeline.git", - "reference": "2e88e466dd49f20c10a15330b3953d4d49c326e3" + "reference": "2b5509a7635143165041109eb1c393c8515724f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sanmai/pipeline/zipball/2e88e466dd49f20c10a15330b3953d4d49c326e3", - "reference": "2e88e466dd49f20c10a15330b3953d4d49c326e3", + "url": "https://api.github.com/repos/sanmai/pipeline/zipball/2b5509a7635143165041109eb1c393c8515724f1", + "reference": "2b5509a7635143165041109eb1c393c8515724f1", "shasum": "" }, "require": { - "php": "^7.4 || ^8.0" + "php": "^7.1 || ^8.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.8", - "friendsofphp/php-cs-fixer": "^3.17", + "friendsofphp/php-cs-fixer": "^3", "infection/infection": ">=0.10.5", - "league/pipeline": "^0.3 || ^1.0", + "league/pipeline": "^1.0 || ^0.3", "phan/phan": ">=1.1", "php-coveralls/php-coveralls": "^2.4.1", "phpstan/phpstan": ">=0.10", - "phpunit/phpunit": ">=9.4", + "phpunit/phpunit": "^7.4 || ^8.1 || ^9.4", "vimeo/psalm": ">=2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "v6.x-dev" + "dev-main": "v5.x-dev" } }, "autoload": { @@ -7419,7 +6769,7 @@ "description": "General-purpose collections pipeline", "support": { "issues": "https://github.com/sanmai/pipeline/issues", - "source": "https://github.com/sanmai/pipeline/tree/v6.8.1" + "source": "https://github.com/sanmai/pipeline/tree/v5.2.1" }, "funding": [ { @@ -7427,20 +6777,20 @@ "type": "github" } ], - "time": "2023-06-15T09:14:47+00:00" + "time": "2021-11-01T10:09:55+00:00" }, { "name": "scssphp/scssphp", - "version": "v1.11.0", + "version": "1.0.6", "source": { "type": "git", "url": "https://github.com/scssphp/scssphp.git", - "reference": "33749d12c2569bb24071f94e9af828662dabb068" + "reference": "5b3c9d704950d8f9637f5110c36c281ec47dc13c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/scssphp/scssphp/zipball/33749d12c2569bb24071f94e9af828662dabb068", - "reference": "33749d12c2569bb24071f94e9af828662dabb068", + "url": "https://api.github.com/repos/scssphp/scssphp/zipball/5b3c9d704950d8f9637f5110c36c281ec47dc13c", + "reference": "5b3c9d704950d8f9637f5110c36c281ec47dc13c", "shasum": "" }, "require": { @@ -7449,30 +6799,15 @@ "php": ">=5.6.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4", - "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.3 || ^9.4", - "sass/sass-spec": "*", - "squizlabs/php_codesniffer": "~3.5", - "symfony/phpunit-bridge": "^5.1", - "thoughtbot/bourbon": "^7.0", - "twbs/bootstrap": "~5.0", - "twbs/bootstrap4": "4.6.1", + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.3", + "squizlabs/php_codesniffer": "~2.5", + "twbs/bootstrap": "~4.3", "zurb/foundation": "~6.5" }, - "suggest": { - "ext-iconv": "Can be used as fallback when ext-mbstring is not available", - "ext-mbstring": "For best performance, mbstring should be installed as it is faster than ext-iconv" - }, "bin": [ "bin/pscss" ], "type": "library", - "extra": { - "bamarni-bin": { - "forward-command": false, - "bin-links": false - } - }, "autoload": { "psr-4": { "ScssPhp\\ScssPhp\\": "src/" @@ -7505,9 +6840,9 @@ ], "support": { "issues": "https://github.com/scssphp/scssphp/issues", - "source": "https://github.com/scssphp/scssphp/tree/v1.11.0" + "source": "https://github.com/scssphp/scssphp/tree/master" }, - "time": "2022-09-02T21:24:55+00:00" + "time": "2019-12-12T05:00:52+00:00" }, { "name": "sebastian/cli-parser", @@ -8587,51 +7922,50 @@ }, { "name": "sensio/framework-extra-bundle", - "version": "v6.2.10", + "version": "v5.5.6", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git", - "reference": "2f886f4b31f23c76496901acaedfedb6936ba61f" + "reference": "b49f079d8a87a6e6dd434062085ff5a132af466b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/2f886f4b31f23c76496901acaedfedb6936ba61f", - "reference": "2f886f4b31f23c76496901acaedfedb6936ba61f", + "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/b49f079d8a87a6e6dd434062085ff5a132af466b", + "reference": "b49f079d8a87a6e6dd434062085ff5a132af466b", "shasum": "" }, "require": { - "doctrine/annotations": "^1.0|^2.0", - "php": ">=7.2.5", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/framework-bundle": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0" + "doctrine/annotations": "^1.0", + "php": ">=7.1.3", + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/framework-bundle": "^4.4|^5.0", + "symfony/http-kernel": "^4.4|^5.0" }, "conflict": { - "doctrine/doctrine-cache-bundle": "<1.3.1", - "doctrine/persistence": "<1.3" + "doctrine/doctrine-cache-bundle": "<1.3.1" }, "require-dev": { - "doctrine/dbal": "^2.10|^3.0", "doctrine/doctrine-bundle": "^1.11|^2.0", "doctrine/orm": "^2.5", - "symfony/browser-kit": "^4.4|^5.0|^6.0", - "symfony/doctrine-bridge": "^4.4|^5.0|^6.0", - "symfony/dom-crawler": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/monolog-bridge": "^4.0|^5.0|^6.0", + "nyholm/psr7": "^1.1", + "symfony/browser-kit": "^4.4|^5.0", + "symfony/dom-crawler": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/monolog-bridge": "^4.0|^5.0", "symfony/monolog-bundle": "^3.2", - "symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0", - "symfony/security-bundle": "^4.4|^5.0|^6.0", - "symfony/twig-bundle": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0", + "symfony/phpunit-bridge": "^4.3.5|^5.0", + "symfony/psr-http-message-bridge": "^1.1", + "symfony/security-bundle": "^4.4|^5.0", + "symfony/twig-bundle": "^4.4|^5.0", + "symfony/yaml": "^4.4|^5.0", "twig/twig": "^1.34|^2.4|^3.0" }, "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "6.1.x-dev" + "dev-master": "5.5.x-dev" } }, "autoload": { @@ -8658,104 +7992,32 @@ "controllers" ], "support": { - "source": "https://github.com/sensiolabs/SensioFrameworkExtraBundle/tree/v6.2.10" + "issues": "https://github.com/sensiolabs/SensioFrameworkExtraBundle/issues", + "source": "https://github.com/sensiolabs/SensioFrameworkExtraBundle/tree/master" }, "abandoned": "Symfony", - "time": "2023-02-24T14:57:12+00:00" - }, - { - "name": "setasign/fpdi", - "version": "v2.3.6", - "source": { - "type": "git", - "url": "https://github.com/Setasign/FPDI.git", - "reference": "6231e315f73e4f62d72b73f3d6d78ff0eed93c31" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Setasign/FPDI/zipball/6231e315f73e4f62d72b73f3d6d78ff0eed93c31", - "reference": "6231e315f73e4f62d72b73f3d6d78ff0eed93c31", - "shasum": "" - }, - "require": { - "ext-zlib": "*", - "php": "^5.6 || ^7.0 || ^8.0" - }, - "conflict": { - "setasign/tfpdf": "<1.31" - }, - "require-dev": { - "phpunit/phpunit": "~5.7", - "setasign/fpdf": "~1.8", - "setasign/tfpdf": "1.31", - "squizlabs/php_codesniffer": "^3.5", - "tecnickcom/tcpdf": "~6.2" - }, - "suggest": { - "setasign/fpdf": "FPDI will extend this class but as it is also possible to use TCPDF or tFPDF as an alternative. There's no fixed dependency configured." - }, - "type": "library", - "autoload": { - "psr-4": { - "setasign\\Fpdi\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jan Slabon", - "email": "jan.slabon@setasign.com", - "homepage": "https://www.setasign.com" - }, - { - "name": "Maximilian Kresse", - "email": "maximilian.kresse@setasign.com", - "homepage": "https://www.setasign.com" - } - ], - "description": "FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.", - "homepage": "https://www.setasign.com/fpdi", - "keywords": [ - "fpdf", - "fpdi", - "pdf" - ], - "support": { - "issues": "https://github.com/Setasign/FPDI/issues", - "source": "https://github.com/Setasign/FPDI/tree/v2.3.6" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/setasign/fpdi", - "type": "tidelift" - } - ], - "time": "2021-02-11T11:37:01+00:00" + "time": "2020-06-15T20:28:02+00:00" }, { "name": "shopware/administration", - "version": "6.4.20.2", + "version": "6.4.1.2", "source": { "type": "git", "url": "https://github.com/shopware/administration.git", - "reference": "d0834d8e50856621759be02e8efe67da65733be1" + "reference": "b7b2aba2dd7fd2b249fe14e65154c301d6b96d3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shopware/administration/zipball/d0834d8e50856621759be02e8efe67da65733be1", - "reference": "d0834d8e50856621759be02e8efe67da65733be1", + "url": "https://api.github.com/repos/shopware/administration/zipball/b7b2aba2dd7fd2b249fe14e65154c301d6b96d3c", + "reference": "b7b2aba2dd7fd2b249fe14e65154c301d6b96d3c", "shasum": "" }, "require": { - "php": "^7.4.3 || ^8.0", - "shopware/core": "v6.4.20.2", - "symfony/framework-bundle": "~5.4.1", - "symfony/http-foundation": "~5.4.1", - "symfony/mime": "~5.4.0", - "symfony/routing": "~5.4.0" + "shopware/core": "v6.4.1.2", + "symfony/framework-bundle": "~5.2.3", + "symfony/http-foundation": "~5.2.3", + "symfony/mime": "~5.2.3", + "symfony/routing": "~5.2.3" }, "type": "library", "extra": { @@ -8775,71 +8037,35 @@ ], "description": "Administration frontend for the Shopware Core", "support": { - "chat": "https://slack.shopware.com", - "docs": "https://developer.shopware.com", - "forum": "https://forum.shopware.com", - "issues": "https://issues.shopware.com", - "source": "https://github.com/shopware/administration/tree/v6.4.20.2", - "wiki": "https://developer.shopware.com" + "source": "https://github.com/shopware/administration/tree/v6.4.1.2" }, - "time": "2023-05-05T00:14:39+00:00" - }, - { - "name": "shopware/conflicts", - "version": "0.0.2", - "source": { - "type": "git", - "url": "https://github.com/shopware/conflicts.git", - "reference": "b5414fb0e06ca91d32c896b21c55ad80e261477e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/shopware/conflicts/zipball/b5414fb0e06ca91d32c896b21c55ad80e261477e", - "reference": "b5414fb0e06ca91d32c896b21c55ad80e261477e", - "shasum": "" - }, - "conflict": { - "symfony/cache": "6.2.3 || 5.4.17", - "symfony/notifier": "v5.3.8", - "symfony/symfony": "*" - }, - "type": "metapackage", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Shopware 6 conflicting packages", - "support": { - "issues": "https://github.com/shopware/conflicts/issues", - "source": "https://github.com/shopware/conflicts/tree/0.0.2" - }, - "time": "2022-12-29T08:29:43+00:00" + "time": "2021-06-25T01:09:28+00:00" }, { "name": "shopware/core", - "version": "6.4.20.2", + "version": "6.4.1.2", "source": { "type": "git", "url": "https://github.com/shopware/core.git", - "reference": "42e7b9045d0300938991cc658baec742155da553" + "reference": "8a1e9bdf79c612965b2dc6fbe5473f31be853bc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shopware/core/zipball/42e7b9045d0300938991cc658baec742155da553", - "reference": "42e7b9045d0300938991cc658baec742155da553", + "url": "https://api.github.com/repos/shopware/core/zipball/8a1e9bdf79c612965b2dc6fbe5473f31be853bc6", + "reference": "8a1e9bdf79c612965b2dc6fbe5473f31be853bc6", "shasum": "" }, "require": { - "aws/aws-sdk-php": "^3.198.5", + "aws/aws-sdk-php": "3.133.6", "cocur/slugify": "4.0.0", "composer-runtime-api": "^2.0", - "composer/composer": "^2.2.17", - "composer/semver": "^3.2", - "doctrine/annotations": "1.13.1", - "doctrine/dbal": "~2.13.8", - "doctrine/inflector": "~1.4.4", - "enqueue/dbal": "~0.10.15", - "enqueue/redis": "~0.10.9", + "composer/composer": "~2.0.9", + "composer/semver": "~3.2.4", + "doctrine/annotations": "1.11.1", + "doctrine/dbal": "2.12.1", + "doctrine/inflector": "1.3.1", + "dompdf/dompdf": "1.0.2", + "enqueue/dbal": "0.10.0", "ext-curl": "*", "ext-dom": "*", "ext-fileinfo": "*", @@ -8851,107 +8077,100 @@ "ext-openssl": "*", "ext-pdo": "*", "ext-pdo_mysql": "*", - "ext-session": "*", "ext-simplexml": "*", "ext-sodium": "*", "ext-xml": "*", "ext-zip": "*", "ext-zlib": "*", - "ezyang/htmlpurifier": "4.13.0", - "google/cloud-storage": "~1.25.1", - "guzzlehttp/guzzle": "~7.4.5", - "guzzlehttp/psr7": "^1.8.0", + "google/cloud-storage": "1.17.0", + "guzzlehttp/guzzle": "~7.2", "jdorn/sql-formatter": "1.2.17", - "lcobucci/jwt": "~4.1.5", + "lcobucci/jwt": "4.1.4", "league/flysystem": "~1.1.4", "league/flysystem-aws-s3-v3": "~1.0.29", - "league/flysystem-memory": "~1.0.2", - "league/oauth2-server": "~8.3.2", + "league/oauth2-server": "8.2.4", "marc1706/fast-image-size": "1.1.6", - "monolog/monolog": "~2.8.0", - "nyholm/psr7": "~1.8.0", - "php": "^7.4.3 || ^8.0", + "nyholm/psr7": "1.2.1", + "php": "^7.4 || ^8.0", "psr/cache": "1.0.1", "psr/event-dispatcher": "1.0.0", - "psr/http-factory": "~1.0", - "psr/http-message": "~1.0 || ~2.0", + "psr/http-factory": "1.0.1", + "psr/http-message": "1.0.1", "psr/log": "1.1.2", - "sensio/framework-extra-bundle": "~6.2.1", - "setasign/fpdi": "2.3.6", - "shopware/conflicts": "*", - "shopwarelabs/dompdf": "1.0.3", - "squirrelphp/twig-php-syntax": "1.7.0", + "sensio/framework-extra-bundle": "5.5.6", "sroze/messenger-enqueue-transport": "0.4.0", - "superbalist/flysystem-google-storage": "~7.2.2", - "symfony/asset": "~5.4.0", - "symfony/cache": "~5.4.0", - "symfony/cache-contracts": "v2.5.2", - "symfony/config": "~5.4.0", - "symfony/console": "~5.4.1", - "symfony/debug-bundle": "~5.4.0", - "symfony/dependency-injection": "~5.4.1", + "superbalist/flysystem-google-storage": "7.2.2", + "symfony/asset": "~5.2.3", + "symfony/cache": "~5.2.3", + "symfony/cache-contracts": "2.2.0", + "symfony/config": "~5.2.3", + "symfony/console": "~5.2.3", + "symfony/debug-bundle": "~5.2.3", + "symfony/dependency-injection": "~5.2.3", "symfony/deprecation-contracts": "2.2.0", - "symfony/dotenv": "~5.4.5", - "symfony/error-handler": "~5.4.1", - "symfony/event-dispatcher": "~5.4.0", + "symfony/dotenv": "~5.2.3", + "symfony/error-handler": "~5.2.3", + "symfony/event-dispatcher": "~5.2.3", "symfony/event-dispatcher-contracts": "2.2.0", - "symfony/filesystem": "~5.4.0", - "symfony/finder": "~5.4.0", - "symfony/framework-bundle": "~5.4.1", - "symfony/http-foundation": "~5.4.1", - "symfony/http-kernel": "~5.4.2", - "symfony/inflector": "~5.4.0", - "symfony/mailer": "~5.4.0", - "symfony/messenger": "~5.4.0", - "symfony/mime": "~5.4.0", - "symfony/monolog-bridge": "~5.4.0", + "symfony/filesystem": "~5.2.3", + "symfony/finder": "~5.2.3", + "symfony/framework-bundle": "~5.2.3", + "symfony/http-foundation": "~5.2.3", + "symfony/http-kernel": "~5.2.3", + "symfony/inflector": "~5.2.3", + "symfony/mailer": "~5.2.3", + "symfony/messenger": "~5.2.3", + "symfony/mime": "~5.2.3", + "symfony/monolog-bridge": "~5.2.3", "symfony/monolog-bundle": "3.6.0", - "symfony/options-resolver": "~5.4.0", - "symfony/polyfill-php80": "~1.23.1", - "symfony/polyfill-php81": "~v1.23.0", - "symfony/process": "~5.4.0", - "symfony/property-access": "~5.4.0", - "symfony/property-info": "~5.4.0", - "symfony/proxy-manager-bridge": "~5.4.0", + "symfony/options-resolver": "~5.2.3", + "symfony/polyfill-php73": "1.22.1", + "symfony/process": "~5.2.3", + "symfony/property-access": "~5.2.3", + "symfony/property-info": "~5.2.3", + "symfony/proxy-manager-bridge": "~5.2.3", "symfony/psr-http-message-bridge": "2.1.0", - "symfony/rate-limiter": "~5.4.0", - "symfony/routing": "~5.4.0", - "symfony/security-core": "~5.4.0", - "symfony/serializer": "~5.4.0", + "symfony/routing": "~5.2.3", + "symfony/security-core": "~5.2.3", + "symfony/serializer": "~5.2.3", "symfony/service-contracts": "2.2.0", - "symfony/stopwatch": "~5.4.0", - "symfony/translation": "~5.4.1", + "symfony/translation": "~5.2.3", "symfony/translation-contracts": "2.3.0", - "symfony/twig-bridge": "~5.4.0", - "symfony/twig-bundle": "~5.4.0", - "symfony/validator": "~5.4.1", - "symfony/var-exporter": "~5.4.0", - "symfony/yaml": "~5.4.0", - "tecnickcom/tcpdf": "6.4.4", + "symfony/twig-bridge": "~5.2.3", + "symfony/twig-bundle": "~5.2.3", + "symfony/validator": "~5.2.3", + "symfony/var-exporter": "~5.2.3", + "symfony/yaml": "~5.2.3", "true/punycode": "2.1.1", - "twig/intl-extra": "~3.3.5", - "twig/string-extra": "~3.3.5", - "twig/twig": "~3.4.3", - "zircote/swagger-php": "~3.3.6" + "twig/intl-extra": "3.3.0", + "twig/string-extra": "3.3.0", + "twig/twig": "3.3.0", + "zircote/swagger-php": "3.1.0" + }, + "conflict": { + "symfony/symfony": "*" }, "require-dev": { + "bheller/images-generator": "1.0.1", "brianium/paratest": "^6.2", "dms/phpunit-arraysubset-asserts": "^0.2.1", "ext-tokenizer": "*", "ext-xmlwriter": "*", - "fakerphp/faker": "^1.20", - "johnkary/phpunit-speedtrap": "~4.0.0", - "mbezhanov/faker-provider-collection": "~2.0.1", - "nikic/php-parser": "~4.13.2", - "opis/json-schema": "~1.0.19", - "phpunit/php-code-coverage": "~9.2.14", - "phpunit/phpunit": "~9.5.17", - "smalot/pdfparser": "~0.14.0", - "symfony/browser-kit": "~5.4.0", - "symfony/dom-crawler": "~5.4.0", - "symfony/phpunit-bridge": "~6.1.0", - "symfony/var-dumper": "~5.4.0", - "symfony/web-profiler-bundle": "~5.4.0" + "fzaninotto/faker": "1.9.1", + "johnkary/phpunit-speedtrap": "3.3.0", + "league/flysystem-memory": "1.0.2", + "mbezhanov/faker-provider-collection": "1.2.1", + "nikic/php-parser": "4.10.4", + "opis/json-schema": "1.0.19", + "phpunit/php-code-coverage": "9.2.5", + "phpunit/phpunit": "9.5.2", + "smalot/pdfparser": "0.14.0", + "symfony/browser-kit": "~4.4.19", + "symfony/dom-crawler": "~5.2.3", + "symfony/phpunit-bridge": "~5.2.3", + "symfony/stopwatch": "~5.2.3", + "symfony/var-dumper": "~5.2.3", + "symfony/web-profiler-bundle": "~5.2.3" }, "type": "library", "extra": { @@ -8961,11 +8180,6 @@ } }, "autoload": { - "files": [ - "Framework/Adapter/Doctrine/Patch/AbstractAsset.php", - "Framework/Adapter/Doctrine/Patch/QueryBuilder.php", - "Framework/Adapter/Twig/functions.php" - ], "psr-4": { "Shopware\\Core\\": "" }, @@ -8984,219 +8198,79 @@ "shopware" ], "support": { - "chat": "https://slack.shopware.com", - "docs": "https://developer.shopware.com", - "forum": "https://forum.shopware.com", - "issues": "https://issues.shopware.com", - "source": "https://github.com/shopware/core/tree/v6.4.20.2", - "wiki": "https://developer.shopware.com" + "source": "https://github.com/shopware/core/tree/v6.4.1.2" }, - "time": "2023-05-05T00:14:34+00:00" + "time": "2021-06-25T01:09:27+00:00" }, { "name": "shopware/storefront", - "version": "6.4.20.2", + "version": "6.4.1.2", "source": { "type": "git", "url": "https://github.com/shopware/storefront.git", - "reference": "5d91bea88ad1dc4f3d0fa39f40f3fc20c90c4c7b" + "reference": "f21c5806d1e7d166f7af3e98c251b0989aa44366" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shopware/storefront/zipball/5d91bea88ad1dc4f3d0fa39f40f3fc20c90c4c7b", - "reference": "5d91bea88ad1dc4f3d0fa39f40f3fc20c90c4c7b", + "url": "https://api.github.com/repos/shopware/storefront/zipball/f21c5806d1e7d166f7af3e98c251b0989aa44366", + "reference": "f21c5806d1e7d166f7af3e98c251b0989aa44366", "shasum": "" }, "require": { "cocur/slugify": "4.0.0", - "doctrine/dbal": "~2.13.8", - "meyfa/php-svg": "~0.11.3", + "doctrine/dbal": "2.12.1", + "ezyang/htmlpurifier": "4.13.0", "padaliyajay/php-autoprefixer": "1.3", - "php": "^7.4.3 || ^8.0", - "scssphp/scssphp": "v1.11.0", - "shopware/core": "v6.4.20.2", - "symfony/cache": "~5.4.0", - "symfony/cache-contracts": "v2.5.2", - "symfony/config": "~5.4.0", - "symfony/console": "~5.4.1", - "symfony/dependency-injection": "~5.4.1", - "symfony/event-dispatcher": "~5.4.0", + "scssphp/scssphp": "1.0.6", + "shopware/core": "v6.4.1.2", + "symfony/cache": "~5.2.3", + "symfony/cache-contracts": "2.2.0", + "symfony/config": "~5.2.3", + "symfony/console": "~5.2.3", + "symfony/dependency-injection": "~5.2.3", + "symfony/event-dispatcher": "~5.2.3", "symfony/event-dispatcher-contracts": "2.2.0", - "symfony/framework-bundle": "~5.4.1", - "symfony/http-foundation": "~5.4.1", - "symfony/http-kernel": "~5.4.2", - "symfony/mime": "~5.4.0", - "symfony/polyfill-php80": "~1.23.1", - "symfony/routing": "~5.4.0", - "symfony/security-core": "~5.4.0", - "symfony/security-csrf": "~5.4.0", + "symfony/framework-bundle": "~5.2.3", + "symfony/http-foundation": "~5.2.3", + "symfony/http-kernel": "~5.2.3", + "symfony/mime": "~5.2.3", + "symfony/routing": "~5.2.3", + "symfony/security-core": "~5.2.3", + "symfony/security-csrf": "~5.2.3", "symfony/service-contracts": "2.2.0", - "symfony/validator": "~5.4.1", + "symfony/validator": "~5.2.3", "true/punycode": "2.1.1", - "twig/intl-extra": "~3.3.5", - "twig/string-extra": "~3.3.5", - "twig/twig": "~3.4.3" - }, - "require-dev": { - "phpunit/phpunit": "~9.5.17", - "symfony/css-selector": "~5.4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.4.x-dev", - "dev-trunk": "6.4.x-dev" - } - }, - "autoload": { - "psr-4": { - "Shopware\\Storefront\\": "" - }, - "exclude-from-classmap": [ - "*/Test/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Storefront for Shopware", - "support": { - "chat": "https://slack.shopware.com", - "docs": "https://developer.shopware.com", - "forum": "https://forum.shopware.com", - "issues": "https://issues.shopware.com", - "source": "https://github.com/shopware/storefront/tree/v6.4.20.2", - "wiki": "https://developer.shopware.com" - }, - "time": "2023-05-05T00:14:41+00:00" - }, - { - "name": "shopwarelabs/dompdf", - "version": "v1.0.3", - "source": { - "type": "git", - "url": "https://github.com/shopwareLabs/dompdf.git", - "reference": "d33e0741155134ffd2bffffcc3fdec7c7b5a67ba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/shopwareLabs/dompdf/zipball/d33e0741155134ffd2bffffcc3fdec7c7b5a67ba", - "reference": "d33e0741155134ffd2bffffcc3fdec7c7b5a67ba", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-mbstring": "*", - "phenx/php-font-lib": "^0.5.2", - "phenx/php-svg-lib": "^0.3.3", - "php": "^7.1 || ^8.0" - }, - "replace": { - "dompdf/dompdf": "v1.2.1" - }, - "require-dev": { - "mockery/mockery": "^1.3", - "phpunit/phpunit": "^7.5 || ^8 || ^9", - "squizlabs/php_codesniffer": "^3.5" - }, - "suggest": { - "ext-gd": "Needed to process images", - "ext-gmagick": "Improves image processing performance", - "ext-imagick": "Improves image processing performance", - "ext-zlib": "Needed for pdf stream compression" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-develop": "0.7-dev" - } - }, - "autoload": { - "psr-4": { - "Dompdf\\": "src/" - }, - "classmap": [ - "lib/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-2.1" - ], - "authors": [ - { - "name": "Fabien Ménager", - "email": "fabien.menager@gmail.com" - }, - { - "name": "Brian Sweeney", - "email": "eclecticgeek@gmail.com" - }, - { - "name": "Gabriel Bull", - "email": "me@gabrielbull.com" - } - ], - "description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter", - "homepage": "https://github.com/dompdf/dompdf", - "support": { - "source": "https://github.com/shopwareLabs/dompdf/tree/v1.0.3" - }, - "time": "2022-04-20T12:38:36+00:00" - }, - { - "name": "squirrelphp/twig-php-syntax", - "version": "v1.7", - "source": { - "type": "git", - "url": "https://github.com/squirrelphp/twig-php-syntax.git", - "reference": "97738f7533de0fd5ed8f03d052d219bd23398976" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/squirrelphp/twig-php-syntax/zipball/97738f7533de0fd5ed8f03d052d219bd23398976", - "reference": "97738f7533de0fd5ed8f03d052d219bd23398976", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "twig/twig": "^3.0" + "twig/intl-extra": "3.3.0", + "twig/string-extra": "3.3.0", + "twig/twig": "3.3.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.3", - "captainhook/plugin-composer": "^5.0", - "phpunit/phpunit": "^8.0|^9.0" + "phpunit/phpunit": "9.5.2" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.4.x-dev", + "dev-trunk": "6.4.x-dev" + } + }, "autoload": { "psr-4": { - "Squirrel\\TwigPhpSyntax\\": "src/" - } + "Shopware\\Storefront\\": "" + }, + "exclude-from-classmap": [ + "*/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Andreas Leathley", - "email": "andreas.leathley@panaxis.ch" - } - ], - "description": "Adds common PHP syntax to twig templates, like ===, foreach and continue/break.", - "homepage": "https://github.com/squirrelphp/twig-php-syntax", - "keywords": [ - "foreach", - "php", - "syntax", - "twig" - ], + "description": "Storefront for Shopware", "support": { - "issues": "https://github.com/squirrelphp/twig-php-syntax/issues", - "source": "https://github.com/squirrelphp/twig-php-syntax/tree/v1.7" + "source": "https://github.com/shopware/storefront/tree/v6.4.1.2" }, - "time": "2021-11-29T23:24:13+00:00" + "time": "2021-06-25T01:09:28+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -9377,30 +8451,30 @@ }, { "name": "symfony/amqp-messenger", - "version": "v5.4.28", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/amqp-messenger.git", - "reference": "24e5cc90da041e0e1b7bbe15b82ad7f27a508c01" + "reference": "62736870b28c31041d48a1554e01261b03564d35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/amqp-messenger/zipball/24e5cc90da041e0e1b7bbe15b82ad7f27a508c01", - "reference": "24e5cc90da041e0e1b7bbe15b82ad7f27a508c01", + "url": "https://api.github.com/repos/symfony/amqp-messenger/zipball/62736870b28c31041d48a1554e01261b03564d35", + "reference": "62736870b28c31041d48a1554e01261b03564d35", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/messenger": "^5.3|^6.0" + "symfony/deprecation-contracts": "^2.1", + "symfony/messenger": "^5.1" }, "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/property-access": "^4.4|^5.0|^6.0", - "symfony/serializer": "^4.4|^5.0|^6.0" + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "symfony/property-access": "^4.4|^5.0", + "symfony/serializer": "^4.4|^5.0" }, - "type": "symfony-messenger-bridge", + "type": "symfony-bridge", "autoload": { "psr-4": { "Symfony\\Component\\Messenger\\Bridge\\Amqp\\": "" @@ -9426,7 +8500,7 @@ "description": "Symfony AMQP extension Messenger Bridge", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/amqp-messenger/tree/v5.4.28" + "source": "https://github.com/symfony/amqp-messenger/tree/v5.2.12" }, "funding": [ { @@ -9442,34 +8516,30 @@ "type": "tidelift" } ], - "time": "2023-08-09T17:16:27+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/asset", - "version": "v5.4.21", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/asset.git", - "reference": "1504b6773c6b90118f9871e90a67833b5d1dca3c" + "reference": "abe64fee9fa2978c730c84d0d6df760f2d9ddba0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/asset/zipball/1504b6773c6b90118f9871e90a67833b5d1dca3c", - "reference": "1504b6773c6b90118f9871e90a67833b5d1dca3c", + "url": "https://api.github.com/repos/symfony/asset/zipball/abe64fee9fa2978c730c84d0d6df760f2d9ddba0", + "reference": "abe64fee9fa2978c730c84d0d6df760f2d9ddba0", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-php80": "^1.16" }, - "conflict": { - "symfony/http-foundation": "<5.3" - }, "require-dev": { - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^5.3|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0" + "symfony/http-client": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/http-kernel": "^4.4|^5.0" }, "suggest": { "symfony/http-foundation": "" @@ -9500,7 +8570,7 @@ "description": "Manages URL generation and versioning of web assets such as CSS stylesheets, JavaScript files and image files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/asset/tree/v5.4.21" + "source": "https://github.com/symfony/asset/tree/v5.2.12" }, "funding": [ { @@ -9516,20 +8586,20 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/cache", - "version": "v5.4.29", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "e29c5a97bc2d81269973c3e1d7ceb9d48b4d5151" + "reference": "b59303192fb99c8b3d3abc0b5975c7512fe6d1f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/e29c5a97bc2d81269973c3e1d7ceb9d48b4d5151", - "reference": "e29c5a97bc2d81269973c3e1d7ceb9d48b4d5151", + "url": "https://api.github.com/repos/symfony/cache/zipball/b59303192fb99c8b3d3abc0b5975c7512fe6d1f4", + "reference": "b59303192fb99c8b3d3abc0b5975c7512fe6d1f4", "shasum": "" }, "require": { @@ -9537,35 +8607,33 @@ "psr/cache": "^1.0|^2.0", "psr/log": "^1.1|^2|^3", "symfony/cache-contracts": "^1.1.7|^2", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php73": "^1.9", "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/var-exporter": "^4.4|^5.0|^6.0" + "symfony/service-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0" }, "conflict": { - "doctrine/dbal": "<2.13.1", + "doctrine/dbal": "<2.10", "symfony/dependency-injection": "<4.4", "symfony/http-kernel": "<4.4", "symfony/var-dumper": "<4.4" }, "provide": { "psr/cache-implementation": "1.0|2.0", - "psr/simple-cache-implementation": "1.0|2.0", + "psr/simple-cache-implementation": "1.0", "symfony/cache-implementation": "1.0|2.0" }, "require-dev": { "cache/integration-tests": "dev-master", "doctrine/cache": "^1.6|^2.0", - "doctrine/dbal": "^2.13.1|^3.0", + "doctrine/dbal": "^2.10|^3.0", "predis/predis": "^1.1", - "psr/simple-cache": "^1.0|^2.0", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0", - "symfony/messenger": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "psr/simple-cache": "^1.0", + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/filesystem": "^4.4|^5.0", + "symfony/http-kernel": "^4.4|^5.0", + "symfony/messenger": "^4.4|^5.0", + "symfony/var-dumper": "^4.4|^5.0" }, "type": "library", "autoload": { @@ -9590,14 +8658,14 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides extended PSR-6, PSR-16 (and tags) implementations", + "description": "Provides an extended PSR-6, PSR-16 (and tags) implementation", "homepage": "https://symfony.com", "keywords": [ "caching", "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v5.4.29" + "source": "https://github.com/symfony/cache/tree/v5.2.12" }, "funding": [ { @@ -9613,25 +8681,25 @@ "type": "tidelift" } ], - "time": "2023-09-19T13:25:51+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/cache-contracts", - "version": "v2.5.2", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", - "reference": "64be4a7acb83b6f2bf6de9a02cee6dad41277ebc" + "reference": "8034ca0b61d4dd967f3698aaa1da2507b631d0cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/64be4a7acb83b6f2bf6de9a02cee6dad41277ebc", - "reference": "64be4a7acb83b6f2bf6de9a02cee6dad41277ebc", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/8034ca0b61d4dd967f3698aaa1da2507b631d0cb", + "reference": "8034ca0b61d4dd967f3698aaa1da2507b631d0cb", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/cache": "^1.0|^2.0|^3.0" + "psr/cache": "^1.0" }, "suggest": { "symfony/cache-implementation": "" @@ -9639,7 +8707,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-master": "2.2-dev" }, "thanks": { "name": "symfony/contracts", @@ -9676,7 +8744,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/cache-contracts/tree/v2.2.0" }, "funding": [ { @@ -9692,26 +8760,26 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2020-09-07T11:33:47+00:00" }, { "name": "symfony/config", - "version": "v5.4.26", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "8109892f27beed9252bd1f1c1880aeb4ad842650" + "reference": "32f6be0d0c2e204ff35759f9ee81d4f5e83b7acb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/8109892f27beed9252bd1f1c1880aeb4ad842650", - "reference": "8109892f27beed9252bd1f1c1880aeb4ad842650", + "url": "https://api.github.com/repos/symfony/config/zipball/32f6be0d0c2e204ff35759f9ee81d4f5e83b7acb", + "reference": "32f6be0d0c2e204ff35759f9ee81d4f5e83b7acb", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/filesystem": "^4.4|^5.0|^6.0", + "symfony/deprecation-contracts": "^2.1", + "symfony/filesystem": "^4.4|^5.0", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-php80": "^1.16", "symfony/polyfill-php81": "^1.22" @@ -9720,11 +8788,11 @@ "symfony/finder": "<4.4" }, "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/messenger": "^4.4|^5.0|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/yaml": "^4.4|^5.0|^6.0" + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/messenger": "^4.4|^5.0", + "symfony/service-contracts": "^1.1|^2", + "symfony/yaml": "^4.4|^5.0" }, "suggest": { "symfony/yaml": "To use the yaml reference dumper" @@ -9755,7 +8823,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v5.4.26" + "source": "https://github.com/symfony/config/tree/v5.2.12" }, "funding": [ { @@ -9771,30 +8839,29 @@ "type": "tidelift" } ], - "time": "2023-07-19T20:21:11+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/console", - "version": "v5.4.28", + "version": "v5.2.14", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "f4f71842f24c2023b91237c72a365306f3c58827" + "reference": "ffc2722adb0983451855c794c4bc7818d3c65fa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/f4f71842f24c2023b91237c72a365306f3c58827", - "reference": "f4f71842f24c2023b91237c72a365306f3c58827", + "url": "https://api.github.com/repos/symfony/console/zipball/ffc2722adb0983451855c794c4bc7818d3c65fa2", + "reference": "ffc2722adb0983451855c794c4bc7818d3c65fa2", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php73": "^1.8", "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.1|^6.0" + "symfony/service-contracts": "^1.1|^2", + "symfony/string": "^5.1" }, "conflict": { "psr/log": ">=3", @@ -9809,12 +8876,12 @@ }, "require-dev": { "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/lock": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "symfony/var-dumper": "^4.4|^5.0" }, "suggest": { "psr/log": "For using the console logger", @@ -9849,12 +8916,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command-line", + "command line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.28" + "source": "https://github.com/symfony/console/tree/v5.2.14" }, "funding": [ { @@ -9870,38 +8937,38 @@ "type": "tidelift" } ], - "time": "2023-08-07T06:12:30+00:00" + "time": "2021-07-29T06:18:06+00:00" }, { "name": "symfony/debug-bundle", - "version": "v5.4.26", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/debug-bundle.git", - "reference": "17c372891d4554d5d2f5cf602aef02c859ad52d8" + "reference": "2cb76e25ca75afb0d52c1ba83d77cd4190ed5552" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug-bundle/zipball/17c372891d4554d5d2f5cf602aef02c859ad52d8", - "reference": "17c372891d4554d5d2f5cf602aef02c859ad52d8", + "url": "https://api.github.com/repos/symfony/debug-bundle/zipball/2cb76e25ca75afb0d52c1ba83d77cd4190ed5552", + "reference": "2cb76e25ca75afb0d52c1ba83d77cd4190ed5552", "shasum": "" }, "require": { "ext-xml": "*", "php": ">=7.2.5", - "symfony/http-kernel": "^4.4|^5.0|^6.0", + "symfony/http-kernel": "^4.4|^5.0", "symfony/polyfill-php80": "^1.16", - "symfony/twig-bridge": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "symfony/twig-bridge": "^4.4|^5.0", + "symfony/var-dumper": "^4.4|^5.0" }, "conflict": { "symfony/config": "<4.4", "symfony/dependency-injection": "<5.2" }, "require-dev": { - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/web-profiler-bundle": "^4.4|^5.0|^6.0" + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/web-profiler-bundle": "^4.4|^5.0" }, "suggest": { "symfony/config": "For service container configuration", @@ -9930,10 +8997,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides a tight integration of the Symfony VarDumper component and the ServerLogCommand from MonologBridge into the Symfony full-stack framework", + "description": "Provides a tight integration of the Symfony Debug component into the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/debug-bundle/tree/v5.4.26" + "source": "https://github.com/symfony/debug-bundle/tree/v5.2.12" }, "funding": [ { @@ -9949,45 +9016,43 @@ "type": "tidelift" } ], - "time": "2023-07-11T21:42:03+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/dependency-injection", - "version": "v5.4.29", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "338638ed8c9d5c7fcb136a73f5c7043465ae2f05" + "reference": "2f0326ab0e142a3600b1b435cb3e852bc96264b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/338638ed8c9d5c7fcb136a73f5c7043465ae2f05", - "reference": "338638ed8c9d5c7fcb136a73f5c7043465ae2f05", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/2f0326ab0e142a3600b1b435cb3e852bc96264b6", + "reference": "2f0326ab0e142a3600b1b435cb3e852bc96264b6", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/container": "^1.1.1", - "symfony/deprecation-contracts": "^2.1|^3", + "psr/container": "^1.0", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-php80": "^1.16", - "symfony/polyfill-php81": "^1.22", "symfony/service-contracts": "^1.1.6|^2" }, "conflict": { - "ext-psr": "<1.1|>=2", - "symfony/config": "<5.3", + "symfony/config": "<5.1", "symfony/finder": "<4.4", "symfony/proxy-manager-bridge": "<4.4", - "symfony/yaml": "<4.4.26" + "symfony/yaml": "<4.4" }, "provide": { "psr/container-implementation": "1.0", "symfony/service-implementation": "1.0|2.0" }, "require-dev": { - "symfony/config": "^5.3|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4.26|^5.0|^6.0" + "symfony/config": "^5.1", + "symfony/expression-language": "^4.4|^5.0", + "symfony/yaml": "^4.4|^5.0" }, "suggest": { "symfony/config": "", @@ -10022,7 +9087,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.4.29" + "source": "https://github.com/symfony/dependency-injection/tree/v5.2.12" }, "funding": [ { @@ -10038,7 +9103,7 @@ "type": "tidelift" } ], - "time": "2023-09-20T06:23:43+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/deprecation-contracts", @@ -10109,34 +9174,34 @@ }, { "name": "symfony/doctrine-messenger", - "version": "v5.4.25", + "version": "v5.3.14", "source": { "type": "git", "url": "https://github.com/symfony/doctrine-messenger.git", - "reference": "96bd1e093bfa8587205f4413193545c6685d7cd6" + "reference": "cace447168f67c72dbdeb7545defac66d9d120fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/doctrine-messenger/zipball/96bd1e093bfa8587205f4413193545c6685d7cd6", - "reference": "96bd1e093bfa8587205f4413193545c6685d7cd6", + "url": "https://api.github.com/repos/symfony/doctrine-messenger/zipball/cace447168f67c72dbdeb7545defac66d9d120fc", + "reference": "cace447168f67c72dbdeb7545defac66d9d120fc", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/messenger": "^5.1|^6.0", - "symfony/service-contracts": "^1.1|^2|^3" + "symfony/messenger": "^5.1", + "symfony/service-contracts": "^1.1|^2" }, "conflict": { - "doctrine/dbal": "<2.13", + "doctrine/dbal": "<2.10", "doctrine/persistence": "<1.3" }, "require-dev": { - "doctrine/dbal": "^2.13|^3.0", - "doctrine/persistence": "^1.3|^2|^3", - "symfony/property-access": "^4.4|^5.0|^6.0", - "symfony/serializer": "^4.4|^5.0|^6.0" + "doctrine/dbal": "^2.10|^3.0", + "doctrine/persistence": "^1.3|^2", + "symfony/property-access": "^4.4|^5.0", + "symfony/serializer": "^4.4|^5.0" }, - "type": "symfony-messenger-bridge", + "type": "symfony-bridge", "autoload": { "psr-4": { "Symfony\\Component\\Messenger\\Bridge\\Doctrine\\": "" @@ -10162,7 +9227,7 @@ "description": "Symfony Doctrine Messenger Bridge", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/doctrine-messenger/tree/v5.4.25" + "source": "https://github.com/symfony/doctrine-messenger/tree/v5.3.14" }, "funding": [ { @@ -10178,29 +9243,28 @@ "type": "tidelift" } ], - "time": "2023-06-22T08:06:06+00:00" + "time": "2022-01-02T09:52:31+00:00" }, { "name": "symfony/dotenv", - "version": "v5.4.22", + "version": "v5.2.14", "source": { "type": "git", "url": "https://github.com/symfony/dotenv.git", - "reference": "77b7660bfcb85e8f28287d557d7af0046bcd2ca3" + "reference": "12888c9c46ac750ec5c1381db5bf3d534e7d70cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dotenv/zipball/77b7660bfcb85e8f28287d557d7af0046bcd2ca3", - "reference": "77b7660bfcb85e8f28287d557d7af0046bcd2ca3", + "url": "https://api.github.com/repos/symfony/dotenv/zipball/12888c9c46ac750ec5c1381db5bf3d534e7d70cb", + "reference": "12888c9c46ac750ec5c1381db5bf3d534e7d70cb", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3" + "symfony/deprecation-contracts": "^2.1" }, "require-dev": { - "symfony/console": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0" + "symfony/process": "^4.4|^5.0" }, "type": "library", "autoload": { @@ -10233,7 +9297,7 @@ "environment" ], "support": { - "source": "https://github.com/symfony/dotenv/tree/v5.4.22" + "source": "https://github.com/symfony/dotenv/tree/v5.2.14" }, "funding": [ { @@ -10249,35 +9313,32 @@ "type": "tidelift" } ], - "time": "2023-03-09T20:36:58+00:00" + "time": "2021-07-29T06:18:06+00:00" }, { "name": "symfony/error-handler", - "version": "v5.4.29", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "328c6fcfd2f90b64c16efaf0ea67a311d672f078" + "reference": "7ca5fa510345f6b8def43b18c900852defaee362" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/328c6fcfd2f90b64c16efaf0ea67a311d672f078", - "reference": "328c6fcfd2f90b64c16efaf0ea67a311d672f078", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/7ca5fa510345f6b8def43b18c900852defaee362", + "reference": "7ca5fa510345f6b8def43b18c900852defaee362", "shasum": "" }, "require": { "php": ">=7.2.5", "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "symfony/var-dumper": "^4.4|^5.0" }, "require-dev": { - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/http-kernel": "^4.4|^5.0|^6.0", - "symfony/serializer": "^4.4|^5.0|^6.0" + "symfony/deprecation-contracts": "^2.1", + "symfony/http-kernel": "^4.4|^5.0", + "symfony/serializer": "^4.4|^5.0" }, - "bin": [ - "Resources/bin/patch-type-declarations" - ], "type": "library", "autoload": { "psr-4": { @@ -10304,7 +9365,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v5.4.29" + "source": "https://github.com/symfony/error-handler/tree/v5.2.12" }, "funding": [ { @@ -10320,26 +9381,26 @@ "type": "tidelift" } ], - "time": "2023-09-06T21:54:06+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.4.26", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "5dcc00e03413f05c1e7900090927bb7247cb0aac" + "reference": "6a32cd803f8ff33d84b709de3978f44a62e42961" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/5dcc00e03413f05c1e7900090927bb7247cb0aac", - "reference": "5dcc00e03413f05c1e7900090927bb7247cb0aac", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/6a32cd803f8ff33d84b709de3978f44a62e42961", + "reference": "6a32cd803f8ff33d84b709de3978f44a62e42961", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/event-dispatcher-contracts": "^2|^3", + "symfony/deprecation-contracts": "^2.1", + "symfony/event-dispatcher-contracts": "^2", "symfony/polyfill-php80": "^1.16" }, "conflict": { @@ -10351,13 +9412,13 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^4.4|^5.0|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/stopwatch": "^4.4|^5.0|^6.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": "", @@ -10389,7 +9450,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.26" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.2.12" }, "funding": [ { @@ -10405,7 +9466,7 @@ "type": "tidelift" } ], - "time": "2023-07-06T06:34:20+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -10488,22 +9549,21 @@ }, { "name": "symfony/filesystem", - "version": "v5.4.25", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364" + "reference": "ed397ef25365b3db9f215af4ed5b1ec8a5b10989" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", - "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/ed397ef25365b3db9f215af4ed5b1ec8a5b10989", + "reference": "ed397ef25365b3db9f215af4ed5b1ec8a5b10989", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", "symfony/polyfill-php80": "^1.16" }, "type": "library", @@ -10532,7 +9592,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.25" + "source": "https://github.com/symfony/filesystem/tree/v5.2.12" }, "funding": [ { @@ -10548,25 +9608,24 @@ "type": "tidelift" } ], - "time": "2023-05-31T13:04:02+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/finder", - "version": "v5.4.27", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d" + "reference": "17f50e06018baec41551a71a15731287dbaab186" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/ff4bce3c33451e7ec778070e45bd23f74214cd5d", - "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d", + "url": "https://api.github.com/repos/symfony/finder/zipball/17f50e06018baec41551a71a15731287dbaab186", + "reference": "17f50e06018baec41551a71a15731287dbaab186", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-php80": "^1.16" }, "type": "library", @@ -10595,7 +9654,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.27" + "source": "https://github.com/symfony/finder/tree/v5.2.12" }, "funding": [ { @@ -10611,47 +9670,46 @@ "type": "tidelift" } ], - "time": "2023-07-31T08:02:31+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/framework-bundle", - "version": "v5.4.29", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/framework-bundle.git", - "reference": "63e4ad1386fd4f31a005d751cd4dc016f9f2346e" + "reference": "4e9ca1c60dba3b5e261eadd3b427bc115914b72b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/63e4ad1386fd4f31a005d751cd4dc016f9f2346e", - "reference": "63e4ad1386fd4f31a005d751cd4dc016f9f2346e", + "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/4e9ca1c60dba3b5e261eadd3b427bc115914b72b", + "reference": "4e9ca1c60dba3b5e261eadd3b427bc115914b72b", "shasum": "" }, "require": { "ext-xml": "*", "php": ">=7.2.5", - "symfony/cache": "^5.2|^6.0", - "symfony/config": "^5.3|^6.0", - "symfony/dependency-injection": "^5.4.5|^6.0.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/error-handler": "^4.4.1|^5.0.1|^6.0", - "symfony/event-dispatcher": "^5.1|^6.0", - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^5.4.24|^6.2.11", - "symfony/http-kernel": "^5.4|^6.0", + "symfony/cache": "^5.2", + "symfony/config": "~5.0.11|^5.1.3", + "symfony/dependency-injection": "^5.2", + "symfony/deprecation-contracts": "^2.1", + "symfony/error-handler": "^4.4.1|^5.0.1", + "symfony/event-dispatcher": "^5.1", + "symfony/filesystem": "^4.4|^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/http-foundation": "^5.2.1", + "symfony/http-kernel": "^5.2.1", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "^1.16", - "symfony/polyfill-php81": "^1.22", - "symfony/routing": "^5.3|^6.0" + "symfony/routing": "^5.2" }, "conflict": { - "doctrine/annotations": "<1.13.1", - "doctrine/cache": "<1.11", "doctrine/persistence": "<1.3", "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", - "symfony/asset": "<5.3", + "phpunit/phpunit": "<5.4.3", + "symfony/asset": "<5.1", + "symfony/browser-kit": "<4.4", "symfony/console": "<5.2.5", "symfony/dom-crawler": "<4.4", "symfony/dotenv": "<5.1", @@ -10659,54 +9717,54 @@ "symfony/http-client": "<4.4", "symfony/lock": "<4.4", "symfony/mailer": "<5.2", - "symfony/messenger": "<5.4", + "symfony/messenger": "<4.4", "symfony/mime": "<4.4", - "symfony/property-access": "<5.3", + "symfony/property-access": "<5.2", "symfony/property-info": "<4.4", - "symfony/security-csrf": "<5.3", "symfony/serializer": "<5.2", - "symfony/service-contracts": ">=3.0", "symfony/stopwatch": "<4.4", - "symfony/translation": "<5.3", + "symfony/translation": "<5.0", "symfony/twig-bridge": "<4.4", "symfony/twig-bundle": "<4.4", - "symfony/validator": "<5.3.11", + "symfony/validator": "<5.2", "symfony/web-profiler-bundle": "<4.4", "symfony/workflow": "<5.2" }, "require-dev": { - "doctrine/annotations": "^1.13.1|^2", - "doctrine/cache": "^1.11|^2.0", - "doctrine/persistence": "^1.3|^2|^3", + "doctrine/annotations": "^1.10.4", + "doctrine/cache": "^1.0|^2.0", + "doctrine/persistence": "^1.3|^2.0", + "paragonie/sodium_compat": "^1.8", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/asset": "^5.3|^6.0", - "symfony/browser-kit": "^5.4|^6.0", - "symfony/console": "^5.4.9|^6.0.9", - "symfony/css-selector": "^4.4|^5.0|^6.0", - "symfony/dom-crawler": "^4.4.30|^5.3.7|^6.0", - "symfony/dotenv": "^5.1|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/form": "^5.2|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/mailer": "^5.2|^6.0", - "symfony/messenger": "^5.4|^6.0", - "symfony/mime": "^4.4|^5.0|^6.0", - "symfony/notifier": "^5.4|^6.0", + "symfony/asset": "^5.1", + "symfony/browser-kit": "^4.4|^5.0", + "symfony/console": "^5.2", + "symfony/css-selector": "^4.4|^5.0", + "symfony/dom-crawler": "^4.4|^5.0", + "symfony/dotenv": "^5.1", + "symfony/expression-language": "^4.4|^5.0", + "symfony/form": "^5.2", + "symfony/http-client": "^4.4|^5.0", + "symfony/lock": "^4.4|^5.0", + "symfony/mailer": "^5.2", + "symfony/messenger": "^5.2", + "symfony/mime": "^4.4|^5.0", "symfony/polyfill-intl-icu": "~1.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/property-info": "^4.4|^5.0|^6.0", - "symfony/rate-limiter": "^5.2|^6.0", - "symfony/security-bundle": "^5.4|^6.0", - "symfony/serializer": "^5.4|^6.0", - "symfony/stopwatch": "^4.4|^5.0|^6.0", - "symfony/string": "^5.0|^6.0", - "symfony/translation": "^5.3|^6.0", - "symfony/twig-bundle": "^4.4|^5.0|^6.0", - "symfony/validator": "^5.3.11|^6.0", - "symfony/web-link": "^4.4|^5.0|^6.0", - "symfony/workflow": "^5.2|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0", + "symfony/property-info": "^4.4|^5.0", + "symfony/security-bundle": "^5.1", + "symfony/security-core": "^4.4|^5.2", + "symfony/security-csrf": "^4.4|^5.0", + "symfony/security-http": "^4.4|^5.0", + "symfony/serializer": "^5.2", + "symfony/stopwatch": "^4.4|^5.0", + "symfony/string": "^5.0", + "symfony/translation": "^5.0", + "symfony/twig-bundle": "^4.4|^5.0", + "symfony/validator": "^5.2", + "symfony/web-link": "^4.4|^5.0", + "symfony/workflow": "^5.2", + "symfony/yaml": "^4.4|^5.0", "twig/twig": "^2.10|^3.0" }, "suggest": { @@ -10745,7 +9803,85 @@ "description": "Provides a tight integration between Symfony components and the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/framework-bundle/tree/v5.4.29" + "source": "https://github.com/symfony/framework-bundle/tree/v5.2.12" + }, + "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": "2021-07-21T13:17:02+00:00" + }, + { + "name": "symfony/http-client-contracts", + "version": "v2.5.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-client-contracts.git", + "reference": "ba6a9f0e8f3edd190520ee3b9a958596b6ca2e70" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/ba6a9f0e8f3edd190520ee3b9a958596b6ca2e70", + "reference": "ba6a9f0e8f3edd190520ee3b9a958596b6ca2e70", + "shasum": "" + }, + "require": { + "php": ">=7.2.5" + }, + "suggest": { + "symfony/http-client-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\HttpClient\\": "" + } + }, + "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 HTTP clients", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/http-client-contracts/tree/v2.5.2" }, "funding": [ { @@ -10761,36 +9897,33 @@ "type": "tidelift" } ], - "time": "2023-09-27T13:49:58+00:00" + "time": "2022-04-12T15:48:08+00:00" }, { "name": "symfony/http-foundation", - "version": "v5.4.28", + "version": "v5.2.14", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2" + "reference": "2a247de56fc8f5efdf1e098192128e8e509d370c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/365992c83a836dfe635f1e903ccca43ee03d3dd2", - "reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/2a247de56fc8f5efdf1e098192128e8e509d370c", + "reference": "2a247de56fc8f5efdf1e098192128e8e509d370c", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-mbstring": "~1.1", "symfony/polyfill-php80": "^1.16" }, "require-dev": { "predis/predis": "~1.0", - "symfony/cache": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", - "symfony/mime": "^4.4|^5.0|^6.0", - "symfony/rate-limiter": "^5.2|^6.0" + "symfony/cache": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/mime": "^4.4|^5.0" }, "suggest": { "symfony/mime": "To use the file extension guesser" @@ -10821,7 +9954,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.4.28" + "source": "https://github.com/symfony/http-foundation/tree/v5.2.14" }, "funding": [ { @@ -10837,39 +9970,40 @@ "type": "tidelift" } ], - "time": "2023-08-21T07:23:18+00:00" + "time": "2021-07-29T06:18:06+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.4.29", + "version": "v5.2.14", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "f53265fc6bd2a7f3a4ed4e443b76e750348ac3f7" + "reference": "2c3b9af1047c477c527504a3509ab59e4fae0689" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f53265fc6bd2a7f3a4ed4e443b76e750348ac3f7", - "reference": "f53265fc6bd2a7f3a4ed4e443b76e750348ac3f7", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/2c3b9af1047c477c527504a3509ab59e4fae0689", + "reference": "2c3b9af1047c477c527504a3509ab59e4fae0689", "shasum": "" }, "require": { "php": ">=7.2.5", "psr/log": "^1|^2", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^5.0|^6.0", - "symfony/http-foundation": "^5.4.21|^6.2.7", + "symfony/deprecation-contracts": "^2.1", + "symfony/error-handler": "^4.4|^5.0", + "symfony/event-dispatcher": "^5.0", + "symfony/http-client-contracts": "^1.1|^2", + "symfony/http-foundation": "^4.4|^5.0", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-php73": "^1.9", "symfony/polyfill-php80": "^1.16" }, "conflict": { - "symfony/browser-kit": "<5.4", + "symfony/browser-kit": "<4.4", "symfony/cache": "<5.0", "symfony/config": "<5.0", "symfony/console": "<4.4", - "symfony/dependency-injection": "<5.3", + "symfony/dependency-injection": "<5.1.8", "symfony/doctrine-bridge": "<5.0", "symfony/form": "<5.0", "symfony/http-client": "<5.0", @@ -10885,20 +10019,19 @@ }, "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", - "symfony/browser-kit": "^5.4|^6.0", - "symfony/config": "^5.0|^6.0", - "symfony/console": "^4.4|^5.0|^6.0", - "symfony/css-selector": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^5.3|^6.0", - "symfony/dom-crawler": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/http-client-contracts": "^1.1|^2|^3", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/routing": "^4.4|^5.0|^6.0", - "symfony/stopwatch": "^4.4|^5.0|^6.0", - "symfony/translation": "^4.4|^5.0|^6.0", - "symfony/translation-contracts": "^1.1|^2|^3", + "symfony/browser-kit": "^4.4|^5.0", + "symfony/config": "^5.0", + "symfony/console": "^4.4|^5.0", + "symfony/css-selector": "^4.4|^5.0", + "symfony/dependency-injection": "^5.1.8", + "symfony/dom-crawler": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "symfony/routing": "^4.4|^5.0", + "symfony/stopwatch": "^4.4|^5.0", + "symfony/translation": "^4.4|^5.0", + "symfony/translation-contracts": "^1.1|^2", "twig/twig": "^2.13|^3.0.4" }, "suggest": { @@ -10933,7 +10066,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.4.29" + "source": "https://github.com/symfony/http-kernel/tree/v5.2.14" }, "funding": [ { @@ -10949,27 +10082,27 @@ "type": "tidelift" } ], - "time": "2023-09-30T06:31:17+00:00" + "time": "2021-07-29T06:52:15+00:00" }, { "name": "symfony/inflector", - "version": "v5.4.21", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/inflector.git", - "reference": "d56964e2b19253ba331a829c20d911dd27aa61b6" + "reference": "b4a221138afa358f0833ec98de613108b6d25acf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/inflector/zipball/d56964e2b19253ba331a829c20d911dd27aa61b6", - "reference": "d56964e2b19253ba331a829c20d911dd27aa61b6", + "url": "https://api.github.com/repos/symfony/inflector/zipball/b4a221138afa358f0833ec98de613108b6d25acf", + "reference": "b4a221138afa358f0833ec98de613108b6d25acf", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-php80": "^1.16", - "symfony/string": "^5.3.10|^6.0" + "symfony/string": "^5.2.8" }, "type": "library", "autoload": { @@ -10996,106 +10129,16 @@ ], "description": "Converts words between their singular and plural forms (English only)", "homepage": "https://symfony.com", - "keywords": [ - "inflection", - "pluralize", - "singularize", - "string", - "symfony", - "words" - ], - "support": { - "source": "https://github.com/symfony/inflector/tree/v5.4.21" - }, - "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" - } - ], - "abandoned": "EnglishInflector from the String component", - "time": "2023-02-14T08:03:56+00:00" - }, - { - "name": "symfony/intl", - "version": "v5.4.26", - "source": { - "type": "git", - "url": "https://github.com/symfony/intl.git", - "reference": "c26c40b64ecdc056810e294ea67ac5b34182cd69" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/intl/zipball/c26c40b64ecdc056810e294ea67ac5b34182cd69", - "reference": "c26c40b64ecdc056810e294ea67ac5b34182cd69", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" - }, - "require-dev": { - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/var-exporter": "^5.4|^6.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\Intl\\": "" - }, - "classmap": [ - "Resources/stubs" - ], - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - }, - { - "name": "Eriksen Costa", - "email": "eriksen.costa@infranology.com.br" - }, - { - "name": "Igor Wiedler", - "email": "igor@wiedler.ch" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides a PHP replacement layer for the C intl extension that includes additional data from the ICU library", - "homepage": "https://symfony.com", - "keywords": [ - "i18n", - "icu", - "internationalization", - "intl", - "l10n", - "localization" + "keywords": [ + "inflection", + "pluralize", + "singularize", + "string", + "symfony", + "words" ], "support": { - "source": "https://github.com/symfony/intl/tree/v5.4.26" + "source": "https://github.com/symfony/inflector/tree/v5.2.12" }, "funding": [ { @@ -11111,40 +10154,43 @@ "type": "tidelift" } ], - "time": "2023-07-13T09:02:54+00:00" + "abandoned": "EnglishInflector from the String component", + "time": "2021-07-21T12:38:00+00:00" }, { - "name": "symfony/lock", - "version": "v5.4.25", + "name": "symfony/intl", + "version": "v5.4.26", "source": { "type": "git", - "url": "https://github.com/symfony/lock.git", - "reference": "ed4055b2e03c8893ce2d0042c8f0e0707be8e179" + "url": "https://github.com/symfony/intl.git", + "reference": "c26c40b64ecdc056810e294ea67ac5b34182cd69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/lock/zipball/ed4055b2e03c8893ce2d0042c8f0e0707be8e179", - "reference": "ed4055b2e03c8893ce2d0042c8f0e0707be8e179", + "url": "https://api.github.com/repos/symfony/intl/zipball/c26c40b64ecdc056810e294ea67ac5b34182cd69", + "reference": "c26c40b64ecdc056810e294ea67ac5b34182cd69", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/log": "^1|^2|^3", "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-php80": "^1.16" }, - "conflict": { - "doctrine/dbal": "<2.13" - }, "require-dev": { - "doctrine/dbal": "^2.13|^3.0", - "predis/predis": "~1.0" + "symfony/filesystem": "^4.4|^5.0|^6.0", + "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", "autoload": { + "files": [ + "Resources/functions.php" + ], "psr-4": { - "Symfony\\Component\\Lock\\": "" + "Symfony\\Component\\Intl\\": "" }, + "classmap": [ + "Resources/stubs" + ], "exclude-from-classmap": [ "/Tests/" ] @@ -11155,26 +10201,34 @@ ], "authors": [ { - "name": "Jérémy Derussé", - "email": "jeremy@derusse.com" + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + }, + { + "name": "Eriksen Costa", + "email": "eriksen.costa@infranology.com.br" + }, + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Creates and manages locks, a mechanism to provide exclusive access to a shared resource", + "description": "Provides a PHP replacement layer for the C intl extension that includes additional data from the ICU library", "homepage": "https://symfony.com", "keywords": [ - "cas", - "flock", - "locking", - "mutex", - "redlock", - "semaphore" + "i18n", + "icu", + "internationalization", + "intl", + "l10n", + "localization" ], "support": { - "source": "https://github.com/symfony/lock/tree/v5.4.25" + "source": "https://github.com/symfony/intl/tree/v5.4.26" }, "funding": [ { @@ -11190,39 +10244,44 @@ "type": "tidelift" } ], - "time": "2023-06-22T08:06:06+00:00" + "time": "2023-07-13T09:02:54+00:00" }, { "name": "symfony/mailer", - "version": "v5.4.22", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "6330cd465dfd8b7a07515757a1c37069075f7b0b" + "reference": "75ea7f9e54c1bc49b6d7e3d6b20422f85b7ea3e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/6330cd465dfd8b7a07515757a1c37069075f7b0b", - "reference": "6330cd465dfd8b7a07515757a1c37069075f7b0b", + "url": "https://api.github.com/repos/symfony/mailer/zipball/75ea7f9e54c1bc49b6d7e3d6b20422f85b7ea3e4", + "reference": "75ea7f9e54c1bc49b6d7e3d6b20422f85b7ea3e4", "shasum": "" }, "require": { - "egulias/email-validator": "^2.1.10|^3|^4", + "egulias/email-validator": "^2.1.10|^3", "php": ">=7.2.5", - "psr/event-dispatcher": "^1", "psr/log": "^1|^2|^3", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/mime": "^5.2.6|^6.0", + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/mime": "^5.2.6", "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2|^3" + "symfony/service-contracts": "^1.1|^2" }, "conflict": { "symfony/http-kernel": "<4.4" }, "require-dev": { - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/messenger": "^4.4|^5.0|^6.0" + "symfony/amazon-mailer": "^4.4|^5.0", + "symfony/google-mailer": "^4.4|^5.0", + "symfony/http-client-contracts": "^1.1|^2", + "symfony/mailchimp-mailer": "^4.4|^5.0", + "symfony/mailgun-mailer": "^4.4|^5.0", + "symfony/mailjet-mailer": "^4.4|^5.0", + "symfony/messenger": "^4.4|^5.0", + "symfony/postmark-mailer": "^4.4|^5.0", + "symfony/sendgrid-mailer": "^4.4|^5.0" }, "type": "library", "autoload": { @@ -11250,7 +10309,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v5.4.22" + "source": "https://github.com/symfony/mailer/tree/v5.2.12" }, "funding": [ { @@ -11266,30 +10325,30 @@ "type": "tidelift" } ], - "time": "2023-03-10T10:15:32+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/messenger", - "version": "v5.4.29", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/messenger.git", - "reference": "ce5165859adc36595578d684e77fc721fa53e387" + "reference": "a74654579bd227a846817ed59c42977194c43806" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/messenger/zipball/ce5165859adc36595578d684e77fc721fa53e387", - "reference": "ce5165859adc36595578d684e77fc721fa53e387", + "url": "https://api.github.com/repos/symfony/messenger/zipball/a74654579bd227a846817ed59c42977194c43806", + "reference": "a74654579bd227a846817ed59c42977194c43806", "shasum": "" }, "require": { "php": ">=7.2.5", "psr/log": "^1|^2|^3", - "symfony/amqp-messenger": "^5.1|^6.0", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/doctrine-messenger": "^5.1|^6.0", + "symfony/amqp-messenger": "^5.1", + "symfony/deprecation-contracts": "^2.1", + "symfony/doctrine-messenger": "^5.1", "symfony/polyfill-php80": "^1.16", - "symfony/redis-messenger": "^5.1|^6.0" + "symfony/redis-messenger": "^5.1" }, "conflict": { "symfony/event-dispatcher": "<4.4", @@ -11299,17 +10358,16 @@ }, "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", - "symfony/console": "^5.4|^6.0", - "symfony/dependency-injection": "^5.3|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/property-access": "^4.4|^5.0|^6.0", - "symfony/routing": "^4.4|^5.0|^6.0", - "symfony/serializer": "^5.0|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/stopwatch": "^4.4|^5.0|^6.0", - "symfony/validator": "^4.4|^5.0|^6.0" + "symfony/console": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/http-kernel": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "symfony/property-access": "^4.4|^5.0", + "symfony/serializer": "^5.0", + "symfony/service-contracts": "^1.1|^2", + "symfony/stopwatch": "^4.4|^5.0", + "symfony/validator": "^4.4|^5.0" }, "suggest": { "enqueue/messenger-adapter": "For using the php-enqueue library as a transport." @@ -11340,7 +10398,7 @@ "description": "Helps applications send and receive messages to/from other applications or via message queues", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/messenger/tree/v5.4.29" + "source": "https://github.com/symfony/messenger/tree/v5.2.12" }, "funding": [ { @@ -11356,25 +10414,25 @@ "type": "tidelift" } ], - "time": "2023-09-20T14:19:32+00:00" + "time": "2021-07-21T13:21:32+00:00" }, { "name": "symfony/mime", - "version": "v5.4.26", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "2ea06dfeee20000a319d8407cea1d47533d5a9d2" + "reference": "6ad63acd694b30e75fb2426b037e92859df73d6b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/2ea06dfeee20000a319d8407cea1d47533d5a9d2", - "reference": "2ea06dfeee20000a319d8407cea1d47533d5a9d2", + "url": "https://api.github.com/repos/symfony/mime/zipball/6ad63acd694b30e75fb2426b037e92859df73d6b", + "reference": "6ad63acd694b30e75fb2426b037e92859df73d6b", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0", "symfony/polyfill-php80": "^1.16" @@ -11383,16 +10441,15 @@ "egulias/email-validator": "~3.0.0", "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", - "symfony/mailer": "<4.4", - "symfony/serializer": "<5.4.26|>=6,<6.2.13|>=6.3,<6.3.2" + "symfony/mailer": "<4.4" }, "require-dev": { - "egulias/email-validator": "^2.1.10|^3.1|^4", + "egulias/email-validator": "^2.1.10|^3.1", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/property-access": "^4.4|^5.1|^6.0", - "symfony/property-info": "^4.4|^5.1|^6.0", - "symfony/serializer": "^5.4.26|~6.2.13|^6.3.2" + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/property-access": "^4.4|^5.1", + "symfony/property-info": "^4.4|^5.1", + "symfony/serializer": "^5.2" }, "type": "library", "autoload": { @@ -11424,7 +10481,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v5.4.26" + "source": "https://github.com/symfony/mime/tree/v5.2.12" }, "funding": [ { @@ -11440,42 +10497,41 @@ "type": "tidelift" } ], - "time": "2023-07-27T06:29:31+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/monolog-bridge", - "version": "v5.4.22", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/monolog-bridge.git", - "reference": "34be6f0695e4187dbb832a05905fb4c6581ac39a" + "reference": "2c3943d7c0100983f9c0a82807555273353e3539" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/monolog-bridge/zipball/34be6f0695e4187dbb832a05905fb4c6581ac39a", - "reference": "34be6f0695e4187dbb832a05905fb4c6581ac39a", + "url": "https://api.github.com/repos/symfony/monolog-bridge/zipball/2c3943d7c0100983f9c0a82807555273353e3539", + "reference": "2c3943d7c0100983f9c0a82807555273353e3539", "shasum": "" }, "require": { "monolog/monolog": "^1.25.1|^2", "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/http-kernel": "^5.3|^6.0", + "symfony/deprecation-contracts": "^2.1", + "symfony/http-kernel": "^4.4|^5.0", "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2|^3" + "symfony/service-contracts": "^1.1|^2" }, "conflict": { "symfony/console": "<4.4", - "symfony/http-foundation": "<5.3" + "symfony/http-foundation": "<4.4" }, "require-dev": { - "symfony/console": "^4.4|^5.0|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/mailer": "^4.4|^5.0|^6.0", - "symfony/messenger": "^4.4|^5.0|^6.0", - "symfony/mime": "^4.4|^5.0|^6.0", - "symfony/security-core": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "symfony/console": "^4.4|^5.0", + "symfony/http-client": "^4.4|^5.0", + "symfony/mailer": "^4.4|^5.0", + "symfony/mime": "^4.4|^5.0", + "symfony/security-core": "^4.4|^5.0", + "symfony/var-dumper": "^4.4|^5.0" }, "suggest": { "symfony/console": "For the possibility to show log messages in console commands depending on verbosity settings.", @@ -11508,7 +10564,7 @@ "description": "Provides integration for Monolog with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/monolog-bridge/tree/v5.4.22" + "source": "https://github.com/symfony/monolog-bridge/tree/v5.2.12" }, "funding": [ { @@ -11524,7 +10580,7 @@ "type": "tidelift" } ], - "time": "2023-03-06T21:29:33+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/monolog-bundle", @@ -11609,21 +10665,21 @@ }, { "name": "symfony/options-resolver", - "version": "v5.4.21", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9" + "reference": "1935d2e5329aba28cbb9ef6cc5687d007619d96d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9", - "reference": "4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/1935d2e5329aba28cbb9ef6cc5687d007619d96d", + "reference": "1935d2e5329aba28cbb9ef6cc5687d007619d96d", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-php73": "~1.0", "symfony/polyfill-php80": "^1.16" }, @@ -11658,81 +10714,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v5.4.21" - }, - "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": "2023-02-14T08:03:56+00:00" - }, - { - "name": "symfony/password-hasher", - "version": "v5.4.29", - "source": { - "type": "git", - "url": "https://github.com/symfony/password-hasher.git", - "reference": "57cd0369af1a92b87c1e960251ebdf9457225bfd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/password-hasher/zipball/57cd0369af1a92b87c1e960251ebdf9457225bfd", - "reference": "57cd0369af1a92b87c1e960251ebdf9457225bfd", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.15" - }, - "conflict": { - "symfony/security-core": "<5.3" - }, - "require-dev": { - "symfony/console": "^5.3|^6.0", - "symfony/security-core": "^5.3|^6.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\PasswordHasher\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Robin Chalas", - "email": "robin.chalas@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides password hashing utilities", - "homepage": "https://symfony.com", - "keywords": [ - "hashing", - "password" - ], - "support": { - "source": "https://github.com/symfony/password-hasher/tree/v5.4.29" + "source": "https://github.com/symfony/options-resolver/tree/v5.2.12" }, "funding": [ { @@ -11748,7 +10730,7 @@ "type": "tidelift" } ], - "time": "2023-09-19T07:33:45+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/polyfill-ctype", @@ -12313,16 +11295,16 @@ }, { "name": "symfony/polyfill-php73", - "version": "v1.28.0", + "version": "v1.22.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", "shasum": "" }, "require": { @@ -12331,7 +11313,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.28-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -12372,7 +11354,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1" }, "funding": [ { @@ -12388,20 +11370,20 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.23.1", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be" + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547be", - "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", "shasum": "" }, "require": { @@ -12410,7 +11392,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -12455,7 +11437,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.1" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" }, "funding": [ { @@ -12471,20 +11453,20 @@ "type": "tidelift" } ], - "time": "2021-07-28T13:41:28+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.23.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "e66119f3de95efc359483f810c4c3e6436279436" + "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/e66119f3de95efc359483f810c4c3e6436279436", - "reference": "e66119f3de95efc359483f810c4c3e6436279436", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b", + "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b", "shasum": "" }, "require": { @@ -12493,7 +11475,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -12534,7 +11516,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.28.0" }, "funding": [ { @@ -12550,20 +11532,20 @@ "type": "tidelift" } ], - "time": "2021-05-21T13:25:03+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/process", - "version": "v5.4.28", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b" + "reference": "d16634ee55b895bd85ec714dadc58e4428ecf030" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b", - "reference": "45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b", + "url": "https://api.github.com/repos/symfony/process/zipball/d16634ee55b895bd85ec714dadc58e4428ecf030", + "reference": "d16634ee55b895bd85ec714dadc58e4428ecf030", "shasum": "" }, "require": { @@ -12596,7 +11578,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.28" + "source": "https://github.com/symfony/process/tree/v5.2.12" }, "funding": [ { @@ -12612,30 +11594,30 @@ "type": "tidelift" } ], - "time": "2023-08-07T10:36:04+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/property-access", - "version": "v5.4.26", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", - "reference": "0249e46f69e92049a488f39fcf531cb42c50caaa" + "reference": "82c6db3e4066ebc1993c377ae71090d0c8f0552c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-access/zipball/0249e46f69e92049a488f39fcf531cb42c50caaa", - "reference": "0249e46f69e92049a488f39fcf531cb42c50caaa", + "url": "https://api.github.com/repos/symfony/property-access/zipball/82c6db3e4066ebc1993c377ae71090d0c8f0552c", + "reference": "82c6db3e4066ebc1993c377ae71090d0c8f0552c", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-php80": "^1.16", - "symfony/property-info": "^5.2|^6.0" + "symfony/property-info": "^5.2" }, "require-dev": { - "symfony/cache": "^4.4|^5.0|^6.0" + "symfony/cache": "^4.4|^5.0" }, "suggest": { "psr/cache-implementation": "To cache access methods." @@ -12673,11 +11655,11 @@ "injection", "object", "property", - "property-path", + "property path", "reflection" ], "support": { - "source": "https://github.com/symfony/property-access/tree/v5.4.26" + "source": "https://github.com/symfony/property-access/tree/v5.2.12" }, "funding": [ { @@ -12693,27 +11675,27 @@ "type": "tidelift" } ], - "time": "2023-07-13T15:20:41+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/property-info", - "version": "v5.4.24", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", - "reference": "d43b85b00699b4484964c297575b5c6f9dc5f6e1" + "reference": "f9dd1886f47db8ea494d97a4b8bfa494094f53f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-info/zipball/d43b85b00699b4484964c297575b5c6f9dc5f6e1", - "reference": "d43b85b00699b4484964c297575b5c6f9dc5f6e1", + "url": "https://api.github.com/repos/symfony/property-info/zipball/f9dd1886f47db8ea494d97a4b8bfa494094f53f1", + "reference": "f9dd1886f47db8ea494d97a4b8bfa494094f53f1", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-php80": "^1.16", - "symfony/string": "^5.1|^6.0" + "symfony/string": "^5.1" }, "conflict": { "phpdocumentor/reflection-docblock": "<3.2.2", @@ -12721,12 +11703,11 @@ "symfony/dependency-injection": "<4.4" }, "require-dev": { - "doctrine/annotations": "^1.10.4|^2", + "doctrine/annotations": "^1.10.4", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "phpstan/phpdoc-parser": "^1.0", - "symfony/cache": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/serializer": "^4.4|^5.0|^6.0" + "symfony/cache": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/serializer": "^4.4|^5.0" }, "suggest": { "phpdocumentor/reflection-docblock": "To use the PHPDoc", @@ -12768,7 +11749,7 @@ "validator" ], "support": { - "source": "https://github.com/symfony/property-info/tree/v5.4.24" + "source": "https://github.com/symfony/property-info/tree/v5.2.12" }, "funding": [ { @@ -12784,30 +11765,31 @@ "type": "tidelift" } ], - "time": "2023-05-15T20:11:03+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/proxy-manager-bridge", - "version": "v5.4.21", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/proxy-manager-bridge.git", - "reference": "a4cf96f3acfa252503a216bea877478f9621c7c0" + "reference": "76e61f33f6a34a340bf6e02211214f466e8e1dba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/proxy-manager-bridge/zipball/a4cf96f3acfa252503a216bea877478f9621c7c0", - "reference": "a4cf96f3acfa252503a216bea877478f9621c7c0", + "url": "https://api.github.com/repos/symfony/proxy-manager-bridge/zipball/76e61f33f6a34a340bf6e02211214f466e8e1dba", + "reference": "76e61f33f6a34a340bf6e02211214f466e8e1dba", "shasum": "" }, "require": { + "composer/package-versions-deprecated": "^1.8", "friendsofphp/proxy-manager-lts": "^1.0.2", "php": ">=7.2.5", - "symfony/dependency-injection": "^5.0|^6.0", + "symfony/dependency-injection": "^5.0", "symfony/polyfill-php80": "^1.16" }, "require-dev": { - "symfony/config": "^4.4|^5.0|^6.0" + "symfony/config": "^4.4|^5.0" }, "type": "symfony-bridge", "autoload": { @@ -12835,7 +11817,7 @@ "description": "Provides integration for ProxyManager with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/proxy-manager-bridge/tree/v5.4.21" + "source": "https://github.com/symfony/proxy-manager-bridge/tree/v5.2.12" }, "funding": [ { @@ -12851,7 +11833,7 @@ "type": "tidelift" } ], - "time": "2023-02-16T09:33:00+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/psr-http-message-bridge", @@ -12941,76 +11923,6 @@ ], "time": "2021-02-17T10:35:25+00:00" }, - { - "name": "symfony/rate-limiter", - "version": "v5.4.26", - "source": { - "type": "git", - "url": "https://github.com/symfony/rate-limiter.git", - "reference": "189c8aa18be55c734d56d8ea8b0d1862e9a0e493" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/rate-limiter/zipball/189c8aa18be55c734d56d8ea8b0d1862e9a0e493", - "reference": "189c8aa18be55c734d56d8ea8b0d1862e9a0e493", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/lock": "^5.2|^6.0", - "symfony/options-resolver": "^5.1|^6.0" - }, - "require-dev": { - "psr/cache": "^1.0|^2.0|^3.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\RateLimiter\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Wouter de Jong", - "email": "wouter@wouterj.nl" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides a Token Bucket implementation to rate limit input and output in your application", - "homepage": "https://symfony.com", - "keywords": [ - "limiter", - "rate-limiter" - ], - "support": { - "source": "https://github.com/symfony/rate-limiter/tree/v5.4.26" - }, - "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": "2023-07-10T11:10:11+00:00" - }, { "name": "symfony/redis-messenger", "version": "v5.4.26", @@ -13080,37 +11992,36 @@ }, { "name": "symfony/routing", - "version": "v5.4.26", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "853fc7df96befc468692de0a48831b38f04d2cb2" + "reference": "983a19067308962592755f57d97ca1d1f1edd37b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/853fc7df96befc468692de0a48831b38f04d2cb2", - "reference": "853fc7df96befc468692de0a48831b38f04d2cb2", + "url": "https://api.github.com/repos/symfony/routing/zipball/983a19067308962592755f57d97ca1d1f1edd37b", + "reference": "983a19067308962592755f57d97ca1d1f1edd37b", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-php80": "^1.16" }, "conflict": { - "doctrine/annotations": "<1.12", - "symfony/config": "<5.3", + "symfony/config": "<5.0", "symfony/dependency-injection": "<4.4", "symfony/yaml": "<4.4" }, "require-dev": { - "doctrine/annotations": "^1.12|^2", + "doctrine/annotations": "^1.10.4", "psr/log": "^1|^2|^3", - "symfony/config": "^5.3|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0" + "symfony/config": "^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/yaml": "^4.4|^5.0" }, "suggest": { "symfony/config": "For using the all-in-one router or any loader", @@ -13150,7 +12061,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v5.4.26" + "source": "https://github.com/symfony/routing/tree/v5.2.12" }, "funding": [ { @@ -13166,48 +12077,44 @@ "type": "tidelift" } ], - "time": "2023-07-24T13:28:37+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/security-core", - "version": "v5.4.29", + "version": "v5.2.14", "source": { "type": "git", "url": "https://github.com/symfony/security-core.git", - "reference": "f8421bb428f48655d2b327d4bf58870983eef84a" + "reference": "4ce2b1e532fb3bb591ad4efa8cc43afc9242a247" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-core/zipball/f8421bb428f48655d2b327d4bf58870983eef84a", - "reference": "f8421bb428f48655d2b327d4bf58870983eef84a", + "url": "https://api.github.com/repos/symfony/security-core/zipball/4ce2b1e532fb3bb591ad4efa8cc43afc9242a247", + "reference": "4ce2b1e532fb3bb591ad4efa8cc43afc9242a247", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/event-dispatcher-contracts": "^1.1|^2|^3", - "symfony/password-hasher": "^5.3|^6.0", + "symfony/deprecation-contracts": "^2.1", + "symfony/event-dispatcher-contracts": "^1.1|^2", "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1.6|^2|^3" + "symfony/service-contracts": "^1.1.6|^2" }, "conflict": { "symfony/event-dispatcher": "<4.4", - "symfony/http-foundation": "<5.3", "symfony/ldap": "<4.4", "symfony/security-guard": "<4.4", "symfony/validator": "<5.2" }, "require-dev": { - "psr/cache": "^1.0|^2.0|^3.0", "psr/container": "^1.0|^2.0", "psr/log": "^1|^2|^3", - "symfony/cache": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^5.3|^6.0", - "symfony/ldap": "^4.4|^5.0|^6.0", - "symfony/translation": "^4.4|^5.0|^6.0", - "symfony/validator": "^5.2|^6.0" + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/ldap": "^4.4|^5.0", + "symfony/translation": "^4.4|^5.0", + "symfony/validator": "^5.2" }, "suggest": { "psr/container-implementation": "To instantiate the Security class", @@ -13243,7 +12150,7 @@ "description": "Symfony Security Component - Core Library", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-core/tree/v5.4.29" + "source": "https://github.com/symfony/security-core/tree/v5.2.14" }, "funding": [ { @@ -13259,33 +12166,32 @@ "type": "tidelift" } ], - "time": "2023-09-10T17:22:50+00:00" + "time": "2021-07-29T06:36:20+00:00" }, { "name": "symfony/security-csrf", - "version": "v5.4.27", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/security-csrf.git", - "reference": "995fcfcc5a3be09df157b4960668f61cceb86611" + "reference": "f0af6689451582e55f6b3439362e72e536e916e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-csrf/zipball/995fcfcc5a3be09df157b4960668f61cceb86611", - "reference": "995fcfcc5a3be09df157b4960668f61cceb86611", + "url": "https://api.github.com/repos/symfony/security-csrf/zipball/f0af6689451582e55f6b3439362e72e536e916e4", + "reference": "f0af6689451582e55f6b3439362e72e536e916e4", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-php80": "^1.16", - "symfony/security-core": "^4.4|^5.0|^6.0" + "symfony/security-core": "^4.4|^5.0" }, "conflict": { - "symfony/http-foundation": "<5.3" + "symfony/http-foundation": "<4.4" }, "require-dev": { - "symfony/http-foundation": "^5.3|^6.0" + "symfony/http-foundation": "^4.4|^5.0" }, "suggest": { "symfony/http-foundation": "For using the class SessionTokenStorage." @@ -13316,7 +12222,7 @@ "description": "Symfony Security Component - CSRF Library", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-csrf/tree/v5.4.27" + "source": "https://github.com/symfony/security-csrf/tree/v5.2.12" }, "funding": [ { @@ -13332,57 +12238,53 @@ "type": "tidelift" } ], - "time": "2023-07-28T14:44:35+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/serializer", - "version": "v5.4.29", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "b893175000155839170d589f3a3593f2ce601829" + "reference": "3c3afcc285c01c486d1c5504e7895026580495c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/b893175000155839170d589f3a3593f2ce601829", - "reference": "b893175000155839170d589f3a3593f2ce601829", + "url": "https://api.github.com/repos/symfony/serializer/zipball/3c3afcc285c01c486d1c5504e7895026580495c4", + "reference": "3c3afcc285c01c486d1c5504e7895026580495c4", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-php80": "^1.16" }, "conflict": { - "doctrine/annotations": "<1.12", "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", "symfony/dependency-injection": "<4.4", - "symfony/property-access": "<5.4", - "symfony/property-info": "<5.4.24|>=6,<6.2.11", - "symfony/uid": "<5.3", + "symfony/property-access": "<4.4", + "symfony/property-info": "<4.4", "symfony/yaml": "<4.4" }, "require-dev": { - "doctrine/annotations": "^1.12|^2", + "doctrine/annotations": "^1.10.4", "phpdocumentor/reflection-docblock": "^3.2|^4.0|^5.0", - "symfony/cache": "^4.4|^5.0|^6.0", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/form": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0", - "symfony/mime": "^4.4|^5.0|^6.0", - "symfony/property-access": "^5.4|^6.0", - "symfony/property-info": "^5.4.24|^6.2.11", - "symfony/uid": "^5.3|^6.0", - "symfony/validator": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0", - "symfony/var-exporter": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0" + "symfony/cache": "^4.4|^5.0", + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/error-handler": "^4.4|^5.0", + "symfony/filesystem": "^4.4|^5.0", + "symfony/form": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/http-kernel": "^4.4|^5.0", + "symfony/mime": "^4.4|^5.0", + "symfony/property-access": "^4.4.9|^5.0.9", + "symfony/property-info": "^4.4|^5.0", + "symfony/uid": "^5.1", + "symfony/validator": "^4.4|^5.0", + "symfony/var-exporter": "^4.4|^5.0", + "symfony/yaml": "^4.4|^5.0" }, "suggest": { "psr/cache-implementation": "For using the metadata cache.", @@ -13419,7 +12321,7 @@ "description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/serializer/tree/v5.4.29" + "source": "https://github.com/symfony/serializer/tree/v5.2.12" }, "funding": [ { @@ -13435,7 +12337,7 @@ "type": "tidelift" } ], - "time": "2023-09-20T07:40:46+00:00" + "time": "2021-07-21T13:17:02+00:00" }, { "name": "symfony/service-contracts", @@ -13666,28 +12568,26 @@ }, { "name": "symfony/translation", - "version": "v5.4.24", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "de237e59c5833422342be67402d487fbf50334ff" + "reference": "7b4ef368b25bbb758a7bd5fe20349433e84220ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/de237e59c5833422342be67402d487fbf50334ff", - "reference": "de237e59c5833422342be67402d487fbf50334ff", + "url": "https://api.github.com/repos/symfony/translation/zipball/7b4ef368b25bbb758a7bd5fe20349433e84220ed", + "reference": "7b4ef368b25bbb758a7bd5fe20349433e84220ed", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "^1.16", "symfony/translation-contracts": "^2.3" }, "conflict": { "symfony/config": "<4.4", - "symfony/console": "<5.3", "symfony/dependency-injection": "<5.0", "symfony/http-kernel": "<5.0", "symfony/twig-bundle": "<5.0", @@ -13698,16 +12598,14 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/console": "^5.4|^6.0", - "symfony/dependency-injection": "^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/http-client-contracts": "^1.1|^2.0|^3.0", - "symfony/http-kernel": "^5.0|^6.0", - "symfony/intl": "^4.4|^5.0|^6.0", - "symfony/polyfill-intl-icu": "^1.21", - "symfony/service-contracts": "^1.1.2|^2|^3", - "symfony/yaml": "^4.4|^5.0|^6.0" + "symfony/config": "^4.4|^5.0", + "symfony/console": "^4.4|^5.0", + "symfony/dependency-injection": "^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/http-kernel": "^5.0", + "symfony/intl": "^4.4|^5.0", + "symfony/service-contracts": "^1.1.2|^2", + "symfony/yaml": "^4.4|^5.0" }, "suggest": { "psr/log-implementation": "To use logging capability in translator", @@ -13743,7 +12641,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v5.4.24" + "source": "https://github.com/symfony/translation/tree/v5.2.12" }, "funding": [ { @@ -13759,7 +12657,7 @@ "type": "tidelift" } ], - "time": "2023-05-19T12:34:17+00:00" + "time": "2021-07-21T13:17:02+00:00" }, { "name": "symfony/translation-contracts", @@ -13841,61 +12739,60 @@ }, { "name": "symfony/twig-bridge", - "version": "v5.4.29", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/twig-bridge.git", - "reference": "8e94856da373b63e7ba69e51a6c4f834d991cd58" + "reference": "243a7c6416fea3b91391f09831d8d04b2e42c0b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/8e94856da373b63e7ba69e51a6c4f834d991cd58", - "reference": "8e94856da373b63e7ba69e51a6c4f834d991cd58", + "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/243a7c6416fea3b91391f09831d8d04b2e42c0b1", + "reference": "243a7c6416fea3b91391f09831d8d04b2e42c0b1", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/polyfill-php80": "^1.16", - "symfony/translation-contracts": "^1.1|^2|^3", + "symfony/translation-contracts": "^1.1|^2", "twig/twig": "^2.13|^3.0.4" }, "conflict": { "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", - "symfony/console": "<5.3", - "symfony/form": "<5.4.21|>=6,<6.2.7", - "symfony/http-foundation": "<5.3", + "symfony/console": "<4.4", + "symfony/form": "<5.1", + "symfony/http-foundation": "<4.4", "symfony/http-kernel": "<4.4", "symfony/translation": "<5.2", "symfony/workflow": "<5.2" }, "require-dev": { - "doctrine/annotations": "^1.12|^2", - "egulias/email-validator": "^2.1.10|^3|^4", + "egulias/email-validator": "^2.1.10|^3", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/asset": "^4.4|^5.0|^6.0", - "symfony/console": "^5.3|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/form": "^5.4.21|^6.2.7", - "symfony/http-foundation": "^5.3|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0", - "symfony/intl": "^4.4|^5.0|^6.0", - "symfony/mime": "^5.2|^6.0", + "symfony/asset": "^4.4|^5.0", + "symfony/console": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/form": "^5.1.9", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/http-kernel": "^4.4|^5.0", + "symfony/intl": "^4.4|^5.0", + "symfony/mime": "^5.2", "symfony/polyfill-intl-icu": "~1.0", - "symfony/property-info": "^4.4|^5.1|^6.0", - "symfony/routing": "^4.4|^5.0|^6.0", + "symfony/property-info": "^4.4|^5.1", + "symfony/routing": "^4.4|^5.0", "symfony/security-acl": "^2.8|^3.0", - "symfony/security-core": "^4.4|^5.0|^6.0", - "symfony/security-csrf": "^4.4|^5.0|^6.0", - "symfony/security-http": "^4.4|^5.0|^6.0", - "symfony/serializer": "^5.2|^6.0", - "symfony/stopwatch": "^4.4|^5.0|^6.0", - "symfony/translation": "^5.2|^6.0", - "symfony/web-link": "^4.4|^5.0|^6.0", - "symfony/workflow": "^5.2|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0", + "symfony/security-core": "^4.4|^5.0", + "symfony/security-csrf": "^4.4|^5.0", + "symfony/security-http": "^4.4|^5.0", + "symfony/serializer": "^5.2", + "symfony/stopwatch": "^4.4|^5.0", + "symfony/translation": "^5.2", + "symfony/web-link": "^4.4|^5.0", + "symfony/workflow": "^5.2", + "symfony/yaml": "^4.4|^5.0", "twig/cssinliner-extra": "^2.12|^3", "twig/inky-extra": "^2.12|^3", "twig/markdown-extra": "^2.12|^3" @@ -13942,7 +12839,7 @@ "description": "Provides integration for Twig with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/twig-bridge/tree/v5.4.29" + "source": "https://github.com/symfony/twig-bridge/tree/v5.2.12" }, "funding": [ { @@ -13958,53 +12855,51 @@ "type": "tidelift" } ], - "time": "2023-09-06T21:54:06+00:00" + "time": "2021-07-26T16:33:12+00:00" }, { "name": "symfony/twig-bundle", - "version": "v5.4.27", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/twig-bundle.git", - "reference": "a16996ad54d75e220e91a0c7517437ad592eccca" + "reference": "6f2aa369c4b7da19b3c864c48e35b26451c92e4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/twig-bundle/zipball/a16996ad54d75e220e91a0c7517437ad592eccca", - "reference": "a16996ad54d75e220e91a0c7517437ad592eccca", + "url": "https://api.github.com/repos/symfony/twig-bundle/zipball/6f2aa369c4b7da19b3c864c48e35b26451c92e4e", + "reference": "6f2aa369c4b7da19b3c864c48e35b26451c92e4e", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/http-foundation": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^5.0|^6.0", + "symfony/config": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/http-kernel": "^5.0", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-php80": "^1.16", - "symfony/twig-bridge": "^5.3|^6.0", + "symfony/twig-bridge": "^5.0", "twig/twig": "^2.13|^3.0.4" }, "conflict": { - "symfony/dependency-injection": "<5.3", + "symfony/dependency-injection": "<5.2", "symfony/framework-bundle": "<5.0", - "symfony/service-contracts": ">=3.0", "symfony/translation": "<5.0" }, "require-dev": { - "doctrine/annotations": "^1.10.4|^2", + "doctrine/annotations": "^1.10.4", "doctrine/cache": "^1.0|^2.0", - "symfony/asset": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^5.3|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/form": "^4.4|^5.0|^6.0", - "symfony/framework-bundle": "^5.0|^6.0", - "symfony/routing": "^4.4|^5.0|^6.0", - "symfony/stopwatch": "^4.4|^5.0|^6.0", - "symfony/translation": "^5.0|^6.0", - "symfony/web-link": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0" + "symfony/asset": "^4.4|^5.0", + "symfony/dependency-injection": "^5.2", + "symfony/expression-language": "^4.4|^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/form": "^4.4|^5.0", + "symfony/framework-bundle": "^5.0", + "symfony/routing": "^4.4|^5.0", + "symfony/stopwatch": "^4.4|^5.0", + "symfony/translation": "^5.0", + "symfony/web-link": "^4.4|^5.0", + "symfony/yaml": "^4.4|^5.0" }, "type": "symfony-bundle", "autoload": { @@ -14032,7 +12927,7 @@ "description": "Provides a tight integration of Twig into the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/twig-bundle/tree/v5.4.27" + "source": "https://github.com/symfony/twig-bundle/tree/v5.2.12" }, "funding": [ { @@ -14048,63 +12943,60 @@ "type": "tidelift" } ], - "time": "2023-07-28T14:44:35+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/validator", - "version": "v5.4.29", + "version": "v5.2.14", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "287ef8c80d1c23d5d1db8c3e26a8ad56680d535b" + "reference": "a46ac85624ad3418d455bb8f4ce452014c28518c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/287ef8c80d1c23d5d1db8c3e26a8ad56680d535b", - "reference": "287ef8c80d1c23d5d1db8c3e26a8ad56680d535b", + "url": "https://api.github.com/repos/symfony/validator/zipball/a46ac85624ad3418d455bb8f4ce452014c28518c", + "reference": "a46ac85624ad3418d455bb8f4ce452014c28518c", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php73": "~1.0", "symfony/polyfill-php80": "^1.16", - "symfony/polyfill-php81": "^1.22", - "symfony/translation-contracts": "^1.1|^2|^3" + "symfony/translation-contracts": "^1.1|^2" }, "conflict": { - "doctrine/annotations": "<1.13", - "doctrine/cache": "<1.11", - "doctrine/lexer": "<1.1", + "doctrine/lexer": "<1.0.2", + "phpunit/phpunit": "<5.4.3", "symfony/dependency-injection": "<4.4", "symfony/expression-language": "<5.1", "symfony/http-kernel": "<4.4", "symfony/intl": "<4.4", - "symfony/property-info": "<5.3", "symfony/translation": "<4.4", "symfony/yaml": "<4.4" }, "require-dev": { - "doctrine/annotations": "^1.13|^2", - "doctrine/cache": "^1.11|^2.0", - "egulias/email-validator": "^2.1.10|^3|^4", - "symfony/cache": "^4.4|^5.0|^6.0", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/console": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^5.1|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0", - "symfony/intl": "^4.4|^5.0|^6.0", - "symfony/mime": "^4.4|^5.0|^6.0", - "symfony/property-access": "^4.4|^5.0|^6.0", - "symfony/property-info": "^5.3|^6.0", - "symfony/translation": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0" + "doctrine/annotations": "^1.10.4", + "doctrine/cache": "^1.0|^2.0", + "egulias/email-validator": "^2.1.10|^3", + "symfony/cache": "^4.4|^5.0", + "symfony/config": "^4.4|^5.0", + "symfony/console": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/expression-language": "^5.1", + "symfony/finder": "^4.4|^5.0", + "symfony/http-client": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/http-kernel": "^4.4|^5.0", + "symfony/intl": "^4.4|^5.0", + "symfony/mime": "^4.4|^5.0", + "symfony/property-access": "^4.4|^5.0", + "symfony/property-info": "^4.4|^5.0", + "symfony/translation": "^4.4|^5.0", + "symfony/yaml": "^4.4|^5.0" }, "suggest": { "egulias/email-validator": "Strict (RFC compliant) email validation", @@ -14144,7 +13036,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v5.4.29" + "source": "https://github.com/symfony/validator/tree/v5.2.14" }, "funding": [ { @@ -14160,7 +13052,7 @@ "type": "tidelift" } ], - "time": "2023-09-10T17:22:50+00:00" + "time": "2021-07-29T06:36:20+00:00" }, { "name": "symfony/var-dumper", @@ -14253,16 +13145,16 @@ }, { "name": "symfony/var-exporter", - "version": "v5.4.26", + "version": "v5.2.12", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "11401fe94f960249b3c63a488c63ba73091c1e4a" + "reference": "b7898a65fc91e7c41de7a88c7db9aee9c0d432f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/11401fe94f960249b3c63a488c63ba73091c1e4a", - "reference": "11401fe94f960249b3c63a488c63ba73091c1e4a", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/b7898a65fc91e7c41de7a88c7db9aee9c0d432f0", + "reference": "b7898a65fc91e7c41de7a88c7db9aee9c0d432f0", "shasum": "" }, "require": { @@ -14270,7 +13162,7 @@ "symfony/polyfill-php80": "^1.16" }, "require-dev": { - "symfony/var-dumper": "^4.4.9|^5.0.9|^6.0" + "symfony/var-dumper": "^4.4.9|^5.0.9" }, "type": "library", "autoload": { @@ -14306,7 +13198,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v5.4.26" + "source": "https://github.com/symfony/var-exporter/tree/v5.2.12" }, "funding": [ { @@ -14322,32 +13214,32 @@ "type": "tidelift" } ], - "time": "2023-07-20T07:21:16+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/yaml", - "version": "v5.4.23", + "version": "v5.2.14", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "4cd2e3ea301aadd76a4172756296fe552fb45b0b" + "reference": "ffe9c92e1a6c77c3ad5fc3a2ac16f0b8549dae10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/4cd2e3ea301aadd76a4172756296fe552fb45b0b", - "reference": "4cd2e3ea301aadd76a4172756296fe552fb45b0b", + "url": "https://api.github.com/repos/symfony/yaml/zipball/ffe9c92e1a6c77c3ad5fc3a2ac16f0b8549dae10", + "reference": "ffe9c92e1a6c77c3ad5fc3a2ac16f0b8549dae10", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-ctype": "^1.8" + "symfony/deprecation-contracts": "^2.1", + "symfony/polyfill-ctype": "~1.8" }, "conflict": { - "symfony/console": "<5.3" + "symfony/console": "<4.4" }, "require-dev": { - "symfony/console": "^5.3|^6.0" + "symfony/console": "^4.4|^5.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -14381,7 +13273,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.23" + "source": "https://github.com/symfony/yaml/tree/v5.2.14" }, "funding": [ { @@ -14397,79 +13289,7 @@ "type": "tidelift" } ], - "time": "2023-04-23T19:33:36+00:00" - }, - { - "name": "tecnickcom/tcpdf", - "version": "6.4.4", - "source": { - "type": "git", - "url": "https://github.com/tecnickcom/TCPDF.git", - "reference": "42cd0f9786af7e5db4fcedaa66f717b0d0032320" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/42cd0f9786af7e5db4fcedaa66f717b0d0032320", - "reference": "42cd0f9786af7e5db4fcedaa66f717b0d0032320", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "config", - "include", - "tcpdf.php", - "tcpdf_parser.php", - "tcpdf_import.php", - "tcpdf_barcodes_1d.php", - "tcpdf_barcodes_2d.php", - "include/tcpdf_colors.php", - "include/tcpdf_filters.php", - "include/tcpdf_font_data.php", - "include/tcpdf_fonts.php", - "include/tcpdf_images.php", - "include/tcpdf_static.php", - "include/barcodes/datamatrix.php", - "include/barcodes/pdf417.php", - "include/barcodes/qrcode.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-only" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" - } - ], - "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", - "homepage": "http://www.tcpdf.org/", - "keywords": [ - "PDFD32000-2008", - "TCPDF", - "barcodes", - "datamatrix", - "pdf", - "pdf417", - "qrcode" - ], - "support": { - "issues": "https://github.com/tecnickcom/TCPDF/issues", - "source": "https://github.com/tecnickcom/TCPDF/tree/6.4.4" - }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20tcpdf%20project", - "type": "custom" - } - ], - "time": "2021-12-31T08:39:24+00:00" + "time": "2021-07-29T06:18:06+00:00" }, { "name": "thecodingmachine/safe", @@ -14713,25 +13533,25 @@ }, { "name": "twig/intl-extra", - "version": "v3.3.5", + "version": "v3.3.0", "source": { "type": "git", "url": "https://github.com/twigphp/intl-extra.git", - "reference": "8dca6f4c5a00cdd3c43b6bd080f50d32aca33a84" + "reference": "919e8f945c30bd3efeb6a4d79722cda538116658" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/intl-extra/zipball/8dca6f4c5a00cdd3c43b6bd080f50d32aca33a84", - "reference": "8dca6f4c5a00cdd3c43b6bd080f50d32aca33a84", + "url": "https://api.github.com/repos/twigphp/intl-extra/zipball/919e8f945c30bd3efeb6a4d79722cda538116658", + "reference": "919e8f945c30bd3efeb6a4d79722cda538116658", "shasum": "" }, "require": { "php": ">=7.1.3", - "symfony/intl": "^4.4|^5.0|^6.0", - "twig/twig": "^2.7|^3.0" + "symfony/intl": "^4.3|^5.0", + "twig/twig": "^2.4|^3.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0" + "symfony/phpunit-bridge": "^4.4.9|^5.0.9" }, "type": "library", "extra": { @@ -14766,7 +13586,7 @@ "twig" ], "support": { - "source": "https://github.com/twigphp/intl-extra/tree/v3.3.5" + "source": "https://github.com/twigphp/intl-extra/tree/v3.3.0" }, "funding": [ { @@ -14778,30 +13598,30 @@ "type": "tidelift" } ], - "time": "2022-01-02T10:02:25+00:00" + "time": "2021-01-01T14:58:18+00:00" }, { "name": "twig/string-extra", - "version": "v3.3.5", + "version": "v3.3.0", "source": { "type": "git", "url": "https://github.com/twigphp/string-extra.git", - "reference": "03608ae2e9c270a961e8cf1b75751e8635ad3e3c" + "reference": "8a8bb5631e8e27573fae741211b9c752b9b0b428" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/string-extra/zipball/03608ae2e9c270a961e8cf1b75751e8635ad3e3c", - "reference": "03608ae2e9c270a961e8cf1b75751e8635ad3e3c", + "url": "https://api.github.com/repos/twigphp/string-extra/zipball/8a8bb5631e8e27573fae741211b9c752b9b0b428", + "reference": "8a8bb5631e8e27573fae741211b9c752b9b0b428", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/string": "^5.0|^6.0", - "symfony/translation-contracts": "^1.1|^2|^3", - "twig/twig": "^2.7|^3.0" + "symfony/string": "^5.0", + "symfony/translation-contracts": "^1.1|^2", + "twig/twig": "^2.4|^3.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0" + "symfony/phpunit-bridge": "^4.4.9|^5.0.9" }, "type": "library", "extra": { @@ -14838,7 +13658,7 @@ "unicode" ], "support": { - "source": "https://github.com/twigphp/string-extra/tree/v3.3.5" + "source": "https://github.com/twigphp/string-extra/tree/v3.3.0" }, "funding": [ { @@ -14850,20 +13670,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T10:02:25+00:00" + "time": "2021-01-29T14:39:43+00:00" }, { "name": "twig/twig", - "version": "v3.4.3", + "version": "v3.3.0", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "c38fd6b0b7f370c198db91ffd02e23b517426b58" + "reference": "1f3b7e2c06cc05d42936a8ad508ff1db7975cdc5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/c38fd6b0b7f370c198db91ffd02e23b517426b58", - "reference": "c38fd6b0b7f370c198db91ffd02e23b517426b58", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/1f3b7e2c06cc05d42936a8ad508ff1db7975cdc5", + "reference": "1f3b7e2c06cc05d42936a8ad508ff1db7975cdc5", "shasum": "" }, "require": { @@ -14873,12 +13693,12 @@ }, "require-dev": { "psr/container": "^1.0", - "symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0" + "symfony/phpunit-bridge": "^4.4.9|^5.0.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -14914,7 +13734,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.4.3" + "source": "https://github.com/twigphp/Twig/tree/v3.3.0" }, "funding": [ { @@ -14926,7 +13746,7 @@ "type": "tidelift" } ], - "time": "2022-09-28T08:42:51+00:00" + "time": "2021-02-08T09:54:36+00:00" }, { "name": "webmozart/assert", @@ -15039,30 +13859,28 @@ }, { "name": "zircote/swagger-php", - "version": "3.3.7", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/zircote/swagger-php.git", - "reference": "e8c3bb316e385e93a0c7e8b2aa0681079244c381" + "reference": "9d172471e56433b5c7061006b9a766f262a3edfd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zircote/swagger-php/zipball/e8c3bb316e385e93a0c7e8b2aa0681079244c381", - "reference": "e8c3bb316e385e93a0c7e8b2aa0681079244c381", + "url": "https://api.github.com/repos/zircote/swagger-php/zipball/9d172471e56433b5c7061006b9a766f262a3edfd", + "reference": "9d172471e56433b5c7061006b9a766f262a3edfd", "shasum": "" }, "require": { - "doctrine/annotations": "^1.7", + "doctrine/annotations": "*", "ext-json": "*", "php": ">=7.2", - "psr/log": "^1.1 || ^2.0 || ^3.0", "symfony/finder": ">=2.2", "symfony/yaml": ">=3.3" }, "require-dev": { - "composer/package-versions-deprecated": "1.11.99.2", - "friendsofphp/php-cs-fixer": "^2.17 || ^3.0", - "phpunit/phpunit": ">=8.5.14" + "friendsofphp/php-cs-fixer": "^2.16", + "phpunit/phpunit": ">=8" }, "bin": [ "bin/openapi" @@ -15106,9 +13924,9 @@ ], "support": { "issues": "https://github.com/zircote/swagger-php/issues", - "source": "https://github.com/zircote/swagger-php/tree/3.3.7" + "source": "https://github.com/zircote/swagger-php/tree/3.1.0" }, - "time": "2023-01-03T21:17:10+00:00" + "time": "2020-09-03T20:18:43+00:00" } ], "aliases": [], @@ -15123,5 +13941,8 @@ "ext-curl": "*" }, "platform-dev": [], - "plugin-api-version": "2.2.0" + "platform-overrides": { + "php": "7.4" + }, + "plugin-api-version": "2.6.0" } diff --git a/makefile b/makefile index 900e016c9..e5d53fc5e 100644 --- a/makefile +++ b/makefile @@ -28,12 +28,12 @@ prod: ## Installs all production dependencies cd src/Resources/app/storefront && npm install --production dev: ## Installs all dev dependencies - curl -1sLf 'https://dl.cloudsmith.io/public/friendsofshopware/stable/setup.deb.sh' | sudo -E bash && sudo apt install shopware-cli php switch-composer.php dev @composer validate @composer install cd src/Resources/app/administration && npm install cd src/Resources/app/storefront && npm install + curl -1sLf 'https://dl.cloudsmith.io/public/friendsofshopware/stable/setup.deb.sh' | sudo -E bash && sudo apt install shopware-cli install: ## [deprecated] Installs all production dependencies. Please use "make prod" now. @make prod -B diff --git a/vendor_manual/makefile b/vendor_manual/makefile new file mode 100644 index 000000000..4e1d8209e --- /dev/null +++ b/vendor_manual/makefile @@ -0,0 +1,18 @@ + +MOLLIE_PHP_VERSION:=2.61.0 + + +help: + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + +# ------------------------------------------------------------------------------------------------------------ + +install: ## Installs all production dependencies + rm -rf mollie + git clone -b v$(MOLLIE_PHP_VERSION) https://github.com/mollie/mollie-api-php.git mollie/mollie-api-php + rm -rf mollie/mollie-api-php/.git + rm -rf mollie/mollie-api-php/.github + rm -rf mollie/mollie-api-php/.gitattributes + rm -rf mollie/mollie-api-php/.gitignore + rm -rf mollie/mollie-api-php/examples + rm -rf mollie/mollie-api-php/tests diff --git a/vendor_manual/mollie/mollie-api-php/.php-cs-fixer.dist.php b/vendor_manual/mollie/mollie-api-php/.php-cs-fixer.dist.php new file mode 100644 index 000000000..f79cca01d --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/.php-cs-fixer.dist.php @@ -0,0 +1,37 @@ +in([ + __DIR__ . '/src', + __DIR__ . '/examples', + __DIR__ . '/tests', + ]) + ->name('*.php') + ->notPath('bootstrap/*') + ->notPath('storage/*') + ->notPath('vendor') + ->ignoreDotFiles(true) + ->ignoreVCS(true); + +return (new PhpCsFixer\Config()) + ->setRules([ + '@PSR2' => true, + 'array_syntax' => ['syntax' => 'short'], + 'ordered_imports' => ['sort_algorithm' => 'alpha'], + 'no_unused_imports' => true, + 'not_operator_with_successor_space' => true, + 'trailing_comma_in_multiline' => true, + 'phpdoc_scalar' => true, + 'unary_operator_spaces' => true, + 'binary_operator_spaces' => true, + 'blank_line_before_statement' => [ + 'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'], + ], + 'phpdoc_single_line_var_spacing' => true, + 'phpdoc_var_without_name' => true, + 'method_argument_space' => [ + 'on_multiline' => 'ensure_fully_multiline', + 'keep_multiple_spaces_after_comma' => true, + ], + 'single_trait_insert_per_statement' => true, + ]) + ->setFinder($finder); diff --git a/vendor_manual/mollie/mollie-api-php/LICENSE b/vendor_manual/mollie/mollie-api-php/LICENSE new file mode 100644 index 000000000..12c9d8d14 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/LICENSE @@ -0,0 +1,8 @@ +Copyright (c) 2013-2016, Mollie B.V. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor_manual/mollie/mollie-api-php/README.md b/vendor_manual/mollie/mollie-api-php/README.md new file mode 100644 index 000000000..c29135950 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/README.md @@ -0,0 +1,231 @@ +

+ +

+

Mollie API client for PHP

+ + + +Accepting [iDEAL](https://www.mollie.com/payments/ideal/), [Apple Pay](https://www.mollie.com/payments/apple-pay), [Bancontact](https://www.mollie.com/payments/bancontact/), [SOFORT Banking](https://www.mollie.com/payments/sofort/), [Creditcard](https://www.mollie.com/payments/credit-card/), [SEPA Bank transfer](https://www.mollie.com/payments/bank-transfer/), [SEPA Direct debit](https://www.mollie.com/payments/direct-debit/), [PayPal](https://www.mollie.com/payments/paypal/), [Belfius Direct Net](https://www.mollie.com/payments/belfius/), [KBC/CBC](https://www.mollie.com/payments/kbc-cbc/), [paysafecard](https://www.mollie.com/payments/paysafecard/), [ING Home'Pay](https://www.mollie.com/payments/ing-homepay/), [Giropay](https://www.mollie.com/payments/giropay/), [EPS](https://www.mollie.com/payments/eps/), [Przelewy24](https://www.mollie.com/payments/przelewy24/), [Postepay](https://www.mollie.com/en/payments/postepay), [In3](https://www.mollie.com/payments/in3/), [Klarna](https://www.mollie.com/payments/klarna-pay-later/) ([Pay now](https://www.mollie.com/payments/klarna-pay-now/), [Pay later](https://www.mollie.com/payments/klarna-pay-later/), [Slice it](https://www.mollie.com/payments/klarna-slice-it/), [Pay in 3](https://www.mollie.com/payments/klarna-pay-in-3/)), [Giftcard](https://www.mollie.com/payments/gift-cards/) and [Voucher](https://www.mollie.com/en/payments/meal-eco-gift-vouchers) online payments without fixed monthly costs or any punishing registration procedures. Just use the Mollie API to receive payments directly on your website or easily refund transactions to your customers. + +[![Build Status](https://github.com/mollie/mollie-api-php/workflows/tests/badge.svg)](https://github.com/mollie/mollie-api-php/actions) +[![Latest Stable Version](https://poser.pugx.org/mollie/mollie-api-php/v/stable)](https://packagist.org/packages/mollie/mollie-api-php) +[![Total Downloads](https://poser.pugx.org/mollie/mollie-api-php/downloads)](https://packagist.org/packages/mollie/mollie-api-php) + +## Requirements ## +To use the Mollie API client, the following things are required: + ++ Get yourself a free [Mollie account](https://www.mollie.com/signup). No sign up costs. ++ Now you're ready to use the Mollie API client in test mode. ++ Follow [a few steps](https://www.mollie.com/dashboard/?modal=onboarding) to enable payment methods in live mode, and let us handle the rest. ++ PHP >= 7.0 ++ Up-to-date OpenSSL (or other SSL/TLS toolkit) + +For leveraging [Mollie Connect](https://docs.mollie.com/oauth/overview) (advanced use cases only), we recommend also installing our [OAuth2 client](https://github.com/mollie/oauth2-mollie-php). + +## Composer Installation ## + +By far the easiest way to install the Mollie API client is to require it with [Composer](http://getcomposer.org/doc/00-intro.md). + + $ composer require mollie/mollie-api-php:^2.0 + + { + "require": { + "mollie/mollie-api-php": "^2.0" + } + } + +The version of the API client corresponds to the version of the API it implements. Check the [notes on migration](https://docs.mollie.com/migrating-v1-to-v2) to see what changes you need to make if you want to start using a newer API version. + + +## Manual Installation ## +If you're not familiar with using composer we've added a ZIP file to the releases containing the API client and all the packages normally installed by composer. +Download the ``mollie-api-php.zip`` from the [releases page](https://github.com/mollie/mollie-api-php/releases). + +Include the ``vendor/autoload.php`` as shown in [Initialize example](https://github.com/mollie/mollie-api-php/blob/master/examples/initialize.php). + +## How to receive payments ## + +To successfully receive a payment, these steps should be implemented: + +1. Use the Mollie API client to create a payment with the requested amount, currency, description and optionally, a payment method. It is important to specify a unique redirect URL where the customer is supposed to return to after the payment is completed. + +2. Immediately after the payment is completed, our platform will send an asynchronous request to the configured webhook to allow the payment details to be retrieved, so you know when exactly to start processing the customer's order. + +3. The customer returns, and should be satisfied to see that the order was paid and is now being processed. + +Find our full documentation online on [docs.mollie.com](https://docs.mollie.com). + +## Getting started ## + +Initializing the Mollie API client, and setting your API key. + +```php +$mollie = new \Mollie\Api\MollieApiClient(); +$mollie->setApiKey("test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"); +``` + +Creating a new payment. + +```php +$payment = $mollie->payments->create([ + "amount" => [ + "currency" => "EUR", + "value" => "10.00" + ], + "description" => "My first API payment", + "redirectUrl" => "https://webshop.example.org/order/12345/", + "webhookUrl" => "https://webshop.example.org/mollie-webhook/", +]); +``` +_After creation, the payment id is available in the `$payment->id` property. You should store this id with your order._ + +After storing the payment id you can send the customer to the checkout using the `$payment->getCheckoutUrl()`. + +```php +header("Location: " . $payment->getCheckoutUrl(), true, 303); +``` +_This header location should always be a GET, thus we enforce 303 http response code_ + +For a payment create example, see [Example - New Payment](https://github.com/mollie/mollie-api-php/blob/master/examples/payments/create-payment.php). + +## Retrieving payments ## +We can use the `$payment->id` to retrieve a payment and check if the payment `isPaid`. + +```php +$payment = $mollie->payments->get($payment->id); + +if ($payment->isPaid()) +{ + echo "Payment received."; +} +``` + +Or retrieve a collection of payments. + +```php +$payments = $mollie->payments->page(); +``` + +For an extensive example of listing payments with the details and status, see [Example - List Payments](https://github.com/mollie/mollie-api-php/blob/master/examples/payments/list-payments.php). + +## Payment webhook ## + +When the status of a payment changes the `webhookUrl` we specified in the creation of the payment will be called. +There we can use the `id` from our POST parameters to check te status and act upon that, see [Example - Webhook](https://github.com/mollie/mollie-api-php/blob/master/examples/payments/webhook.php). + + +## Multicurrency ## +Since 2.0 it is now possible to create non-EUR payments for your customers. +A full list of available currencies can be found [in our documentation](https://docs.mollie.com/guides/multicurrency). + +```php +$payment = $mollie->payments->create([ + "amount" => [ + "currency" => "USD", + "value" => "10.00" + ], + "description" => "Order #12345", + "redirectUrl" => "https://webshop.example.org/order/12345/", + "webhookUrl" => "https://webshop.example.org/mollie-webhook/", +]); +``` +_After creation, the `settlementAmount` will contain the EUR amount that will be settled on your account._ + + +### Fully integrated iDEAL payments ### + +If you want to fully integrate iDEAL payments in your web site, some additional steps are required. First, you need to +retrieve the list of issuers (banks) that support iDEAL and have your customer pick the issuer he/she wants to use for +the payment. + +Retrieve the iDEAL method and include the issuers + +```php +$method = $mollie->methods->get(\Mollie\Api\Types\PaymentMethod::IDEAL, ["include" => "issuers"]); +``` + +_`$method->issuers` will be a list of objects. Use the property `$id` of this object in the + API call, and the property `$name` for displaying the issuer to your customer. For a more in-depth example, see [Example - iDEAL payment](https://github.com/mollie/mollie-api-php/blob/master/examples/payments/create-ideal-payment.php)._ + +Create a payment with the selected issuer: + +```php +$payment = $mollie->payments->create([ + "amount" => [ + "currency" => "EUR", + "value" => "10.00" + ], + "description" => "My first API payment", + "redirectUrl" => "https://webshop.example.org/order/12345/", + "webhookUrl" => "https://webshop.example.org/mollie-webhook/", + "method" => \Mollie\Api\Types\PaymentMethod::IDEAL, + "issuer" => $selectedIssuerId, // e.g. "ideal_INGBNL2A" +]); +``` + +_The `_links` property of the `$payment` object will contain an object `checkout` with a `href` property, which is a URL that points directly to the online banking environment of the selected issuer. +A short way of retrieving this URL can be achieved by using the `$payment->getCheckoutUrl()`._ + +### Refunding payments ### + +The API also supports refunding payments. Note that there is no confirmation and that all refunds are immediate and +definitive. refunds are supported for all methods except for paysafecard and gift cards. + +```php +$payment = $mollie->payments->get($payment->id); + +// Refund € 2 of this payment +$refund = $payment->refund([ + "amount" => [ + "currency" => "EUR", + "value" => "2.00" + ] +]); +``` + +For a working example, see [Example - Refund payment](https://github.com/mollie/mollie-api-php/blob/master/examples/payments/refund-payment.php). + +## Enabling debug mode + +When debugging it can be convenient to have the submitted request available on the `ApiException`. + +In order to prevent leaking sensitive request data into your local application logs, debugging is disabled by default. + +To enable debugging and inspect the request: + +```php +/** @var $mollie \Mollie\Api\MollieApiClient */ +$mollie->enableDebugging(); + +try { + $mollie->payments->get('tr_12345678'); +} catch (\Mollie\Api\Exceptions\ApiException $exception) { + $request = $exception->getRequest(); +} +``` + +If you're logging the `ApiException`, the request will also be logged. Make sure to not retain any sensitive data in +these logs and clean up after debugging. + +To disable debugging again: + +```php +/** @var $mollie \Mollie\Api\MollieApiClient */ +$mollie->disableDebugging(); +``` + +Note that debugging is only available when using the default Guzzle http adapter (`Guzzle6And7MollieHttpAdapter`). + +## API documentation ## +If you wish to learn more about our API, please visit the [Mollie Developer Portal](https://www.mollie.com/developers). API Documentation is available in English. + +## Want to help us make our API client even better? ## + +Want to help us make our API client even better? We take [pull requests](https://github.com/mollie/mollie-api-php/pulls?utf8=%E2%9C%93&q=is%3Apr), sure. But how would you like to contribute to a technology oriented organization? Mollie is hiring developers and system engineers. [Check out our vacancies](https://jobs.mollie.com/) or [get in touch](mailto:personeel@mollie.com). + +## License ## +[BSD (Berkeley Software Distribution) License](https://opensource.org/licenses/bsd-license.php). +Copyright (c) 2013-2018, Mollie B.V. + +## Support ## +Contact: [www.mollie.com](https://www.mollie.com) — info@mollie.com — +31 20 820 20 70 diff --git a/vendor_manual/mollie/mollie-api-php/composer.json b/vendor_manual/mollie/mollie-api-php/composer.json new file mode 100644 index 000000000..47040d24b --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/composer.json @@ -0,0 +1,84 @@ +{ + "name": "mollie/mollie-api-php", + "description": "Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.", + "keywords": [ + "mollie", + "payment", + "service", + "ideal", + "creditcard", + "apple pay", + "mistercash", + "bancontact", + "sofort", + "sofortbanking", + "sepa", + "paypal", + "paysafecard", + "podiumcadeaukaart", + "przelewy24", + "banktransfer", + "direct debit", + "belfius", + "belfius direct net", + "refunds", + "api", + "payments", + "gateway", + "subscriptions", + "recurring", + "charges", + "kbc", + "cbc", + "gift cards", + "intersolve", + "fashioncheque", + "inghomepay", + "klarna", + "paylater", + "sliceit" + ], + "homepage": "https://www.mollie.com/en/developers", + "license": "BSD-2-Clause", + "authors": [ + { + "name": "Mollie B.V.", + "email": "info@mollie.com" + } + ], + "require": { + "php": "^7.2|^8.0", + "ext-curl": "*", + "ext-json": "*", + "ext-openssl": "*", + "composer/ca-bundle": "^1.2" + }, + "require-dev": { + "eloquent/liberator": "^2.0||^3.0", + "friendsofphp/php-cs-fixer": "^3.0", + "guzzlehttp/guzzle": "^6.3 || ^7.0", + "phpstan/phpstan": "^1.4", + "phpunit/phpunit": "^8.5 || ^9.5" + }, + "suggest": { + "mollie/oauth2-mollie-php": "Use OAuth to authenticate with the Mollie API. This is needed for some endpoints. Visit https://docs.mollie.com/ for more information." + }, + "config": { + "sort-packages": true + }, + "autoload": { + "psr-4": { + "Mollie\\Api\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/", + "Tests\\Mollie\\Api\\": "tests/Mollie/API/" + } + }, + "scripts": { + "test": "./vendor/bin/phpunit tests", + "format": "./vendor/bin/php-cs-fixer fix --allow-risky=yes" + } +} diff --git a/vendor_manual/mollie/mollie-api-php/phpstan-baseline.neon b/vendor_manual/mollie/mollie-api-php/phpstan-baseline.neon new file mode 100644 index 000000000..56cabd08a --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/phpstan-baseline.neon @@ -0,0 +1,5 @@ +parameters: + ignoreErrors: + - + message: "#^Variable \\$mollie might not be defined\\.$#" + path: examples/* diff --git a/vendor_manual/mollie/mollie-api-php/phpstan.neon b/vendor_manual/mollie/mollie-api-php/phpstan.neon new file mode 100644 index 000000000..ecd56da76 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/phpstan.neon @@ -0,0 +1,17 @@ +parameters: + level: 5 + paths: + - %currentWorkingDirectory%/src + - %currentWorkingDirectory%/tests + - %currentWorkingDirectory%/examples + excludePaths: + - %currentWorkingDirectory%/vendor + ignoreErrors: + - '#Access to an undefined property Eloquent\\Liberator\\LiberatorProxyInterface::\$request#' + - '#Access to protected property Mollie\\Api\\MollieApiClient::\$apiKey#' + - '#Access to protected property Mollie\\Api\\MollieApiClient::\$httpClient#' + - '#Call to an undefined method Mollie\\Api\\HttpAdapter\\MollieHttpAdapterInterface::enableDebugging\(\)#' + - '#Call to an undefined method Mollie\\Api\\HttpAdapter\\MollieHttpAdapterInterface::disableDebugging\(\)#' + treatPhpDocTypesAsCertain: false +includes: + - phpstan-baseline.neon diff --git a/vendor_manual/mollie/mollie-api-php/phpunit.xml b/vendor_manual/mollie/mollie-api-php/phpunit.xml new file mode 100644 index 000000000..eb7a8f95d --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/phpunit.xml @@ -0,0 +1,15 @@ + + + + + src/ + + + + + + + + tests/ + + diff --git a/vendor_manual/mollie/mollie-api-php/scoper.inc.php b/vendor_manual/mollie/mollie-api-php/scoper.inc.php new file mode 100644 index 000000000..88317a713 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/scoper.inc.php @@ -0,0 +1,13 @@ + [], // Finder[] + 'patchers' => [], // callable[] + 'whitelist' => [ + 'Mollie\\Api\\*', + ], +]; \ No newline at end of file diff --git a/vendor_manual/mollie/mollie-api-php/src/CompatibilityChecker.php b/vendor_manual/mollie/mollie-api-php/src/CompatibilityChecker.php new file mode 100644 index 000000000..b754b2116 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/CompatibilityChecker.php @@ -0,0 +1,59 @@ +satisfiesPhpVersion()) { + throw new IncompatiblePlatform( + "The client requires PHP version >= " . self::MIN_PHP_VERSION . ", you have " . PHP_VERSION . ".", + IncompatiblePlatform::INCOMPATIBLE_PHP_VERSION + ); + } + + if (! $this->satisfiesJsonExtension()) { + throw new IncompatiblePlatform( + "PHP extension json is not enabled. Please make sure to enable 'json' in your PHP configuration.", + IncompatiblePlatform::INCOMPATIBLE_JSON_EXTENSION + ); + } + } + + /** + * @return bool + * @codeCoverageIgnore + */ + public function satisfiesPhpVersion() + { + return (bool)version_compare(PHP_VERSION, self::MIN_PHP_VERSION, ">="); + } + + /** + * @return bool + * @codeCoverageIgnore + */ + public function satisfiesJsonExtension() + { + // Check by extension_loaded + if (function_exists('extension_loaded') && extension_loaded('json')) { + return true; + } elseif (function_exists('json_encode')) { + return true; + } + + return false; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceEndpoint.php new file mode 100644 index 000000000..b1a9d69aa --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceEndpoint.php @@ -0,0 +1,82 @@ +client, $count, $_links); + } + + /** + * @inheritDoc + */ + protected function getResourceObject() + { + return new Balance($this->client); + } + + /** + * Retrieve a single balance from Mollie. + * + * Will throw an ApiException if the balance id is invalid or the resource cannot be found. + * + * @param string $balanceId + * @param array $parameters + * @return \Mollie\Api\Resources\Balance|\Mollie\Api\Resources\BaseResource + * @throws ApiException + */ + public function get(string $balanceId, array $parameters = []) + { + if (empty($balanceId) || strpos($balanceId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid balance ID: '{$balanceId}'. A balance ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + return parent::rest_read($balanceId, $parameters); + } + + /** + * Retrieve the primary balance from Mollie. + * + * Will throw an ApiException if the balance id is invalid or the resource cannot be found. + * + * @param array $parameters + * @return \Mollie\Api\Resources\Balance|\Mollie\Api\Resources\BaseResource + * @throws ApiException + */ + public function primary(array $parameters = []) + { + return parent::rest_read("primary", $parameters); + } + + /** + * Retrieves a collection of Balances from Mollie. + * + * @param string|null $from The first Balance ID you want to include in your list. + * @param int|null $limit + * @param array $parameters + * + * @return BaseCollection|BalanceCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function page(?string $from = null, ?int $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceReportEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceReportEndpoint.php new file mode 100644 index 000000000..86effa9cc --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceReportEndpoint.php @@ -0,0 +1,69 @@ +client); + } + + /** + * Retrieve a balance report for the provided balance id and parameters. + * + * @param string $balanceId + * @param array $parameters + * @return \Mollie\Api\Resources\BalanceReport|\Mollie\Api\Resources\BaseResource + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getForId(string $balanceId, array $parameters = []) + { + $this->parentId = $balanceId; + + $result = $this->client->performHttpCall( + self::REST_READ, + $this->getResourcePath() . $this->buildQueryString($parameters) + ); + + return ResourceFactory::createFromApiResult($result, $this->getResourceObject()); + } + + /** + * Retrieve the primary balance. + * This is the balance of your account’s primary currency, where all payments are settled to by default. + * + * @param array $parameters + * @return \Mollie\Api\Resources\BalanceReport|\Mollie\Api\Resources\BaseResource + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getForPrimary(array $parameters = []) + { + return $this->getForId("primary", $parameters); + } + + + /** + * Retrieve a balance report for the provided balance resource and parameters. + * + * @param \Mollie\Api\Resources\Balance $balance + * @param array $parameters + * @return \Mollie\Api\Resources\BalanceReport|\Mollie\Api\Resources\BaseResource + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getFor(Balance $balance, array $parameters = []) + { + return $this->getForId($balance->id, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceTransactionEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceTransactionEndpoint.php new file mode 100644 index 000000000..ed0cbb098 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/BalanceTransactionEndpoint.php @@ -0,0 +1,83 @@ +client, $count, $_links); + } + + /** + * @inheritDoc + */ + protected function getResourceObject() + { + return new BalanceTransaction($this->client); + } + + /** + * List the transactions for a specific Balance. + * + * @param Balance $balance + * @param array $parameters + * @return BalanceTransactionCollection|\Mollie\Api\Resources\BaseCollection + * + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listFor(Balance $balance, array $parameters = []) + { + return $this->listForId($balance->id, $parameters); + } + + /** + * List the transactions for a specific Balance ID. + * + * @param string $balanceId + * @param array $parameters + * @return BalanceTransactionCollection|\Mollie\Api\Resources\BaseCollection + * + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listForId(string $balanceId, array $parameters = []) + { + $this->parentId = $balanceId; + + return parent::rest_list(null, null, $parameters); + } + + /** + * List the transactions for the primary Balance. + * + * @param array $parameters + * @return BalanceTransactionCollection|\Mollie\Api\Resources\BaseCollection + * + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listForPrimary(array $parameters = []) + { + $this->parentId = "primary"; + + return parent::rest_list(null, null, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/ChargebackEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ChargebackEndpoint.php new file mode 100644 index 000000000..dd5045ab5 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ChargebackEndpoint.php @@ -0,0 +1,50 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return ChargebackCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new ChargebackCollection($this->client, $count, $_links); + } + + /** + * Retrieves a collection of Chargebacks from Mollie. + * + * @param string $from The first chargeback ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return ChargebackCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/ClientEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ClientEndpoint.php new file mode 100644 index 000000000..86891785f --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ClientEndpoint.php @@ -0,0 +1,69 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return ClientCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new ClientCollection($this->client, $count, $_links); + } + + /** + * Retrieve a client from Mollie. + * + * Will throw an ApiException if the client id is invalid or the resource cannot be found. + * The client id corresponds to the organization id, for example "org_1337". + * + * @param string $clientId + * @param array $parameters + * + * @return Client + * @throws ApiException + */ + public function get($clientId, array $parameters = []) + { + if (empty($clientId)) { + throw new ApiException("Client ID is empty."); + } + + return parent::rest_read($clientId, $parameters); + } + + /** + * Retrieves a page of clients from Mollie. + * + * @param string $from The first client ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return ClientCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/ClientLinkEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ClientLinkEndpoint.php new file mode 100644 index 000000000..5641cc0d7 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ClientLinkEndpoint.php @@ -0,0 +1,40 @@ +client); + } + + /** + * Creates a client link in Mollie. + * + * @param array $data An array containing details on the client link. + * + * @return ClientLink + * @throws ApiException + */ + public function create(array $data = []): ClientLink + { + return $this->rest_create($data, []); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/CollectionEndpointAbstract.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/CollectionEndpointAbstract.php new file mode 100644 index 000000000..b11ee9853 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/CollectionEndpointAbstract.php @@ -0,0 +1,48 @@ + $from, "limit" => $limit], $filters); + + $apiPath = $this->getResourcePath() . $this->buildQueryString($filters); + + $result = $this->client->performHttpCall(self::REST_LIST, $apiPath); + + /** @var BaseCollection $collection */ + $collection = $this->getResourceCollectionObject($result->count, $result->_links); + + foreach ($result->_embedded->{$collection->getCollectionResourceName()} as $dataResult) { + $collection[] = ResourceFactory::createFromApiResult($dataResult, $this->getResourceObject()); + } + + return $collection; + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return BaseCollection + */ + abstract protected function getResourceCollectionObject($count, $_links); +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/CustomerEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/CustomerEndpoint.php new file mode 100644 index 000000000..ae04d8f4b --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/CustomerEndpoint.php @@ -0,0 +1,121 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return CustomerCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new CustomerCollection($this->client, $count, $_links); + } + + /** + * Creates a customer in Mollie. + * + * @param array $data An array containing details on the customer. + * @param array $filters + * + * @return Customer + * @throws ApiException + */ + public function create(array $data = [], array $filters = []) + { + return $this->rest_create($data, $filters); + } + + /** + * Retrieve a single customer from Mollie. + * + * Will throw a ApiException if the customer id is invalid or the resource cannot be found. + * + * @param string $customerId + * @param array $parameters + * @return Customer + * @throws ApiException + */ + public function get($customerId, array $parameters = []) + { + return $this->rest_read($customerId, $parameters); + } + + /** + * Update a specific Customer resource. + * + * Will throw an ApiException if the customer id is invalid or the resource cannot be found. + * + * @param string $customerId + * + * @param array $data + * @return Customer + * @throws ApiException + */ + public function update($customerId, array $data = []) + { + if (empty($customerId) || strpos($customerId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid order ID: '{$customerId}'. An order ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + return parent::rest_update($customerId, $data); + } + + /** + * Deletes the given Customer. + * + * Will throw a ApiException if the customer id is invalid or the resource cannot be found. + * Returns with HTTP status No Content (204) if successful. + * + * @param string $customerId + * + * @param array $data + * @return null + * @throws ApiException + */ + public function delete($customerId, array $data = []) + { + return $this->rest_delete($customerId, $data); + } + + /** + * Retrieves a collection of Customers from Mollie. + * + * @param string $from The first customer ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return CustomerCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/CustomerPaymentsEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/CustomerPaymentsEndpoint.php new file mode 100644 index 000000000..3961ea6f3 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/CustomerPaymentsEndpoint.php @@ -0,0 +1,97 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return PaymentCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new PaymentCollection($this->client, $count, $_links); + } + + /** + * Create a subscription for a Customer + * + * @param Customer $customer + * @param array $options + * @param array $filters + * + * @return Payment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createFor(Customer $customer, array $options = [], array $filters = []) + { + return $this->createForId($customer->id, $options, $filters); + } + + /** + * Create a subscription for a Customer ID + * + * @param string $customerId + * @param array $options + * @param array $filters + * + * @return \Mollie\Api\Resources\Payment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createForId($customerId, array $options = [], array $filters = []) + { + $this->parentId = $customerId; + + return parent::rest_create($options, $filters); + } + + /** + * @param Customer $customer + * @param string $from The first resource ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return PaymentCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listFor(Customer $customer, $from = null, $limit = null, array $parameters = []) + { + return $this->listForId($customer->id, $from, $limit, $parameters); + } + + /** + * @param string $customerId + * @param string $from The first resource ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return \Mollie\Api\Resources\PaymentCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listForId($customerId, $from = null, $limit = null, array $parameters = []) + { + $this->parentId = $customerId; + + return parent::rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/EndpointAbstract.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/EndpointAbstract.php new file mode 100644 index 000000000..fe87e9787 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/EndpointAbstract.php @@ -0,0 +1,210 @@ +client = $api; + } + + /** + * @param array $filters + * @return string + */ + protected function buildQueryString(array $filters) + { + if (empty($filters)) { + return ""; + } + + foreach ($filters as $key => $value) { + if ($value === true) { + $filters[$key] = "true"; + } + + if ($value === false) { + $filters[$key] = "false"; + } + } + + return "?" . http_build_query($filters, "", "&"); + } + + /** + * @param array $body + * @param array $filters + * @return mixed + * @throws ApiException + */ + protected function rest_create(array $body, array $filters) + { + $result = $this->client->performHttpCall( + self::REST_CREATE, + $this->getResourcePath() . $this->buildQueryString($filters), + $this->parseRequestBody($body) + ); + + return ResourceFactory::createFromApiResult($result, $this->getResourceObject()); + } + + /** + * Sends a PATCH request to a single Mollie API object. + * + * @param string $id + * @param array $body + * + * @return mixed + * @throws ApiException + */ + protected function rest_update($id, array $body = []) + { + if (empty($id)) { + throw new ApiException("Invalid resource id."); + } + + $id = urlencode($id); + $result = $this->client->performHttpCall( + self::REST_UPDATE, + "{$this->getResourcePath()}/{$id}", + $this->parseRequestBody($body) + ); + + if ($result == null) { + return null; + } + + return ResourceFactory::createFromApiResult($result, $this->getResourceObject()); + } + + /** + * Retrieves a single object from the REST API. + * + * @param string $id Id of the object to retrieve. + * @param array $filters + * @return mixed + * @throws ApiException + */ + protected function rest_read($id, array $filters) + { + if (empty($id)) { + throw new ApiException("Invalid resource id."); + } + + $id = urlencode($id); + $result = $this->client->performHttpCall( + self::REST_READ, + "{$this->getResourcePath()}/{$id}" . $this->buildQueryString($filters) + ); + + return ResourceFactory::createFromApiResult($result, $this->getResourceObject()); + } + + /** + * Sends a DELETE request to a single Molle API object. + * + * @param string $id + * @param array $body + * + * @return mixed + * @throws ApiException + */ + protected function rest_delete($id, array $body = []) + { + if (empty($id)) { + throw new ApiException("Invalid resource id."); + } + + $id = urlencode($id); + $result = $this->client->performHttpCall( + self::REST_DELETE, + "{$this->getResourcePath()}/{$id}", + $this->parseRequestBody($body) + ); + + if ($result == null) { + return null; + } + + return ResourceFactory::createFromApiResult($result, $this->getResourceObject()); + } + + + + /** + * Get the object that is used by this API endpoint. Every API endpoint uses one type of object. + * + * @return BaseResource + */ + abstract protected function getResourceObject(); + + /** + * @param string $resourcePath + */ + public function setResourcePath($resourcePath) + { + $this->resourcePath = strtolower($resourcePath); + } + + /** + * @return string + * @throws ApiException + */ + public function getResourcePath() + { + if (strpos($this->resourcePath, "_") !== false) { + [$parentResource, $childResource] = explode("_", $this->resourcePath, 2); + + if (empty($this->parentId)) { + throw new ApiException("Subresource '{$this->resourcePath}' used without parent '$parentResource' ID."); + } + + return "$parentResource/{$this->parentId}/$childResource"; + } + + return $this->resourcePath; + } + + /** + * @param array $body + * @return null|string + */ + protected function parseRequestBody(array $body) + { + if (empty($body)) { + return null; + } + + return @json_encode($body); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/InvoiceEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/InvoiceEndpoint.php new file mode 100644 index 000000000..a228fd283 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/InvoiceEndpoint.php @@ -0,0 +1,79 @@ +client); + } + + /** + * Get the collection object that is used by this API. Every API uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return \Mollie\Api\Resources\BaseCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new InvoiceCollection($this->client, $count, $_links); + } + + /** + * Retrieve an Invoice from Mollie. + * + * Will throw a ApiException if the invoice id is invalid or the resource cannot be found. + * + * @param string $invoiceId + * @param array $parameters + * + * @return Invoice + * @throws ApiException + */ + public function get($invoiceId, array $parameters = []) + { + return $this->rest_read($invoiceId, $parameters); + } + + /** + * Retrieves a collection of Invoices from Mollie. + * + * @param string $from The first invoice ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return InvoiceCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } + + /** + * This is a wrapper method for page + * + * @param array $parameters + * + * @return \Mollie\Api\Resources\BaseCollection + * @throws ApiException + */ + public function all(array $parameters = []) + { + return $this->page(null, null, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/MandateEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/MandateEndpoint.php new file mode 100644 index 000000000..046eaf2e1 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/MandateEndpoint.php @@ -0,0 +1,149 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return MandateCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new MandateCollection($this->client, $count, $_links); + } + + /** + * @param Customer $customer + * @param array $options + * @param array $filters + * + * @return \Mollie\Api\Resources\Mandate + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createFor(Customer $customer, array $options = [], array $filters = []) + { + return $this->createForId($customer->id, $options, $filters); + } + + /** + * @param string $customerId + * @param array $options + * @param array $filters + * + * @return \Mollie\Api\Resources\Mandate + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createForId($customerId, array $options = [], array $filters = []) + { + $this->parentId = $customerId; + + return parent::rest_create($options, $filters); + } + + /** + * @param Customer $customer + * @param string $mandateId + * @param array $parameters + * + * @return \Mollie\Api\Resources\Mandate + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getFor(Customer $customer, $mandateId, array $parameters = []) + { + return $this->getForId($customer->id, $mandateId, $parameters); + } + + /** + * @param string $customerId + * @param string $mandateId + * @param array $parameters + * + * @return \Mollie\Api\Resources\Mandate + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getForId($customerId, $mandateId, array $parameters = []) + { + $this->parentId = $customerId; + + return parent::rest_read($mandateId, $parameters); + } + + /** + * @param Customer $customer + * @param string $from The first resource ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return \Mollie\Api\Resources\MandateCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listFor(Customer $customer, $from = null, $limit = null, array $parameters = []) + { + return $this->listForId($customer->id, $from, $limit, $parameters); + } + + /** + * @param string $customerId + * @param null $from + * @param null $limit + * @param array $parameters + * + * @return \Mollie\Api\Resources\MandateCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listForId($customerId, $from = null, $limit = null, array $parameters = []) + { + $this->parentId = $customerId; + + return parent::rest_list($from, $limit, $parameters); + } + + /** + * @param Customer $customer + * @param string $mandateId + * @param array $data + * + * @return null + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function revokeFor(Customer $customer, $mandateId, $data = []) + { + return $this->revokeForId($customer->id, $mandateId, $data); + } + + /** + * @param string $customerId + * @param string $mandateId + * @param array $data + * + * @return null + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function revokeForId($customerId, $mandateId, $data = []) + { + $this->parentId = $customerId; + + return parent::rest_delete($mandateId, $data); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/MethodEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/MethodEndpoint.php new file mode 100644 index 000000000..934a27a84 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/MethodEndpoint.php @@ -0,0 +1,103 @@ +client); + } + + /** + * Retrieve all active methods. In test mode, this includes pending methods. The results are not paginated. + * + * @deprecated Use allActive() instead + * @param array $parameters + * + * @return \Mollie\Api\Resources\BaseCollection|\Mollie\Api\Resources\MethodCollection + * @throws ApiException + */ + public function all(array $parameters = []) + { + return $this->allActive($parameters); + } + + /** + * Retrieve all active methods for the organization. In test mode, this includes pending methods. + * The results are not paginated. + * + * @param array $parameters + * + * @return \Mollie\Api\Resources\BaseCollection|\Mollie\Api\Resources\MethodCollection + * @throws ApiException + */ + public function allActive(array $parameters = []) + { + return parent::rest_list(null, null, $parameters); + } + + /** + * Retrieve all available methods for the organization, including activated and not yet activated methods. The + * results are not paginated. Make sure to include the profileId parameter if using an OAuth Access Token. + * + * @param array $parameters Query string parameters. + * @return \Mollie\Api\Resources\BaseCollection|\Mollie\Api\Resources\MethodCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function allAvailable(array $parameters = []) + { + $url = 'methods/all' . $this->buildQueryString($parameters); + + $result = $this->client->performHttpCall('GET', $url); + + return ResourceFactory::createBaseResourceCollection( + $this->client, + Method::class, + $result->_embedded->methods, + $result->_links + ); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return MethodCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new MethodCollection($count, $_links); + } + + /** + * Retrieve a payment method from Mollie. + * + * Will throw a ApiException if the method id is invalid or the resource cannot be found. + * + * @param string $methodId + * @param array $parameters + * @return \Mollie\Api\Resources\Method + * @throws ApiException + */ + public function get($methodId, array $parameters = []) + { + if (empty($methodId)) { + throw new ApiException("Method ID is empty."); + } + + return parent::rest_read($methodId, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/OnboardingEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OnboardingEndpoint.php new file mode 100644 index 000000000..52ba56958 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OnboardingEndpoint.php @@ -0,0 +1,89 @@ +client); + } + + /** + * Retrieve the organization's onboarding status from Mollie. + * + * Will throw a ApiException if the resource cannot be found. + * + * @return Onboarding + * @throws ApiException + */ + public function get() + { + return $this->rest_read('', []); + } + + /** + * Submit data that will be prefilled in the merchant’s onboarding. + * Please note that the data you submit will only be processed when the onboarding status is needs-data. + * + * Information that the merchant has entered in their dashboard will not be overwritten. + * + * Will throw a ApiException if the resource cannot be found. + * + * @throws ApiException + */ + public function submit(array $parameters = []) + { + return $this->rest_create($parameters, []); + } + + /** + * @param string $id + * @param array $filters + * + * @return mixed + * @throws \Mollie\Api\Exceptions\ApiException + */ + protected function rest_read($id, array $filters) + { + $result = $this->client->performHttpCall( + self::REST_READ, + $this->getResourcePath() . $this->buildQueryString($filters) + ); + + return ResourceFactory::createFromApiResult($result, $this->getResourceObject()); + } + + /** + * @param array $body + * @param array $filters + * + * @return mixed + * @throws \Mollie\Api\Exceptions\ApiException + */ + protected function rest_create(array $body, array $filters) + { + $this->client->performHttpCall( + self::REST_CREATE, + $this->getResourcePath() . $this->buildQueryString($filters), + $this->parseRequestBody($body) + ); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderEndpoint.php new file mode 100644 index 000000000..605544a30 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderEndpoint.php @@ -0,0 +1,130 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API + * endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return OrderCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new OrderCollection($this->client, $count, $_links); + } + + /** + * Creates a order in Mollie. + * + * @param array $data An array containing details on the order. + * @param array $filters + * + * @return Order + * @throws ApiException + */ + public function create(array $data = [], array $filters = []) + { + return $this->rest_create($data, $filters); + } + + /** + * Update a specific Order resource + * + * Will throw a ApiException if the order id is invalid or the resource cannot be found. + * + * @param string $orderId + * + * @param array $data + * @return Order + * @throws ApiException + */ + public function update($orderId, array $data = []) + { + if (empty($orderId) || strpos($orderId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid order ID: '{$orderId}'. An order ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + return parent::rest_update($orderId, $data); + } + + /** + * Retrieve a single order from Mollie. + * + * Will throw a ApiException if the order id is invalid or the resource cannot + * be found. + * + * @param array $parameters + * @return Order + * @throws ApiException + */ + public function get($orderId, array $parameters = []) + { + if (empty($orderId) || strpos($orderId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid order ID: '{$orderId}'. An order ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + return parent::rest_read($orderId, $parameters); + } + + /** + * Cancel the given Order. + * + * If the order was partially shipped, the status will be "completed" instead of + * "canceled". + * Will throw a ApiException if the order id is invalid or the resource cannot + * be found. + * Returns the canceled order with HTTP status 200. + * + * @param string $orderId + * + * @param array $parameters + * @return Order + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function cancel($orderId, $parameters = []) + { + return $this->rest_delete($orderId, $parameters); + } + + /** + * Retrieves a collection of Orders from Mollie. + * + * @param string $from The first order ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return OrderCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderLineEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderLineEndpoint.php new file mode 100644 index 000000000..2f16f0dad --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderLineEndpoint.php @@ -0,0 +1,139 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API + * endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return OrderLineCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new OrderLineCollection($count, $_links); + } + + /** + * Update a specific OrderLine resource. + * + * Will throw an ApiException if the order line id is invalid or the resource cannot be found. + * + * @param string|null $orderId + * @param string $orderlineId + * + * @param array $data + * + * @return \Mollie\Api\Resources\BaseResource|null + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function update($orderId, $orderlineId, array $data = []) + { + $this->parentId = $orderId; + + if (empty($orderlineId) || strpos($orderlineId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid order line ID: '{$orderlineId}'. An order line ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + return parent::rest_update($orderlineId, $data); + } + + /** + * @param string $orderId + * @param array $operations + * @param array $parameters + * @return Order|\Mollie\Api\Resources\BaseResource + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function updateMultiple(string $orderId, array $operations, array $parameters = []) + { + if (empty($orderId)) { + throw new ApiException("Invalid resource id."); + } + + $this->parentId = $orderId; + + $parameters['operations'] = $operations; + + $result = $this->client->performHttpCall( + self::REST_UPDATE, + "{$this->getResourcePath()}", + $this->parseRequestBody($parameters) + ); + + return ResourceFactory::createFromApiResult($result, new Order($this->client)); + } + + /** + * Cancel lines for the provided order. + * The data array must contain a lines array. + * You can pass an empty lines array if you want to cancel all eligible lines. + * Returns null if successful. + * + * @param Order $order + * @param array $data + * + * @return null + * @throws ApiException + */ + public function cancelFor(Order $order, array $data) + { + return $this->cancelForId($order->id, $data); + } + + /** + * Cancel lines for the provided order id. + * The data array must contain a lines array. + * You can pass an empty lines array if you want to cancel all eligible lines. + * Returns null if successful. + * + * @param string $orderId + * @param array $data + * + * @return null + * @throws ApiException + */ + public function cancelForId($orderId, array $data) + { + if (! isset($data['lines']) || ! is_array($data['lines'])) { + throw new ApiException("A lines array is required."); + } + $this->parentId = $orderId; + + $this->client->performHttpCall( + self::REST_DELETE, + "{$this->getResourcePath()}", + $this->parseRequestBody($data) + ); + + return null; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderPaymentEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderPaymentEndpoint.php new file mode 100644 index 000000000..6bedacf3e --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderPaymentEndpoint.php @@ -0,0 +1,74 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API + * endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return \Mollie\Api\Resources\PaymentCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new PaymentCollection($this->client, $count, $_links); + } + + /** + * Creates a payment in Mollie for a specific order. + * + * @param \Mollie\Api\Resources\Order $order + * @param array $data An array containing details on the order payment. + * @param array $filters + * + * @return \Mollie\Api\Resources\Payment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createFor(Order $order, array $data, array $filters = []) + { + return $this->createForId($order->id, $data, $filters); + } + + /** + * Creates a payment in Mollie for a specific order ID. + * + * @param string $orderId + * @param array $data An array containing details on the order payment. + * @param array $filters + * + * @return \Mollie\Api\Resources\Payment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createForId($orderId, array $data, array $filters = []) + { + $this->parentId = $orderId; + + return $this->rest_create($data, $filters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderRefundEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderRefundEndpoint.php new file mode 100644 index 000000000..d50c9e3b4 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrderRefundEndpoint.php @@ -0,0 +1,69 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return RefundCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new RefundCollection($this->client, $count, $_links); + } + + /** + * Refund some order lines. You can provide an empty array for the + * "lines" data to refund all eligible lines for this order. + * + * @param Order $order + * @param array $data + * @param array $filters + * + * @return Refund + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createFor(Order $order, array $data, array $filters = []) + { + return $this->createForId($order->id, $data, $filters); + } + + /** + * Refund some order lines. You can provide an empty array for the + * "lines" data to refund all eligible lines for this order. + * + * @param string $orderId + * @param array $data + * @param array $filters + * + * @return \Mollie\Api\Resources\Refund + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createForId($orderId, array $data, array $filters = []) + { + $this->parentId = $orderId; + + return parent::rest_create($data, $filters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrganizationEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrganizationEndpoint.php new file mode 100644 index 000000000..10a7d7b95 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrganizationEndpoint.php @@ -0,0 +1,64 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return OrganizationCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new OrganizationCollection($this->client, $count, $_links); + } + + /** + * Retrieve an organization from Mollie. + * + * Will throw a ApiException if the organization id is invalid or the resource cannot be found. + * + * @param string $organizationId + * @param array $parameters + * @return Organization + * @throws ApiException + */ + public function get($organizationId, array $parameters = []) + { + if (empty($organizationId)) { + throw new ApiException("Organization ID is empty."); + } + + return parent::rest_read($organizationId, $parameters); + } + + /** + * Retrieve the current organization from Mollie. + * + * @param array $parameters + * @return Organization + * @throws ApiException + */ + public function current(array $parameters = []) + { + return parent::rest_read('me', $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrganizationPartnerEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrganizationPartnerEndpoint.php new file mode 100644 index 000000000..06a677b04 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/OrganizationPartnerEndpoint.php @@ -0,0 +1,58 @@ +client); + } + + /** + * Retrieve details about the partner status of the currently authenticated organization. + * + * Will throw an ApiException if the resource cannot be found. + * + * @return Partner + * @throws ApiException + */ + public function get() + { + return $this->rest_read('', []); + } + + /** + * @param string $id + * @param array $filters + * + * @return mixed + * @throws \Mollie\Api\Exceptions\ApiException + */ + protected function rest_read($id, array $filters) + { + $result = $this->client->performHttpCall( + self::REST_READ, + $this->getResourcePath() . $this->buildQueryString($filters) + ); + + return ResourceFactory::createFromApiResult($result, $this->getResourceObject()); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentCaptureEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentCaptureEndpoint.php new file mode 100644 index 000000000..6766235ab --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentCaptureEndpoint.php @@ -0,0 +1,121 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return \Mollie\Api\Resources\CaptureCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new CaptureCollection($this->client, $count, $_links); + } + + /** + * Creates a payment capture in Mollie. + * + * @param Payment $payment. + * @param array $data An array containing details on the capture. + * @param array $filters + * + * @return Capture + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createFor(Payment $payment, array $data = [], array $filters = []) + { + return $this->createForId($payment->id, $data, $filters); + } + + /** + * Creates a payment capture in Mollie. + * + * @param string $paymentId The payment's ID. + * @param array $data An array containing details on the capture. + * @param array $filters + * + * @return Capture + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createForId($paymentId, array $data = [], array $filters = []) + { + $this->parentId = $paymentId; + + return $this->rest_create($data, $filters); + } + + /** + * @param Payment $payment + * @param string $captureId + * @param array $parameters + * + * @return Capture + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getFor(Payment $payment, $captureId, array $parameters = []) + { + return $this->getForId($payment->id, $captureId, $parameters); + } + + /** + * @param string $paymentId + * @param string $captureId + * @param array $parameters + * + * @return \Mollie\Api\Resources\Capture + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getForId($paymentId, $captureId, array $parameters = []) + { + $this->parentId = $paymentId; + + return parent::rest_read($captureId, $parameters); + } + + /** + * @param Payment $payment + * @param array $parameters + * + * @return Capture + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listFor(Payment $payment, array $parameters = []) + { + return $this->listForId($payment->id, $parameters); + } + + /** + * @param string $paymentId + * @param array $parameters + * + * @return \Mollie\Api\Resources\BaseCollection|\Mollie\Api\Resources\Capture + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listForId($paymentId, array $parameters = []) + { + $this->parentId = $paymentId; + + return parent::rest_list(null, null, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentChargebackEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentChargebackEndpoint.php new file mode 100644 index 000000000..e27ddeb5a --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentChargebackEndpoint.php @@ -0,0 +1,89 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return ChargebackCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new ChargebackCollection($this->client, $count, $_links); + } + + /** + * @param Payment $payment + * @param string $chargebackId + * @param array $parameters + * + * @return Chargeback + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getFor(Payment $payment, $chargebackId, array $parameters = []) + { + return $this->getForId($payment->id, $chargebackId, $parameters); + } + + /** + * @param string $paymentId + * @param string $chargebackId + * @param array $parameters + * + * @return Chargeback + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getForId($paymentId, $chargebackId, array $parameters = []) + { + $this->parentId = $paymentId; + + return parent::rest_read($chargebackId, $parameters); + } + + /** + * @param Payment $payment + * @param array $parameters + * + * @return Chargeback + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listFor(Payment $payment, array $parameters = []) + { + return $this->listForId($payment->id, $parameters); + } + + /** + * @param string $paymentId + * @param array $parameters + * + * @return \Mollie\Api\Resources\BaseCollection|\Mollie\Api\Resources\Chargeback + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listForId($paymentId, array $parameters = []) + { + $this->parentId = $paymentId; + + return parent::rest_list(null, null, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentEndpoint.php new file mode 100644 index 000000000..a840863e7 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentEndpoint.php @@ -0,0 +1,168 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return PaymentCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new PaymentCollection($this->client, $count, $_links); + } + + /** + * Creates a payment in Mollie. + * + * @param array $data An array containing details on the payment. + * @param array $filters + * + * @return Payment + * @throws ApiException + */ + public function create(array $data = [], array $filters = []) + { + return $this->rest_create($data, $filters); + } + + /** + * Update the given Payment. + * + * Will throw a ApiException if the payment id is invalid or the resource cannot be found. + * + * @param string $paymentId + * + * @param array $data + * @return Payment + * @throws ApiException + */ + public function update($paymentId, array $data = []) + { + if (empty($paymentId) || strpos($paymentId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid payment ID: '{$paymentId}'. A payment ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + return parent::rest_update($paymentId, $data); + } + + /** + * Retrieve a single payment from Mollie. + * + * Will throw a ApiException if the payment id is invalid or the resource cannot be found. + * + * @param string $paymentId + * @param array $parameters + * @return Payment + * @throws ApiException + */ + public function get($paymentId, array $parameters = []) + { + if (empty($paymentId) || strpos($paymentId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid payment ID: '{$paymentId}'. A payment ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + return parent::rest_read($paymentId, $parameters); + } + + /** + * Deletes the given Payment. + * + * Will throw a ApiException if the payment id is invalid or the resource cannot be found. + * Returns with HTTP status No Content (204) if successful. + * + * @param string $paymentId + * + * @param array $data + * @return Payment + * @throws ApiException + */ + public function delete($paymentId, array $data = []) + { + return $this->rest_delete($paymentId, $data); + } + + /** + * Cancel the given Payment. This is just an alias of the 'delete' method. + * + * Will throw a ApiException if the payment id is invalid or the resource cannot be found. + * Returns with HTTP status No Content (204) if successful. + * + * @param string $paymentId + * + * @param array $data + * @return Payment + * @throws ApiException + */ + public function cancel($paymentId, array $data = []) + { + return $this->rest_delete($paymentId, $data); + } + + /** + * Retrieves a collection of Payments from Mollie. + * + * @param string $from The first payment ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return PaymentCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } + + /** + * Issue a refund for the given payment. + * + * The $data parameter may either be an array of endpoint parameters, a float value to + * initiate a partial refund, or empty to do a full refund. + * + * @param Payment $payment + * @param array|float|null $data + * + * @return Refund + * @throws ApiException + */ + public function refund(Payment $payment, $data = []) + { + $resource = "{$this->getResourcePath()}/" . urlencode($payment->id) . "/refunds"; + + $body = null; + if (($data === null ? 0 : count($data)) > 0) { + $body = json_encode($data); + } + + $result = $this->client->performHttpCall(self::REST_CREATE, $resource, $body); + + return ResourceFactory::createFromApiResult($result, new Refund($this->client)); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentLinkEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentLinkEndpoint.php new file mode 100644 index 000000000..8f3f3bef1 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentLinkEndpoint.php @@ -0,0 +1,87 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return PaymentLinkCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new PaymentLinkCollection($this->client, $count, $_links); + } + + /** + * Creates a payment link in Mollie. + * + * @param array $data An array containing details on the payment link. + * @param array $filters + * + * @return PaymentLink + * @throws ApiException + */ + public function create(array $data = [], array $filters = []) + { + return $this->rest_create($data, $filters); + } + + /** + * Retrieve payment link from Mollie. + * + * Will throw a ApiException if the payment link id is invalid or the resource cannot be found. + * + * @param string $paymentLinkId + * @param array $parameters + * @return PaymentLink + * @throws ApiException + */ + public function get($paymentLinkId, array $parameters = []) + { + if (empty($paymentLinkId) || strpos($paymentLinkId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid payment link ID: '{$paymentLinkId}'. A payment link ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + return parent::rest_read($paymentLinkId, $parameters); + } + + /** + * Retrieves a collection of Payment Links from Mollie. + * + * @param string $from The first payment link ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return PaymentLinkCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentRefundEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentRefundEndpoint.php new file mode 100644 index 000000000..3dfa24696 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentRefundEndpoint.php @@ -0,0 +1,122 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return RefundCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new RefundCollection($this->client, $count, $_links); + } + + /** + * @param Payment $payment + * @param string $refundId + * @param array $parameters + * + * @return Refund + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getFor(Payment $payment, $refundId, array $parameters = []) + { + return $this->getForId($payment->id, $refundId, $parameters); + } + + /** + * @param string $paymentId + * @param string $refundId + * @param array $parameters + * + * @return \Mollie\Api\Resources\Refund + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getForId($paymentId, $refundId, array $parameters = []) + { + $this->parentId = $paymentId; + + return parent::rest_read($refundId, $parameters); + } + + /** + * @param Payment $payment + * @param array $parameters + * + * @return Refund + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listFor(Payment $payment, array $parameters = []) + { + return $this->listForId($payment->id, $parameters); + } + + /** + * @param string $paymentId + * @param array $parameters + * + * @return \Mollie\Api\Resources\BaseCollection|\Mollie\Api\Resources\Refund + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listForId($paymentId, array $parameters = []) + { + $this->parentId = $paymentId; + + return parent::rest_list(null, null, $parameters); + } + + + /** + * Creates a refund for a specific payment. + * + * @param Payment $payment + * @param array $data + * @param array $filters + * + * @return Refund + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createFor(Payment $payment, array $data, array $filters = []) + { + return $this->createForId($payment->id, $data, $filters); + } + + /** + * Creates a refund for a specific payment. + * + * @param string $paymentId + * @param array $data + * @param array $filters + * + * @return \Mollie\Api\Resources\Refund + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createForId(string $paymentId, array $data, array $filters = []) + { + $this->parentId = $paymentId; + + return parent::rest_create($data, $filters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentRouteEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentRouteEndpoint.php new file mode 100644 index 000000000..fc5c654cb --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PaymentRouteEndpoint.php @@ -0,0 +1,70 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return \Mollie\Api\Resources\RouteCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new RouteCollection($this->client, $count, $_links); + } + + /** + * @param Payment $payment + * @param string $routeId + * @param string $releaseDate - UTC datetime in ISO-8601 format when the funds for the following payment will become available on + * the balance of the connected account + * + * @return Route + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function updateReleaseDateFor(Payment $payment, $routeId, $releaseDate) + { + return $this->updateReleaseDateForPaymentId($payment->id, $routeId, $releaseDate); + } + + /** + * @param string $paymentId + * @param string $routeId + * @param string $releaseDate - UTC datetime in ISO-8601 format when the funds for the following payment will become available on + * the balance of the connected account + * + * @return \Mollie\Api\Resources\Route + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function updateReleaseDateForPaymentId($paymentId, $routeId, $releaseDate, $testmode = false) + { + $this->parentId = $paymentId; + + $params = [ + 'releaseDate' => $releaseDate, + 'testmode' => $testmode, + ]; + + return parent::rest_update($routeId, $params); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/PermissionEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PermissionEndpoint.php new file mode 100644 index 000000000..fbe038204 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/PermissionEndpoint.php @@ -0,0 +1,65 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API + * endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return PermissionCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new PermissionCollection($count, $_links); + } + + /** + * Retrieve a single Permission from Mollie. + * + * Will throw an ApiException if the permission id is invalid. + * + * @param string $permissionId + * @param array $parameters + * @return Permission + * @throws ApiException + */ + public function get($permissionId, array $parameters = []) + { + return $this->rest_read($permissionId, $parameters); + } + + /** + * Retrieve all permissions. + * + * @param array $parameters + * + * @return PermissionCollection + * @throws ApiException + */ + public function all(array $parameters = []) + { + return parent::rest_list(null, null, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/ProfileEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ProfileEndpoint.php new file mode 100644 index 000000000..498d442ad --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ProfileEndpoint.php @@ -0,0 +1,143 @@ +resourceClass($this->client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return ProfileCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new ProfileCollection($this->client, $count, $_links); + } + + /** + * Creates a Profile in Mollie. + * + * @param array $data An array containing details on the profile. + * @param array $filters + * + * @return Profile + * @throws ApiException + */ + public function create(array $data = [], array $filters = []) + { + return $this->rest_create($data, $filters); + } + + /** + * Retrieve a Profile from Mollie. + * + * Will throw an ApiException if the profile id is invalid or the resource cannot be found. + * + * @param string $profileId + * @param array $parameters + * + * @return Profile + * @throws ApiException + */ + public function get($profileId, array $parameters = []) + { + if ($profileId === 'me') { + return $this->getCurrent($parameters); + } + + return $this->rest_read($profileId, $parameters); + } + + /** + * Update a specific Profile resource. + * + * Will throw an ApiException if the profile id is invalid or the resource cannot be found. + * + * @param string $profileId + * + * @param array $data + * @return Profile + * @throws ApiException + */ + public function update($profileId, array $data = []) + { + if (empty($profileId) || strpos($profileId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid profile id: '{$profileId}'. An profile id should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + return parent::rest_update($profileId, $data); + } + + /** + * Retrieve the current Profile from Mollie. + * + * @param array $parameters + * + * @return CurrentProfile + * @throws ApiException + */ + public function getCurrent(array $parameters = []) + { + $this->resourceClass = CurrentProfile::class; + + return $this->rest_read('me', $parameters); + } + + /** + * Delete a Profile from Mollie. + * + * Will throw a ApiException if the profile id is invalid or the resource cannot be found. + * Returns with HTTP status No Content (204) if successful. + * + * @param string $profileId + * + * @param array $data + * @return Profile + * @throws ApiException + */ + public function delete($profileId, array $data = []) + { + return $this->rest_delete($profileId, $data); + } + + /** + * Retrieves a collection of Profiles from Mollie. + * + * @param string $from The first profile ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return ProfileCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/ProfileMethodEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ProfileMethodEndpoint.php new file mode 100644 index 000000000..606d6141c --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ProfileMethodEndpoint.php @@ -0,0 +1,129 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return MethodCollection() + */ + protected function getResourceCollectionObject($count, $_links) + { + return new MethodCollection($count, $_links); + } + + /** + * Enable a method for the provided Profile ID. + * + * @param string $profileId + * @param string $methodId + * @param array $data + * @return \Mollie\Api\Resources\Method + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createForId($profileId, $methodId, array $data = []) + { + $this->parentId = $profileId; + $resource = $this->getResourcePath() . '/' . urlencode($methodId); + + $body = null; + if (count($data) > 0) { + $body = json_encode($data); + } + + $result = $this->client->performHttpCall(self::REST_CREATE, $resource, $body); + + return ResourceFactory::createFromApiResult($result, new Method($this->client)); + } + + /** + * Enable a method for the provided Profile object. + * + * @param Profile $profile + * @param string $methodId + * @param array $data + * @return Method + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createFor($profile, $methodId, array $data = []) + { + return $this->createForId($profile->id, $methodId, $data); + } + + /** + * Enable a method for the current profile. + * + * @param string $methodId + * @param array $data + * @return \Mollie\Api\Resources\Method + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createForCurrentProfile($methodId, array $data = []) + { + return $this->createForId('me', $methodId, $data); + } + + /** + * Disable a method for the provided Profile ID. + * + * @param string $profileId + * @param string $methodId + * @param array $data + * @return mixed + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function deleteForId($profileId, $methodId, array $data = []) + { + $this->parentId = $profileId; + + return $this->rest_delete($methodId, $data); + } + + /** + * Disable a method for the provided Profile object. + * + * @param Profile $profile + * @param string $methodId + * @param array $data + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function deleteFor($profile, $methodId, array $data = []) + { + return $this->deleteForId($profile->id, $methodId, $data); + } + + /** + * Disable a method for the current profile. + * + * @param string $methodId + * @param array $data + * @return \Mollie\Api\Resources\Method + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function deleteForCurrentProfile($methodId, array $data) + { + return $this->deleteForId('me', $methodId, $data); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/RefundEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/RefundEndpoint.php new file mode 100644 index 000000000..385e21c0f --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/RefundEndpoint.php @@ -0,0 +1,50 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return RefundCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new RefundCollection($this->client, $count, $_links); + } + + /** + * Retrieves a collection of Refunds from Mollie. + * + * @param string $from The first refund ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return RefundCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/SettlementPaymentEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/SettlementPaymentEndpoint.php new file mode 100644 index 000000000..6ac8304e5 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/SettlementPaymentEndpoint.php @@ -0,0 +1,45 @@ +client); + } + + /** + * @inheritDoc + */ + protected function getResourceCollectionObject($count, $_links) + { + return new PaymentCollection($this->client, $count, $_links); + } + + /** + * Retrieves a collection of Payments from Mollie. + * + * @param string $settlementId + * @param string $from The first payment ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return mixed + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function pageForId($settlementId, $from = null, $limit = null, array $parameters = []) + { + $this->parentId = $settlementId; + + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/SettlementsEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/SettlementsEndpoint.php new file mode 100644 index 000000000..a4d49e85e --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/SettlementsEndpoint.php @@ -0,0 +1,87 @@ +client); + } + + /** + * Get the collection object that is used by this API. Every API uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return \Mollie\Api\Resources\BaseCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new SettlementCollection($this->client, $count, $_links); + } + + /** + * Retrieve a single settlement from Mollie. + * + * Will throw a ApiException if the settlement id is invalid or the resource cannot be found. + * + * @param string $settlementId + * @param array $parameters + * @return Settlement + * @throws ApiException + */ + public function get($settlementId, array $parameters = []) + { + return parent::rest_read($settlementId, $parameters); + } + + /** + * Retrieve the details of the current settlement that has not yet been paid out. + * + * @return Settlement + * @throws ApiException + */ + public function next() + { + return parent::rest_read("next", []); + } + + /** + * Retrieve the details of the open balance of the organization. + * + * @return Settlement + * @throws ApiException + */ + public function open() + { + return parent::rest_read("open", []); + } + + /** + * Retrieves a collection of Settlements from Mollie. + * + * @param string $from The first settlement ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return SettlementCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/ShipmentEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ShipmentEndpoint.php new file mode 100644 index 000000000..6456ab7ca --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/ShipmentEndpoint.php @@ -0,0 +1,161 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API + * endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return ShipmentCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new ShipmentCollection($count, $_links); + } + + /** + * Create a shipment for some order lines. You can provide an empty array for the + * "lines" option to include all unshipped lines for this order. + * + * @param Order $order + * @param array $options + * @param array $filters + * + * @return Shipment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createFor(Order $order, array $options = [], array $filters = []) + { + return $this->createForId($order->id, $options, $filters); + } + + /** + * Create a shipment for some order lines. You can provide an empty array for the + * "lines" option to include all unshipped lines for this order. + * + * @param string $orderId + * @param array $options + * @param array $filters + * + * @return Shipment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createForId($orderId, array $options = [], array $filters = []) + { + $this->parentId = $orderId; + + return parent::rest_create($options, $filters); + } + + /** + * Retrieve a single shipment and the order lines shipped by a shipment’s ID. + * + * @param Order $order + * @param string $shipmentId + * @param array $parameters + * + * @return Shipment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getFor(Order $order, $shipmentId, array $parameters = []) + { + return $this->getForId($order->id, $shipmentId, $parameters); + } + + /** + * Retrieve a single shipment and the order lines shipped by a shipment’s ID. + * + * @param string $orderId + * @param string $shipmentId + * @param array $parameters + * + * @return \Mollie\Api\Resources\Shipment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function getForId($orderId, $shipmentId, array $parameters = []) + { + $this->parentId = $orderId; + + return parent::rest_read($shipmentId, $parameters); + } + + /** + * Update a specific Order Shipment resource. + * + * Will throw an ApiException if the shipment id is invalid or the resource cannot be found. + * + * @param string $shipmentId + * @param string $orderId + * + * @param array $data + * @return Shipment + * @throws ApiException + */ + public function update($orderId, $shipmentId, array $data = []) + { + if (empty($shipmentId) || strpos($shipmentId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid subscription ID: '{$shipmentId}'. An subscription ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + $this->parentId = $orderId; + + return parent::rest_update($shipmentId, $data); + } + + /** + * Return all shipments for the Order provided. + * + * @param Order $order + * @param array $parameters + * + * @return ShipmentCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listFor(Order $order, array $parameters = []) + { + return $this->listForId($order->id, $parameters); + } + + /** + * Return all shipments for the provided Order id. + * + * @param string $orderId + * @param array $parameters + * + * @return \Mollie\Api\Resources\ShipmentCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function listForId($orderId, array $parameters = []) + { + $this->parentId = $orderId; + + return parent::rest_list(null, null, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/SubscriptionEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/SubscriptionEndpoint.php new file mode 100644 index 000000000..d9b919af3 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/SubscriptionEndpoint.php @@ -0,0 +1,212 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return SubscriptionCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new SubscriptionCollection($this->client, $count, $_links); + } + + /** + * Create a subscription for a Customer + * + * @param Customer $customer + * @param array $options + * @param array $filters + * + * @return Subscription + * @throws ApiException + */ + public function createFor(Customer $customer, array $options = [], array $filters = []) + { + return $this->createForId($customer->id, $options, $filters); + } + + /** + * Create a subscription for a Customer + * + * @param string $customerId + * @param array $options + * @param array $filters + * + * @return Subscription + * @throws ApiException + */ + public function createForId($customerId, array $options = [], array $filters = []) + { + $this->parentId = $customerId; + + return parent::rest_create($options, $filters); + } + + /** + * Update a specific Subscription resource. + * + * Will throw an ApiException if the subscription id is invalid or the resource cannot be found. + * + * @param string $subscriptionId + * @param string $customerId + * + * @param array $data + * + * @return Subscription + * @throws ApiException + */ + public function update($customerId, $subscriptionId, array $data = []) + { + if (empty($subscriptionId) || strpos($subscriptionId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid subscription ID: '{$subscriptionId}'. An subscription ID should start with '".self::RESOURCE_ID_PREFIX."'."); + } + + $this->parentId = $customerId; + + return parent::rest_update($subscriptionId, $data); + } + + /** + * @param Customer $customer + * @param string $subscriptionId + * @param array $parameters + * + * @return Subscription + * @throws ApiException + */ + public function getFor(Customer $customer, $subscriptionId, array $parameters = []) + { + return $this->getForId($customer->id, $subscriptionId, $parameters); + } + + /** + * @param string $customerId + * @param string $subscriptionId + * @param array $parameters + * + * @return Subscription + * @throws ApiException + */ + public function getForId($customerId, $subscriptionId, array $parameters = []) + { + $this->parentId = $customerId; + + return parent::rest_read($subscriptionId, $parameters); + } + + /** + * @param Customer $customer + * @param string $from The first resource ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return SubscriptionCollection + * @throws ApiException + */ + public function listFor(Customer $customer, $from = null, $limit = null, array $parameters = []) + { + return $this->listForId($customer->id, $from, $limit, $parameters); + } + + /** + * @param string $customerId + * @param string $from The first resource ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return SubscriptionCollection + * @throws ApiException + */ + public function listForId($customerId, $from = null, $limit = null, array $parameters = []) + { + $this->parentId = $customerId; + + return parent::rest_list($from, $limit, $parameters); + } + + /** + * @param Customer $customer + * @param string $subscriptionId + * @param array $data + * + * @return null + * @throws ApiException + */ + public function cancelFor(Customer $customer, $subscriptionId, array $data = []) + { + return $this->cancelForId($customer->id, $subscriptionId, $data); + } + + /** + * @param string $customerId + * @param string $subscriptionId + * @param array $data + * + * @return null + * @throws ApiException + */ + public function cancelForId($customerId, $subscriptionId, array $data = []) + { + $this->parentId = $customerId; + + return parent::rest_delete($subscriptionId, $data); + } + + /** + * Retrieves a collection of Subscriptions from Mollie. + * + * @param string $from The first payment ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return SubscriptionCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + $filters = array_merge(["from" => $from, "limit" => $limit], $parameters); + + $apiPath = 'subscriptions' . $this->buildQueryString($filters); + + $result = $this->client->performHttpCall(self::REST_LIST, $apiPath); + + /** @var SubscriptionCollection $collection */ + $collection = $this->getResourceCollectionObject($result->count, $result->_links); + + foreach ($result->_embedded->{$collection->getCollectionResourceName()} as $dataResult) { + $collection[] = ResourceFactory::createFromApiResult($dataResult, $this->getResourceObject()); + } + + return $collection; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/TerminalEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/TerminalEndpoint.php new file mode 100644 index 000000000..4b100b566 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/TerminalEndpoint.php @@ -0,0 +1,72 @@ +client); + } + + /** + * Get the collection object that is used by this API endpoint. Every API endpoint uses one type of collection object. + * + * @param int $count + * @param \stdClass $_links + * + * @return TerminalCollection + */ + protected function getResourceCollectionObject($count, $_links) + { + return new TerminalCollection($this->client, $count, $_links); + } + + /** + * Retrieve terminal from Mollie. + * + * Will throw a ApiException if the terminal id is invalid or the resource cannot be found. + * + * @param string $terminalId + * @param array $parameters + * @return Terminal + * @throws ApiException + */ + public function get($terminalId, array $parameters = []) + { + if (empty($terminalId) || strpos($terminalId, self::RESOURCE_ID_PREFIX) !== 0) { + throw new ApiException("Invalid terminal ID: '{$terminalId}'. A terminal ID should start with '" . self::RESOURCE_ID_PREFIX . "'."); + } + + return parent::rest_read($terminalId, $parameters); + } + + /** + * Retrieves a collection of Terminals from Mollie for the current organization / profile, ordered from newest to oldest. + * + * @param string $from The first terminal ID you want to include in your list. + * @param int $limit + * @param array $parameters + * + * @return TerminalCollection + * @throws ApiException + */ + public function page($from = null, $limit = null, array $parameters = []) + { + return $this->rest_list($from, $limit, $parameters); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Endpoints/WalletEndpoint.php b/vendor_manual/mollie/mollie-api-php/src/Endpoints/WalletEndpoint.php new file mode 100644 index 000000000..628aaebde --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Endpoints/WalletEndpoint.php @@ -0,0 +1,44 @@ +parseRequestBody(array_merge([ + 'domain' => $domain, + 'validationUrl' => $validationUrl, + ], $parameters)); + + $response = $this->client->performHttpCall( + self::REST_CREATE, + 'wallets/applepay/sessions', + $body + ); + + return json_encode($response); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Exceptions/ApiException.php b/vendor_manual/mollie/mollie-api-php/src/Exceptions/ApiException.php new file mode 100644 index 000000000..dc619db6e --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Exceptions/ApiException.php @@ -0,0 +1,244 @@ +plainMessage = $message; + + $this->raisedAt = new \DateTimeImmutable(); + + $formattedRaisedAt = $this->raisedAt->format(DateTime::ISO8601); + $message = "[{$formattedRaisedAt}] " . $message; + + if (! empty($field)) { + $this->field = (string)$field; + $message .= ". Field: {$this->field}"; + } + + if (! empty($response)) { + $this->response = $response; + + $object = static::parseResponseBody($this->response); + + if (isset($object->_links)) { + foreach ($object->_links as $key => $value) { + $this->links[$key] = $value; + } + } + } + + if ($this->hasLink('documentation')) { + $message .= ". Documentation: {$this->getDocumentationUrl()}"; + } + + $this->request = $request; + if ($request) { + $requestBody = $request->getBody()->__toString(); + + if ($requestBody) { + $message .= ". Request body: {$requestBody}"; + } + } + + parent::__construct($message, $code, $previous); + } + + /** + * @param \Psr\Http\Message\ResponseInterface $response + * @param \Psr\Http\Message\RequestInterface $request + * @param \Throwable|null $previous + * @return \Mollie\Api\Exceptions\ApiException + * @throws \Mollie\Api\Exceptions\ApiException + */ + public static function createFromResponse($response, $request = null, $previous = null) + { + $object = static::parseResponseBody($response); + + $field = null; + if (! empty($object->field)) { + $field = $object->field; + } + + return new self( + "Error executing API call ({$object->status}: {$object->title}): {$object->detail}", + $response->getStatusCode(), + $field, + $request, + $response, + $previous + ); + } + + /** + * @return string|null + */ + public function getField() + { + return $this->field; + } + + /** + * @return string|null + */ + public function getDocumentationUrl() + { + return $this->getUrl('documentation'); + } + + /** + * @return string|null + */ + public function getDashboardUrl() + { + return $this->getUrl('dashboard'); + } + + /** + * @return \Psr\Http\Message\ResponseInterface|null + */ + public function getResponse() + { + return $this->response; + } + + /** + * @return bool + */ + public function hasResponse() + { + return $this->response !== null; + } + + /** + * @param string $key + * @return bool + */ + public function hasLink($key) + { + return array_key_exists($key, $this->links); + } + + /** + * @param string $key + * @return mixed|null + */ + public function getLink($key) + { + if ($this->hasLink($key)) { + return $this->links[$key]; + } + + return null; + } + + /** + * @param string $key + * @return null + */ + public function getUrl($key) + { + if ($this->hasLink($key)) { + return $this->getLink($key)->href; + } + + return null; + } + + /** + * @return \Psr\Http\Message\RequestInterface + */ + public function getRequest() + { + return $this->request; + } + + /** + * Get the ISO8601 representation of the moment this exception was thrown + * + * @return \DateTimeImmutable + */ + public function getRaisedAt() + { + return $this->raisedAt; + } + + /** + * @param \Psr\Http\Message\ResponseInterface $response + * @return \stdClass + * @throws \Mollie\Api\Exceptions\ApiException + */ + protected static function parseResponseBody($response) + { + $body = (string) $response->getBody(); + + $object = @json_decode($body); + + if (json_last_error() !== JSON_ERROR_NONE) { + throw new self("Unable to decode Mollie response: '{$body}'."); + } + + return $object; + } + + /** + * Retrieve the plain exception message. + * + * @return string + */ + public function getPlainMessage() + { + return $this->plainMessage; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Exceptions/CurlConnectTimeoutException.php b/vendor_manual/mollie/mollie-api-php/src/Exceptions/CurlConnectTimeoutException.php new file mode 100644 index 000000000..ab40ca1bc --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Exceptions/CurlConnectTimeoutException.php @@ -0,0 +1,7 @@ +attemptRequest($httpMethod, $url, $headers, $httpBody); + } catch (CurlConnectTimeoutException $e) { + // Nothing + } + } + + throw new CurlConnectTimeoutException( + "Unable to connect to Mollie. Maximum number of retries (". self::MAX_RETRIES .") reached." + ); + } + + /** + * @param string $httpMethod + * @param string $url + * @param array $headers + * @param string $httpBody + * @return \stdClass|void|null + * @throws \Mollie\Api\Exceptions\ApiException + */ + protected function attemptRequest($httpMethod, $url, $headers, $httpBody) + { + $curl = curl_init($url); + $headers["Content-Type"] = "application/json"; + + curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); + curl_setopt($curl, CURLOPT_HTTPHEADER, $this->parseHeaders($headers)); + curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, self::DEFAULT_CONNECT_TIMEOUT); + curl_setopt($curl, CURLOPT_TIMEOUT, self::DEFAULT_TIMEOUT); + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true); + curl_setopt($curl, CURLOPT_CAINFO, CaBundle::getBundledCaBundlePath()); + + switch ($httpMethod) { + case MollieApiClient::HTTP_POST: + curl_setopt($curl, CURLOPT_POST, true); + curl_setopt($curl, CURLOPT_POSTFIELDS, $httpBody); + + break; + case MollieApiClient::HTTP_GET: + break; + case MollieApiClient::HTTP_PATCH: + curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'PATCH'); + curl_setopt($curl, CURLOPT_POSTFIELDS, $httpBody); + + break; + case MollieApiClient::HTTP_DELETE: + curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'DELETE'); + curl_setopt($curl, CURLOPT_POSTFIELDS, $httpBody); + + break; + default: + throw new \InvalidArgumentException("Invalid http method: ". $httpMethod); + } + + $startTime = microtime(true); + $response = curl_exec($curl); + $endTime = microtime(true); + + if ($response === false) { + $executionTime = $endTime - $startTime; + $curlErrorNumber = curl_errno($curl); + $curlErrorMessage = "Curl error: " . curl_error($curl); + + if ($this->isConnectTimeoutError($curlErrorNumber, $executionTime)) { + throw new CurlConnectTimeoutException("Unable to connect to Mollie. " . $curlErrorMessage); + } + + throw new ApiException($curlErrorMessage); + } + + $statusCode = curl_getinfo($curl, CURLINFO_RESPONSE_CODE); + curl_close($curl); + + return $this->parseResponseBody($response, $statusCode, $httpBody); + } + + /** + * The version number for the underlying http client, if available. + * @example Guzzle/6.3 + * + * @return string|null + */ + public function versionString() + { + return 'Curl/*'; + } + + /** + * Whether this http adapter provides a debugging mode. If debugging mode is enabled, the + * request will be included in the ApiException. + * + * @return false + */ + public function supportsDebugging() + { + return false; + } + + /** + * @param int $curlErrorNumber + * @param string|float $executionTime + * @return bool + */ + protected function isConnectTimeoutError($curlErrorNumber, $executionTime) + { + $connectErrors = [ + \CURLE_COULDNT_RESOLVE_HOST => true, + \CURLE_COULDNT_CONNECT => true, + \CURLE_SSL_CONNECT_ERROR => true, + \CURLE_GOT_NOTHING => true, + ]; + + if (isset($connectErrors[$curlErrorNumber])) { + return true; + }; + + if ($curlErrorNumber === \CURLE_OPERATION_TIMEOUTED) { + if ($executionTime > self::DEFAULT_TIMEOUT) { + return false; + } + + return true; + } + + return false; + } + + /** + * @param string $response + * @param int $statusCode + * @param string $httpBody + * @return \stdClass|null + * @throws \Mollie\Api\Exceptions\ApiException + */ + protected function parseResponseBody($response, $statusCode, $httpBody) + { + if (empty($response)) { + if ($statusCode === self::HTTP_NO_CONTENT) { + return null; + } + + throw new ApiException("No response body found."); + } + + $body = @json_decode($response); + + // GUARDS + if (json_last_error() !== JSON_ERROR_NONE) { + throw new ApiException("Unable to decode Mollie response: '{$response}'."); + } + + if (isset($body->error)) { + throw new ApiException($body->error->message); + } + + if ($statusCode >= 400) { + $message = "Error executing API call ({$body->status}: {$body->title}): {$body->detail}"; + + $field = null; + + if (! empty($body->field)) { + $field = $body->field; + } + + if (isset($body->_links, $body->_links->documentation)) { + $message .= ". Documentation: {$body->_links->documentation->href}"; + } + + if ($httpBody) { + $message .= ". Request body: {$httpBody}"; + } + + throw new ApiException($message, $statusCode, $field); + } + + return $body; + } + + protected function parseHeaders($headers) + { + $result = []; + + foreach ($headers as $key => $value) { + $result[] = $key .': ' . $value; + } + + return $result; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7MollieHttpAdapter.php b/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7MollieHttpAdapter.php new file mode 100644 index 000000000..a9e27cdb3 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7MollieHttpAdapter.php @@ -0,0 +1,198 @@ +httpClient = $httpClient; + } + + /** + * Instantiate a default adapter with sane configuration for Guzzle 6 or 7. + * + * @return static + */ + public static function createDefault() + { + $retryMiddlewareFactory = new Guzzle6And7RetryMiddlewareFactory; + $handlerStack = HandlerStack::create(); + $handlerStack->push($retryMiddlewareFactory->retry()); + + $client = new Client([ + GuzzleRequestOptions::VERIFY => CaBundle::getBundledCaBundlePath(), + GuzzleRequestOptions::TIMEOUT => self::DEFAULT_TIMEOUT, + GuzzleRequestOptions::CONNECT_TIMEOUT => self::DEFAULT_CONNECT_TIMEOUT, + 'handler' => $handlerStack, + ]); + + return new Guzzle6And7MollieHttpAdapter($client); + } + + /** + * Send a request to the specified Mollie api url. + * + * @param string $httpMethod + * @param string $url + * @param array $headers + * @param string $httpBody + * @return \stdClass|null + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function send($httpMethod, $url, $headers, $httpBody) + { + $request = new Request($httpMethod, $url, $headers, $httpBody); + + try { + $response = $this->httpClient->send($request, ['http_errors' => false]); + } catch (GuzzleException $e) { + // Prevent sensitive request data from ending up in exception logs unintended + if (! $this->debugging) { + $request = null; + } + + // Not all Guzzle Exceptions implement hasResponse() / getResponse() + if (method_exists($e, 'hasResponse') && method_exists($e, 'getResponse')) { + if ($e->hasResponse()) { + throw ApiException::createFromResponse($e->getResponse(), $request); + } + } + + throw new ApiException($e->getMessage(), $e->getCode(), null, $request, null); + } + + return $this->parseResponseBody($response); + } + + /** + * Whether this http adapter provides a debugging mode. If debugging mode is enabled, the + * request will be included in the ApiException. + * + * @return true + */ + public function supportsDebugging() + { + return true; + } + + /** + * Whether debugging is enabled. If debugging mode is enabled, the request will + * be included in the ApiException. By default, debugging is disabled to prevent + * sensitive request data from leaking into exception logs. + * + * @return bool + */ + public function debugging() + { + return $this->debugging; + } + + /** + * Enable debugging. If debugging mode is enabled, the request will + * be included in the ApiException. By default, debugging is disabled to prevent + * sensitive request data from leaking into exception logs. + */ + public function enableDebugging() + { + $this->debugging = true; + } + + /** + * Disable debugging. If debugging mode is enabled, the request will + * be included in the ApiException. By default, debugging is disabled to prevent + * sensitive request data from leaking into exception logs. + */ + public function disableDebugging() + { + $this->debugging = false; + } + + /** + * Parse the PSR-7 Response body + * + * @param ResponseInterface $response + * @return \stdClass|null + * @throws ApiException + */ + private function parseResponseBody(ResponseInterface $response) + { + $body = (string) $response->getBody(); + if (empty($body)) { + if ($response->getStatusCode() === self::HTTP_NO_CONTENT) { + return null; + } + + throw new ApiException("No response body found."); + } + + $object = @json_decode($body); + + if (json_last_error() !== JSON_ERROR_NONE) { + throw new ApiException("Unable to decode Mollie response: '{$body}'."); + } + + if ($response->getStatusCode() >= 400) { + throw ApiException::createFromResponse($response, null); + } + + return $object; + } + + /** + * The version number for the underlying http client, if available. This is used to report the UserAgent to Mollie, + * for convenient support. + * @example Guzzle/6.3 + * + * @return string|null + */ + public function versionString() + { + if (defined('\GuzzleHttp\ClientInterface::MAJOR_VERSION')) { // Guzzle 7 + return "Guzzle/" . ClientInterface::MAJOR_VERSION; + } elseif (defined('\GuzzleHttp\ClientInterface::VERSION')) { // Before Guzzle 7 + return "Guzzle/" . ClientInterface::VERSION; + } + + return null; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7RetryMiddlewareFactory.php b/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7RetryMiddlewareFactory.php new file mode 100644 index 000000000..b6d8cb73e --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/Guzzle6And7RetryMiddlewareFactory.php @@ -0,0 +1,83 @@ +newRetryDecider(), + $delay ? $this->getRetryDelay() : $this->getZeroRetryDelay() + ); + } + + /** + * Returns a method that takes the number of retries and returns the number of milliseconds + * to wait + * + * @return callable + */ + private function getRetryDelay() + { + return function ($numberOfRetries) { + return static::DELAY_INCREASE_MS * $numberOfRetries; + }; + } + + /** + * Returns a method that returns zero milliseconds to wait + * + * @return callable + */ + private function getZeroRetryDelay() + { + return function ($numberOfRetries) { + return 0; + }; + } + + /** + * @return callable + */ + private function newRetryDecider() + { + return function ( + $retries, + Request $request, + Response $response = null, + TransferException $exception = null + ) { + if ($retries >= static::MAX_RETRIES) { + return false; + } + + if ($exception instanceof ConnectException) { + return true; + } + + return false; + }; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/MollieHttpAdapterInterface.php b/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/MollieHttpAdapterInterface.php new file mode 100644 index 000000000..226bbef85 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/MollieHttpAdapterInterface.php @@ -0,0 +1,26 @@ +guzzleIsDetected()) { + $guzzleVersion = $this->guzzleMajorVersionNumber(); + + if ($guzzleVersion && in_array($guzzleVersion, [6, 7])) { + return Guzzle6And7MollieHttpAdapter::createDefault(); + } + } + + return new CurlMollieHttpAdapter; + } + + if ($httpClient instanceof MollieHttpAdapterInterface) { + return $httpClient; + } + + if ($httpClient instanceof \GuzzleHttp\ClientInterface) { + return new Guzzle6And7MollieHttpAdapter($httpClient); + } + + throw new UnrecognizedClientException('The provided http client or adapter was not recognized.'); + } + + /** + * @return bool + */ + private function guzzleIsDetected() + { + return interface_exists('\\' . \GuzzleHttp\ClientInterface::class); + } + + /** + * @return int|null + */ + private function guzzleMajorVersionNumber() + { + // Guzzle 7 + if (defined('\GuzzleHttp\ClientInterface::MAJOR_VERSION')) { + return (int) \GuzzleHttp\ClientInterface::MAJOR_VERSION; + } + + // Before Guzzle 7 + if (defined('\GuzzleHttp\ClientInterface::VERSION')) { + return (int) \GuzzleHttp\ClientInterface::VERSION[0]; + } + + return null; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/MollieHttpAdapterPickerInterface.php b/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/MollieHttpAdapterPickerInterface.php new file mode 100644 index 000000000..b91542d61 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/HttpAdapter/MollieHttpAdapterPickerInterface.php @@ -0,0 +1,13 @@ +length = $length; + } + + /** + * @throws \Mollie\Api\Exceptions\IncompatiblePlatform + * @return string + */ + public function generate() + { + $length = $this->length; + + $string = ''; + + while (($len = strlen($string)) < $length) { + $size = $length - $len; + + try { + $bytes = random_bytes($size); + } catch (\Exception $e) { + throw new IncompatiblePlatform( + 'PHP function random_bytes missing. Consider overriding the DefaultIdempotencyKeyGenerator with your own.', + IncompatiblePlatform::INCOMPATIBLE_RANDOM_BYTES_FUNCTION + ); + } + + $string .= substr(str_replace(['/', '+', '='], '', base64_encode($bytes)), 0, $size); + } + + return $string; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Idempotency/FakeIdempotencyKeyGenerator.php b/vendor_manual/mollie/mollie-api-php/src/Idempotency/FakeIdempotencyKeyGenerator.php new file mode 100644 index 000000000..95871939f --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Idempotency/FakeIdempotencyKeyGenerator.php @@ -0,0 +1,21 @@ +fakeKey = $fakeKey; + } + + public function generate() + { + return $this->fakeKey; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Idempotency/IdempotencyKeyGeneratorContract.php b/vendor_manual/mollie/mollie-api-php/src/Idempotency/IdempotencyKeyGeneratorContract.php new file mode 100644 index 000000000..6ffe80ca6 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Idempotency/IdempotencyKeyGeneratorContract.php @@ -0,0 +1,7 @@ +httpClient = $httpAdapterPicker->pickHttpAdapter($httpClient); + + $compatibilityChecker = new CompatibilityChecker; + $compatibilityChecker->checkCompatibility(); + + $this->initializeEndpoints(); + $this->initializeVersionStrings(); + $this->initializeIdempotencyKeyGenerator($idempotencyKeyGenerator); + } + + public function initializeEndpoints() + { + $this->payments = new PaymentEndpoint($this); + $this->methods = new MethodEndpoint($this); + $this->profileMethods = new ProfileMethodEndpoint($this); + $this->customers = new CustomerEndpoint($this); + $this->settlements = new SettlementsEndpoint($this); + $this->settlementPayments = new SettlementPaymentEndpoint($this); + $this->subscriptions = new SubscriptionEndpoint($this); + $this->customerPayments = new CustomerPaymentsEndpoint($this); + $this->mandates = new MandateEndpoint($this); + $this->balances = new BalanceEndpoint($this); + $this->balanceTransactions = new BalanceTransactionEndpoint($this); + $this->balanceReports = new BalanceReportEndpoint($this); + $this->invoices = new InvoiceEndpoint($this); + $this->permissions = new PermissionEndpoint($this); + $this->profiles = new ProfileEndpoint($this); + $this->onboarding = new OnboardingEndpoint($this); + $this->organizations = new OrganizationEndpoint($this); + $this->orders = new OrderEndpoint($this); + $this->orderLines = new OrderLineEndpoint($this); + $this->orderPayments = new OrderPaymentEndpoint($this); + $this->orderRefunds = new OrderRefundEndpoint($this); + $this->shipments = new ShipmentEndpoint($this); + $this->refunds = new RefundEndpoint($this); + $this->paymentRefunds = new PaymentRefundEndpoint($this); + $this->paymentCaptures = new PaymentCaptureEndpoint($this); + $this->paymentRoutes = new PaymentRouteEndpoint($this); + $this->chargebacks = new ChargebackEndpoint($this); + $this->paymentChargebacks = new PaymentChargebackEndpoint($this); + $this->wallets = new WalletEndpoint($this); + $this->paymentLinks = new PaymentLinkEndpoint($this); + $this->terminals = new TerminalEndpoint($this); + $this->organizationPartners = new OrganizationPartnerEndpoint($this); + $this->clients = new ClientEndpoint($this); + $this->clientLinks = new ClientLinkEndpoint($this); + } + + protected function initializeVersionStrings() + { + $this->addVersionString("Mollie/" . self::CLIENT_VERSION); + $this->addVersionString("PHP/" . phpversion()); + + $httpClientVersionString = $this->httpClient->versionString(); + if ($httpClientVersionString) { + $this->addVersionString($httpClientVersionString); + } + } + + /** + * @param \Mollie\Api\Idempotency\IdempotencyKeyGeneratorContract $generator + * @return void + */ + protected function initializeIdempotencyKeyGenerator($generator) + { + $this->idempotencyKeyGenerator = $generator ? $generator : new DefaultIdempotencyKeyGenerator; + } + + /** + * @param string $url + * + * @return MollieApiClient + */ + public function setApiEndpoint($url) + { + $this->apiEndpoint = rtrim(trim($url), '/'); + + return $this; + } + + /** + * @return string + */ + public function getApiEndpoint() + { + return $this->apiEndpoint; + } + + /** + * @return array + */ + public function getVersionStrings() + { + return $this->versionStrings; + } + + /** + * @param string $apiKey The Mollie API key, starting with 'test_' or 'live_' + * + * @return MollieApiClient + * @throws ApiException + */ + public function setApiKey($apiKey) + { + $apiKey = trim($apiKey); + + if (! preg_match('/^(live|test)_\w{30,}$/', $apiKey)) { + throw new ApiException("Invalid API key: '{$apiKey}'. An API key must start with 'test_' or 'live_' and must be at least 30 characters long."); + } + + $this->apiKey = $apiKey; + $this->oauthAccess = false; + + return $this; + } + + /** + * @param string $accessToken OAuth access token, starting with 'access_' + * + * @return MollieApiClient + * @throws ApiException + */ + public function setAccessToken($accessToken) + { + $accessToken = trim($accessToken); + + if (! preg_match('/^access_\w+$/', $accessToken)) { + throw new ApiException("Invalid OAuth access token: '{$accessToken}'. An access token must start with 'access_'."); + } + + $this->apiKey = $accessToken; + $this->oauthAccess = true; + + return $this; + } + + /** + * Returns null if no API key has been set yet. + * + * @return bool|null + */ + public function usesOAuth() + { + return $this->oauthAccess; + } + + /** + * @param string $versionString + * + * @return MollieApiClient + */ + public function addVersionString($versionString) + { + $this->versionStrings[] = str_replace([" ", "\t", "\n", "\r"], '-', $versionString); + + return $this; + } + + /** + * Enable debugging mode. If debugging mode is enabled, the attempted request will be included in the ApiException. + * By default, debugging is disabled to prevent leaking sensitive request data into exception logs. + * + * @throws \Mollie\Api\Exceptions\HttpAdapterDoesNotSupportDebuggingException + */ + public function enableDebugging() + { + if ( + ! method_exists($this->httpClient, 'supportsDebugging') + || ! $this->httpClient->supportsDebugging() + ) { + throw new HttpAdapterDoesNotSupportDebuggingException( + "Debugging is not supported by " . get_class($this->httpClient) . "." + ); + } + + $this->httpClient->enableDebugging(); + } + + /** + * Disable debugging mode. If debugging mode is enabled, the attempted request will be included in the ApiException. + * By default, debugging is disabled to prevent leaking sensitive request data into exception logs. + * + * @throws \Mollie\Api\Exceptions\HttpAdapterDoesNotSupportDebuggingException + */ + public function disableDebugging() + { + if ( + ! method_exists($this->httpClient, 'supportsDebugging') + || ! $this->httpClient->supportsDebugging() + ) { + throw new HttpAdapterDoesNotSupportDebuggingException( + "Debugging is not supported by " . get_class($this->httpClient) . "." + ); + } + + $this->httpClient->disableDebugging(); + } + + /** + * Set the idempotency key used on the next request. The idempotency key is a unique string ensuring a request to a + * mutating Mollie endpoint is processed only once. The idempotency key resets to null after each request. Using + * the setIdempotencyKey method supersedes the IdempotencyKeyGenerator. + * + * @param $key + * @return $this + */ + public function setIdempotencyKey($key) + { + $this->idempotencyKey = $key; + + return $this; + } + + /** + * Retrieve the idempotency key. The idempotency key is a unique string ensuring a request to a + * mutating Mollie endpoint is processed only once. Note that the idempotency key gets reset to null after each + * request. + * + * @return string|null + */ + public function getIdempotencyKey() + { + return $this->idempotencyKey; + } + + /** + * Reset the idempotency key. Note that the idempotency key automatically resets to null after each request. + * @return $this + */ + public function resetIdempotencyKey() + { + $this->idempotencyKey = null; + + return $this; + } + + /** + * @param \Mollie\Api\Idempotency\IdempotencyKeyGeneratorContract $generator + * @return \Mollie\Api\MollieApiClient + */ + public function setIdempotencyKeyGenerator($generator) + { + $this->idempotencyKeyGenerator = $generator; + + return $this; + } + + /** + * @return \Mollie\Api\MollieApiClient + */ + public function clearIdempotencyKeyGenerator() + { + $this->idempotencyKeyGenerator = null; + + return $this; + } + + /** + * Perform a http call. This method is used by the resource specific classes. Please use the $payments property to + * perform operations on payments. + * + * @param string $httpMethod + * @param string $apiMethod + * @param string|null $httpBody + * + * @return \stdClass + * @throws ApiException + * + * @codeCoverageIgnore + */ + public function performHttpCall($httpMethod, $apiMethod, $httpBody = null) + { + $url = $this->apiEndpoint . "/" . self::API_VERSION . "/" . $apiMethod; + + return $this->performHttpCallToFullUrl($httpMethod, $url, $httpBody); + } + + /** + * Perform a http call to a full url. This method is used by the resource specific classes. + * + * @see $payments + * @see $isuers + * + * @param string $httpMethod + * @param string $url + * @param string|null $httpBody + * + * @return \stdClass|null + * @throws ApiException + * + * @codeCoverageIgnore + */ + public function performHttpCallToFullUrl($httpMethod, $url, $httpBody = null) + { + if (empty($this->apiKey)) { + throw new ApiException("You have not set an API key or OAuth access token. Please use setApiKey() to set the API key."); + } + + $userAgent = implode(' ', $this->versionStrings); + + if ($this->usesOAuth()) { + $userAgent .= " OAuth/2.0"; + } + + $headers = [ + 'Accept' => "application/json", + 'Authorization' => "Bearer {$this->apiKey}", + 'User-Agent' => $userAgent, + ]; + + if ($httpBody !== null) { + $headers['Content-Type'] = "application/json"; + } + + if (function_exists("php_uname")) { + $headers['X-Mollie-Client-Info'] = php_uname(); + } + + $headers = $this->applyIdempotencyKey($headers, $httpMethod); + + $response = $this->httpClient->send($httpMethod, $url, $headers, $httpBody); + + $this->resetIdempotencyKey(); + + return $response; + } + + /** + * Conditionally apply the idempotency key to the request headers + * + * @param array $headers + * @param string $httpMethod + * @return array + */ + private function applyIdempotencyKey(array $headers, string $httpMethod) + { + if (! in_array($httpMethod, [self::HTTP_POST, self::HTTP_PATCH, self::HTTP_DELETE])) { + unset($headers['Idempotency-Key']); + + return $headers; + } + + if ($this->idempotencyKey) { + $headers['Idempotency-Key'] = $this->idempotencyKey; + + return $headers; + } + + if ($this->idempotencyKeyGenerator) { + $headers['Idempotency-Key'] = $this->idempotencyKeyGenerator->generate(); + + return $headers; + } + + unset($headers['Idempotency-Key']); + + return $headers; + } + + /** + * Serialization can be used for caching. Of course doing so can be dangerous but some like to live dangerously. + * + * \serialize() should be called on the collections or object you want to cache. + * + * We don't need any property that can be set by the constructor, only properties that are set by setters. + * + * Note that the API key is not serialized, so you need to set the key again after unserializing if you want to do + * more API calls. + * + * @deprecated + * @return string[] + */ + public function __sleep() + { + return ["apiEndpoint"]; + } + + /** + * When unserializing a collection or a resource, this class should restore itself. + * + * Note that if you have set an HttpAdapter, this adapter is lost on wakeup and reset to the default one. + * + * @throws IncompatiblePlatform If suddenly unserialized on an incompatible platform. + */ + public function __wakeup() + { + $this->__construct(); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Balance.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Balance.php new file mode 100644 index 000000000..c84ad5678 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Balance.php @@ -0,0 +1,114 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/BalanceReport.php b/vendor_manual/mollie/mollie-api-php/src/Resources/BalanceReport.php new file mode 100644 index 000000000..96479f742 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/BalanceReport.php @@ -0,0 +1,80 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/BaseCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/BaseCollection.php new file mode 100644 index 000000000..fd43b87a6 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/BaseCollection.php @@ -0,0 +1,34 @@ +count = $count; + $this->_links = $_links; + parent::__construct(); + } + + /** + * @return string|null + */ + abstract public function getCollectionResourceName(); +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/BaseResource.php b/vendor_manual/mollie/mollie-api-php/src/Resources/BaseResource.php new file mode 100644 index 000000000..d5762ccfd --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/BaseResource.php @@ -0,0 +1,31 @@ +client = $client; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Capture.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Capture.php new file mode 100644 index 000000000..2fc7c4e5e --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Capture.php @@ -0,0 +1,71 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Chargeback.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Chargeback.php new file mode 100644 index 000000000..d55b6da09 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Chargeback.php @@ -0,0 +1,75 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Client.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Client.php new file mode 100644 index 000000000..ed226421b --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Client.php @@ -0,0 +1,36 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/ClientLink.php b/vendor_manual/mollie/mollie-api-php/src/Resources/ClientLink.php new file mode 100644 index 000000000..36ac0b7a3 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/ClientLink.php @@ -0,0 +1,49 @@ + $client_id, + 'state' => $state, + 'approval_prompt' => $approval_prompt, + 'scope' => implode(' ', $scopes), + ], '', '&', PHP_QUERY_RFC3986); + + return "{$this->_links->clientLink->href}?{$query}"; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/CurrentProfile.php b/vendor_manual/mollie/mollie-api-php/src/Resources/CurrentProfile.php new file mode 100644 index 000000000..b351fa92e --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/CurrentProfile.php @@ -0,0 +1,34 @@ +client->profileMethods->createForCurrentProfile($methodId, $data); + } + + /** + * Disable a payment method for this profile. + * + * @param string $methodId + * @param array $data + * @return Method + * @throws ApiException + */ + public function disableMethod($methodId, array $data = []) + { + return $this->client->profileMethods->deleteForCurrentProfile($methodId, $data); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/CursorCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/CursorCollection.php new file mode 100644 index 000000000..e32653351 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/CursorCollection.php @@ -0,0 +1,96 @@ +client = $client; + } + + /** + * @return BaseResource + */ + abstract protected function createResourceObject(); + + /** + * Return the next set of resources when available + * + * @return CursorCollection|null + * @throws \Mollie\Api\Exceptions\ApiException + */ + final public function next() + { + if (! $this->hasNext()) { + return null; + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->next->href); + + $collection = new static($this->client, $result->count, $result->_links); + + foreach ($result->_embedded->{$collection->getCollectionResourceName()} as $dataResult) { + $collection[] = ResourceFactory::createFromApiResult($dataResult, $this->createResourceObject()); + } + + return $collection; + } + + /** + * Return the previous set of resources when available + * + * @return CursorCollection|null + * @throws \Mollie\Api\Exceptions\ApiException + */ + final public function previous() + { + if (! $this->hasPrevious()) { + return null; + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->previous->href); + + $collection = new static($this->client, $result->count, $result->_links); + + foreach ($result->_embedded->{$collection->getCollectionResourceName()} as $dataResult) { + $collection[] = ResourceFactory::createFromApiResult($dataResult, $this->createResourceObject()); + } + + return $collection; + } + + /** + * Determine whether the collection has a next page available. + * + * @return bool + */ + public function hasNext() + { + return isset($this->_links->next->href); + } + + /** + * Determine whether the collection has a previous page available. + * + * @return bool + */ + public function hasPrevious() + { + return isset($this->_links->previous->href); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Customer.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Customer.php new file mode 100644 index 000000000..98fc7443d --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Customer.php @@ -0,0 +1,250 @@ + $this->name, + "email" => $this->email, + "locale" => $this->locale, + "metadata" => $this->metadata, + ]; + + $result = $this->client->customers->update($this->id, $body); + + return ResourceFactory::createFromApiResult($result, new Customer($this->client)); + } + + /** + * @param array $options + * @param array $filters + * + * @return Payment + * @throws ApiException + */ + public function createPayment(array $options = [], array $filters = []) + { + return $this->client->customerPayments->createFor($this, $this->withPresetOptions($options), $filters); + } + + /** + * Get all payments for this customer + * + * @return PaymentCollection + * @throws ApiException + */ + public function payments() + { + return $this->client->customerPayments->listFor($this, null, null, $this->getPresetOptions()); + } + + /** + * @param array $options + * @param array $filters + * + * @return Subscription + * @throws ApiException + */ + public function createSubscription(array $options = [], array $filters = []) + { + return $this->client->subscriptions->createFor($this, $this->withPresetOptions($options), $filters); + } + + /** + * @param string $subscriptionId + * @param array $parameters + * + * @return Subscription + * @throws ApiException + */ + public function getSubscription($subscriptionId, array $parameters = []) + { + return $this->client->subscriptions->getFor($this, $subscriptionId, $this->withPresetOptions($parameters)); + } + + /** + * @param string $subscriptionId + * + * @return null + * @throws ApiException + */ + public function cancelSubscription($subscriptionId) + { + return $this->client->subscriptions->cancelFor($this, $subscriptionId, $this->getPresetOptions()); + } + + /** + * Get all subscriptions for this customer + * + * @return SubscriptionCollection + * @throws ApiException + */ + public function subscriptions() + { + return $this->client->subscriptions->listFor($this, null, null, $this->getPresetOptions()); + } + + /** + * @param array $options + * @param array $filters + * + * @return Mandate + * @throws ApiException + */ + public function createMandate(array $options = [], array $filters = []) + { + return $this->client->mandates->createFor($this, $this->withPresetOptions($options), $filters); + } + + /** + * @param string $mandateId + * @param array $parameters + * + * @return Mandate + * @throws ApiException + */ + public function getMandate($mandateId, array $parameters = []) + { + return $this->client->mandates->getFor($this, $mandateId, $parameters); + } + + /** + * @param string $mandateId + * + * @return null + * @throws ApiException + */ + public function revokeMandate($mandateId) + { + return $this->client->mandates->revokeFor($this, $mandateId, $this->getPresetOptions()); + } + + /** + * Get all mandates for this customer + * + * @return MandateCollection + * @throws ApiException + */ + public function mandates() + { + return $this->client->mandates->listFor($this, null, null, $this->getPresetOptions()); + } + + /** + * Helper function to check for mandate with status valid + * + * @return bool + */ + public function hasValidMandate() + { + $mandates = $this->mandates(); + foreach ($mandates as $mandate) { + if ($mandate->isValid()) { + return true; + } + } + + return false; + } + + /** + * Helper function to check for specific payment method mandate with status valid + * + * @return bool + */ + public function hasValidMandateForMethod($method) + { + $mandates = $this->mandates(); + foreach ($mandates as $mandate) { + if ($mandate->method === $method && $mandate->isValid()) { + return true; + } + } + + return false; + } + + /** + * When accessed by oAuth we want to pass the testmode by default + * + * @return array + */ + private function getPresetOptions() + { + $options = []; + if ($this->client->usesOAuth()) { + $options["testmode"] = $this->mode === "test" ? true : false; + } + + return $options; + } + + /** + * Apply the preset options. + * + * @param array $options + * @return array + */ + private function withPresetOptions(array $options) + { + return array_merge($this->getPresetOptions(), $options); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/CustomerCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/CustomerCollection.php new file mode 100644 index 000000000..deece5770 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/CustomerCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Invoice.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Invoice.php new file mode 100644 index 000000000..70b86e775 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Invoice.php @@ -0,0 +1,109 @@ +status == InvoiceStatus::STATUS_PAID; + } + + /** + * @return bool + */ + public function isOpen() + { + return $this->status == InvoiceStatus::STATUS_OPEN; + } + + /** + * @return bool + */ + public function isOverdue() + { + return $this->status == InvoiceStatus::STATUS_OVERDUE; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/InvoiceCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/InvoiceCollection.php new file mode 100644 index 000000000..3278dd082 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/InvoiceCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Issuer.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Issuer.php new file mode 100644 index 000000000..357238c81 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Issuer.php @@ -0,0 +1,35 @@ +status === MandateStatus::STATUS_VALID; + } + + /** + * @return bool + */ + public function isPending() + { + return $this->status === MandateStatus::STATUS_PENDING; + } + + /** + * @return bool + */ + public function isInvalid() + { + return $this->status === MandateStatus::STATUS_INVALID; + } + + /** + * Revoke the mandate + * + * @return null|\stdClass|\Mollie\Api\Resources\Mandate + */ + public function revoke() + { + if (! isset($this->_links->self->href)) { + return $this; + } + + $body = null; + if ($this->client->usesOAuth()) { + $body = json_encode([ + "testmode" => $this->mode === "test" ? true : false, + ]); + } + + $result = $this->client->performHttpCallToFullUrl( + MollieApiClient::HTTP_DELETE, + $this->_links->self->href, + $body + ); + + return $result; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/MandateCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/MandateCollection.php new file mode 100644 index 000000000..23d39d16c --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/MandateCollection.php @@ -0,0 +1,40 @@ +client); + } + + /** + * @param string $status + * @return array|\Mollie\Api\Resources\MandateCollection + */ + public function whereStatus($status) + { + $collection = new self($this->client, 0, $this->_links); + + foreach ($this as $item) { + if ($item->status === $status) { + $collection[] = $item; + $collection->count++; + } + } + + return $collection; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Method.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Method.php new file mode 100644 index 000000000..fac587437 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Method.php @@ -0,0 +1,100 @@ +size1x and $image->size2x to display the payment method logo. + * + * @var \stdClass + */ + public $image; + + /** + * The issuers available for this payment method. Only for the methods iDEAL, KBC/CBC and gift cards. + * Will only be filled when explicitly requested using the query string `include` parameter. + * + * @var array|object[] + */ + public $issuers; + + /** + * The pricing for this payment method. Will only be filled when explicitly requested using the query string + * `include` parameter. + * + * @var array|object[] + */ + public $pricing; + + /** + * The activation status the method is in. + * If the method has status "null", this value will be returned as a null value, not as a string. + * + * @var string | null + */ + public $status; + + /** + * @var \stdClass + */ + public $_links; + + /** + * Get the issuer value objects + * + * @return IssuerCollection + */ + public function issuers() + { + return ResourceFactory::createBaseResourceCollection( + $this->client, + Issuer::class, + $this->issuers + ); + } + + /** + * Get the method price value objects. + * + * @return MethodPriceCollection + */ + public function pricing() + { + return ResourceFactory::createBaseResourceCollection( + $this->client, + MethodPrice::class, + $this->pricing + ); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/MethodCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/MethodCollection.php new file mode 100644 index 000000000..a1f204109 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/MethodCollection.php @@ -0,0 +1,14 @@ +status === OnboardingStatus::NEEDS_DATA; + } + + /** + * @return bool + */ + public function isInReview() + { + return $this->status === OnboardingStatus::IN_REVIEW; + } + + /** + * @return bool + */ + public function isCompleted() + { + return $this->status === OnboardingStatus::COMPLETED; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Order.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Order.php new file mode 100644 index 000000000..349a2c3df --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Order.php @@ -0,0 +1,570 @@ +status === OrderStatus::STATUS_CREATED; + } + + /** + * Is this order paid for? + * + * @return bool + */ + public function isPaid() + { + return $this->status === OrderStatus::STATUS_PAID; + } + + /** + * Is this order authorized? + * + * @return bool + */ + public function isAuthorized() + { + return $this->status === OrderStatus::STATUS_AUTHORIZED; + } + + /** + * Is this order canceled? + * + * @return bool + */ + public function isCanceled() + { + return $this->status === OrderStatus::STATUS_CANCELED; + } + + /** + * (Deprecated) Is this order refunded? + * @deprecated 2018-11-27 + * + * @return bool + */ + public function isRefunded() + { + return $this->status === OrderStatus::STATUS_REFUNDED; + } + + /** + * Is this order shipping? + * + * @return bool + */ + public function isShipping() + { + return $this->status === OrderStatus::STATUS_SHIPPING; + } + + /** + * Is this order completed? + * + * @return bool + */ + public function isCompleted() + { + return $this->status === OrderStatus::STATUS_COMPLETED; + } + + /** + * Is this order expired? + * + * @return bool + */ + public function isExpired() + { + return $this->status === OrderStatus::STATUS_EXPIRED; + } + + /** + * Is this order completed? + * + * @return bool + */ + public function isPending() + { + return $this->status === OrderStatus::STATUS_PENDING; + } + + /** + * Cancels this order. + * If the order was partially shipped, the status will be "completed" instead of + * "canceled". + * Will throw a ApiException if the order id is invalid or the resource cannot + * be found. + * + * @return Order + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function cancel() + { + return $this->client->orders->cancel($this->id, $this->getPresetOptions()); + } + + /** + * Cancel a line for this order. + * The data array must contain a lines array. + * You can pass an empty lines array if you want to cancel all eligible lines. + * Returns null if successful. + * + * @param array $data + * @return null + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function cancelLines(array $data) + { + return $this->client->orderLines->cancelFor($this, $data); + } + + /** + * Cancels all eligible lines for this order. + * Returns null if successful. + * + * @param array|null $data + * @return null + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function cancelAllLines($data = []) + { + $data['lines'] = []; + + return $this->client->orderLines->cancelFor($this, $data); + } + + /** + * Get the line value objects + * + * @return OrderLineCollection + */ + public function lines() + { + return ResourceFactory::createBaseResourceCollection( + $this->client, + OrderLine::class, + $this->lines + ); + } + + /** + * Create a shipment for some order lines. You can provide an empty array for the + * "lines" option to include all unshipped lines for this order. + * + * @param array $options + * + * @return Shipment + * @throws ApiException + */ + public function createShipment(array $options = []) + { + return $this->client->shipments->createFor($this, $this->withPresetOptions($options)); + } + + /** + * Create a shipment for all unshipped order lines. + * + * @param array $options + * + * @return Shipment + */ + public function shipAll(array $options = []) + { + $options['lines'] = []; + + return $this->createShipment($options); + } + + /** + * Retrieve a specific shipment for this order. + * + * @param string $shipmentId + * @param array $parameters + * + * @return Shipment + * @throws ApiException + */ + public function getShipment($shipmentId, array $parameters = []) + { + return $this->client->shipments->getFor($this, $shipmentId, $this->withPresetOptions($parameters)); + } + + /** + * Get all shipments for this order. + * + * @param array $parameters + * + * @return ShipmentCollection + * @throws ApiException + */ + public function shipments(array $parameters = []) + { + return $this->client->shipments->listFor($this, $this->withPresetOptions($parameters)); + } + + /** + * Get the checkout URL where the customer can complete the payment. + * + * @return string|null + */ + public function getCheckoutUrl() + { + if (empty($this->_links->checkout)) { + return null; + } + + return $this->_links->checkout->href; + } + + /** + * Refund specific order lines. + * + * @param array $data + * @return Refund + * @throws ApiException + */ + public function refund(array $data) + { + return $this->client->orderRefunds->createFor($this, $this->withPresetOptions($data)); + } + + /** + * Refund all eligible order lines. + * + * @param array $data + * @return Refund + */ + public function refundAll(array $data = []) + { + $data['lines'] = []; + + return $this->refund($data); + } + + /** + * Retrieves all refunds associated with this order + * + * @return RefundCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function refunds() + { + if (! isset($this->_links->refunds->href)) { + return new RefundCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->refunds->href); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->refunds, + Refund::class, + $result->_links + ); + } + + /** + * Saves the order's updated billingAddress and/or shippingAddress. + * + * @return \Mollie\Api\Resources\Order + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function update() + { + $body = [ + "billingAddress" => $this->billingAddress, + "shippingAddress" => $this->shippingAddress, + "orderNumber" => $this->orderNumber, + "redirectUrl" => $this->redirectUrl, + "cancelUrl" => $this->cancelUrl, + "webhookUrl" => $this->webhookUrl, + ]; + + $result = $this->client->orders->update($this->id, $body); + + return ResourceFactory::createFromApiResult($result, new Order($this->client)); + } + + /** + * Create a new payment for this Order. + * + * @param array $data + * @param array $filters + * @return \Mollie\Api\Resources\Payment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function createPayment($data, $filters = []) + { + return $this->client->orderPayments->createFor($this, $data, $filters); + } + + /** + * Retrieve the payments for this order. + * Requires the order to be retrieved using the embed payments parameter. + * + * @return null|\Mollie\Api\Resources\PaymentCollection + */ + public function payments() + { + if (! isset($this->_embedded, $this->_embedded->payments)) { + return null; + } + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $this->_embedded->payments, + Payment::class + ); + } + + /** + * When accessed by oAuth we want to pass the testmode by default + * + * @return array + */ + private function getPresetOptions() + { + $options = []; + if ($this->client->usesOAuth()) { + $options["testmode"] = $this->mode === "test" ? true : false; + } + + return $options; + } + + /** + * Apply the preset options. + * + * @param array $options + * @return array + */ + private function withPresetOptions(array $options) + { + return array_merge($this->getPresetOptions(), $options); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/OrderCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/OrderCollection.php new file mode 100644 index 000000000..ff5fad80c --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/OrderCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/OrderLine.php b/vendor_manual/mollie/mollie-api-php/src/Resources/OrderLine.php new file mode 100644 index 000000000..aa700feb2 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/OrderLine.php @@ -0,0 +1,420 @@ +_links->productUrl)) { + return null; + } + + return $this->_links->productUrl; + } + + /** + * Get the image URL of the product sold. + * + * @return string|null + */ + public function getImageUrl() + { + if (empty($this->_links->imageUrl)) { + return null; + } + + return $this->_links->imageUrl; + } + + /** + * Is this order line created? + * + * @return bool + */ + public function isCreated() + { + return $this->status === OrderLineStatus::STATUS_CREATED; + } + + /** + * Is this order line paid for? + * + * @return bool + */ + public function isPaid() + { + return $this->status === OrderLineStatus::STATUS_PAID; + } + + /** + * Is this order line authorized? + * + * @return bool + */ + public function isAuthorized() + { + return $this->status === OrderLineStatus::STATUS_AUTHORIZED; + } + + /** + * Is this order line canceled? + * + * @return bool + */ + public function isCanceled() + { + return $this->status === OrderLineStatus::STATUS_CANCELED; + } + + /** + * (Deprecated) Is this order line refunded? + * @deprecated 2018-11-27 + * + * @return bool + */ + public function isRefunded() + { + return $this->status === OrderLineStatus::STATUS_REFUNDED; + } + + /** + * Is this order line shipping? + * + * @return bool + */ + public function isShipping() + { + return $this->status === OrderLineStatus::STATUS_SHIPPING; + } + + /** + * Is this order line completed? + * + * @return bool + */ + public function isCompleted() + { + return $this->status === OrderLineStatus::STATUS_COMPLETED; + } + + /** + * Is this order line for a physical product? + * + * @return bool + */ + public function isPhysical() + { + return $this->type === OrderLineType::TYPE_PHYSICAL; + } + + /** + * Is this order line for applying a discount? + * + * @return bool + */ + public function isDiscount() + { + return $this->type === OrderLineType::TYPE_DISCOUNT; + } + + /** + * Is this order line for a digital product? + * + * @return bool + */ + public function isDigital() + { + return $this->type === OrderLineType::TYPE_DIGITAL; + } + + /** + * Is this order line for applying a shipping fee? + * + * @return bool + */ + public function isShippingFee() + { + return $this->type === OrderLineType::TYPE_SHIPPING_FEE; + } + + /** + * Is this order line for store credit? + * + * @return bool + */ + public function isStoreCredit() + { + return $this->type === OrderLineType::TYPE_STORE_CREDIT; + } + + /** + * Is this order line for a gift card? + * + * @return bool + */ + public function isGiftCard() + { + return $this->type === OrderLineType::TYPE_GIFT_CARD; + } + + /** + * Is this order line for a surcharge? + * + * @return bool + */ + public function isSurcharge() + { + return $this->type === OrderLineType::TYPE_SURCHARGE; + } + + /** + * Update an orderline by supplying one or more parameters in the data array + * + * @return BaseResource + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function update() + { + $result = $this->client->orderLines->update($this->orderId, $this->id, $this->getUpdateData()); + + return ResourceFactory::createFromApiResult($result, new Order($this->client)); + } + + /** + * Get sanitized array of order line data + * + * @return array + */ + public function getUpdateData() + { + $data = [ + "name" => $this->name, + 'imageUrl' => $this->imageUrl, + 'productUrl' => $this->productUrl, + 'metadata' => $this->metadata, + 'sku' => $this->sku, + 'quantity' => $this->quantity, + 'unitPrice' => $this->unitPrice, + 'discountAmount' => $this->discountAmount, + 'totalAmount' => $this->totalAmount, + 'vatAmount' => $this->vatAmount, + 'vatRate' => $this->vatRate, + ]; + + // Explicitly filter only NULL values to keep "vatRate => 0" intact + return array_filter($data, function ($value) { + return $value !== null; + }); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/OrderLineCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/OrderLineCollection.php new file mode 100644 index 000000000..d2f8bc285 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/OrderLineCollection.php @@ -0,0 +1,32 @@ +id === $lineId) { + return $line; + } + } + + return null; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Organization.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Organization.php new file mode 100644 index 000000000..209f9e3af --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Organization.php @@ -0,0 +1,70 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Partner.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Partner.php new file mode 100644 index 000000000..2c00ac1f1 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Partner.php @@ -0,0 +1,50 @@ +consumerName and $details->consumerAccount. + * + * @var \stdClass|null + */ + public $details; + + /** + * Used to restrict the payment methods available to your customer to those from a single country. + * + * @var string|null; + */ + public $restrictPaymentMethodsToCountry; + + /** + * @var \stdClass + */ + public $_links; + + /** + * @var \stdClass[] + */ + public $_embedded; + + /** + * Whether or not this payment can be canceled. + * + * @var bool|null + */ + public $isCancelable; + + /** + * The total amount that is already captured for this payment. Only available + * when this payment supports captures. + * + * @var \stdClass|null + */ + public $amountCaptured; + + /** + * Indicates whether the capture will be scheduled automatically or not. Set + * to manual to capture the payment manually using the Create capture endpoint. + * + * Possible values: "automatic", "manual" + * + * @var string|null + */ + public $captureMode; + + /** + * Indicates the interval to wait before the payment is + * captured, for example `8 hours` or `2 days. The capture delay + * will be added to the date and time the payment became authorized. + * + * Possible values: ... hours ... days + * @example 8 hours + * @var string|null + */ + public $captureDelay; + + /** + * UTC datetime on which the merchant has to have captured the payment in + * ISO-8601 format. This parameter is omitted if the payment is not authorized (yet). + * + * @example "2013-12-25T10:30:54+00:00" + * @var string|null + */ + public $captureBefore; + + /** + * The application fee, if the payment was created with one. Contains amount + * (the value and currency) and description. + * + * @var \stdClass|null + */ + public $applicationFee; + + /** + * An optional routing configuration which enables you to route a successful payment, + * or part of the payment, to one or more connected accounts. Additionally, you can + * schedule (parts of) the payment to become available on the connected account on a + * future date. + * + * @var array|null + */ + public $routing; + + /** + * The date and time the payment became authorized, in ISO 8601 format. This + * parameter is omitted if the payment is not authorized (yet). + * + * @example "2013-12-25T10:30:54+00:00" + * @var string|null + */ + public $authorizedAt; + + /** + * The date and time the payment was expired, in ISO 8601 format. This + * parameter is omitted if the payment did not expire (yet). + * + * @example "2013-12-25T10:30:54+00:00" + * @var string|null + */ + public $expiredAt; + + /** + * If a customer was specified upon payment creation, the customer’s token will + * be available here as well. + * + * @example cst_XPn78q9CfT + * @var string|null + */ + public $customerId; + + /** + * This optional field contains your customer’s ISO 3166-1 alpha-2 country code, + * detected by us during checkout. For example: BE. This field is omitted if the + * country code was not detected. + * + * @var string|null + */ + public $countryCode; + + /** + * Is this payment canceled? + * + * @return bool + */ + public function isCanceled() + { + return $this->status === PaymentStatus::STATUS_CANCELED; + } + + /** + * Is this payment expired? + * + * @return bool + */ + public function isExpired() + { + return $this->status === PaymentStatus::STATUS_EXPIRED; + } + + /** + * Is this payment still open / ongoing? + * + * @return bool + */ + public function isOpen() + { + return $this->status === PaymentStatus::STATUS_OPEN; + } + + /** + * Is this payment pending? + * + * @return bool + */ + public function isPending() + { + return $this->status === PaymentStatus::STATUS_PENDING; + } + + /** + * Is this payment authorized? + * + * @return bool + */ + public function isAuthorized() + { + return $this->status === PaymentStatus::STATUS_AUTHORIZED; + } + + /** + * Is this payment paid for? + * + * @return bool + */ + public function isPaid() + { + return ! empty($this->paidAt); + } + + /** + * Does the payment have refunds + * + * @return bool + */ + public function hasRefunds() + { + return ! empty($this->_links->refunds); + } + + /** + * Does this payment has chargebacks + * + * @return bool + */ + public function hasChargebacks() + { + return ! empty($this->_links->chargebacks); + } + + /** + * Is this payment failing? + * + * @return bool + */ + public function isFailed() + { + return $this->status === PaymentStatus::STATUS_FAILED; + } + + /** + * Check whether 'sequenceType' is set to 'first'. If a 'first' payment has been + * completed successfully, the consumer's account may be charged automatically + * using recurring payments. + * + * @return bool + */ + public function hasSequenceTypeFirst() + { + return $this->sequenceType === SequenceType::SEQUENCETYPE_FIRST; + } + + /** + * Check whether 'sequenceType' is set to 'recurring'. This type of payment is + * processed without involving + * the consumer. + * + * @return bool + */ + public function hasSequenceTypeRecurring() + { + return $this->sequenceType === SequenceType::SEQUENCETYPE_RECURRING; + } + + /** + * Get the checkout URL where the customer can complete the payment. + * + * @return string|null + */ + public function getCheckoutUrl() + { + if (empty($this->_links->checkout)) { + return null; + } + + return $this->_links->checkout->href; + } + + /** + * Get the mobile checkout URL where the customer can complete the payment. + * + * @return string|null + */ + public function getMobileAppCheckoutUrl() + { + if (empty($this->_links->mobileAppCheckout)) { + return null; + } + + return $this->_links->mobileAppCheckout->href; + } + + /** + * @return bool + */ + public function canBeRefunded() + { + return $this->amountRemaining !== null; + } + + /** + * @return bool + */ + public function canBePartiallyRefunded() + { + return $this->canBeRefunded(); + } + + /** + * Get the amount that is already refunded + * + * @return float + */ + public function getAmountRefunded() + { + if ($this->amountRefunded) { + return (float)$this->amountRefunded->value; + } + + return 0.0; + } + + /** + * Get the remaining amount that can be refunded. For some payment methods this + * amount can be higher than the payment amount. This is possible to reimburse + * the costs for a return shipment to your customer for example. + * + * @return float + */ + public function getAmountRemaining() + { + if ($this->amountRemaining) { + return (float)$this->amountRemaining->value; + } + + return 0.0; + } + + /** + * Get the total amount that was charged back for this payment. Only available when the + * total charged back amount is not zero. + * + * @return float + */ + public function getAmountChargedBack() + { + if ($this->amountChargedBack) { + return (float)$this->amountChargedBack->value; + } + + return 0.0; + } + + /** + * Does the payment have split payments + * + * @return bool + */ + public function hasSplitPayments() + { + return ! empty($this->routing); + } + + /** + * Retrieves all refunds associated with this payment + * + * @return RefundCollection + * @throws ApiException + */ + public function refunds() + { + if (! isset($this->_links->refunds->href)) { + return new RefundCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl( + MollieApiClient::HTTP_GET, + $this->_links->refunds->href + ); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->refunds, + Refund::class, + $result->_links + ); + } + + /** + * @param string $refundId + * @param array $parameters + * + * @return Refund + * @throws ApiException + */ + public function getRefund($refundId, array $parameters = []) + { + return $this->client->paymentRefunds->getFor($this, $refundId, $this->withPresetOptions($parameters)); + } + + /** + * @param array $parameters + * + * @return Refund + * @throws ApiException + */ + public function listRefunds(array $parameters = []) + { + return $this->client->paymentRefunds->listFor($this, $this->withPresetOptions($parameters)); + } + + /** + * Retrieves all captures associated with this payment + * + * @return CaptureCollection + * @throws ApiException + */ + public function captures() + { + if (! isset($this->_links->captures->href)) { + return new CaptureCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl( + MollieApiClient::HTTP_GET, + $this->_links->captures->href + ); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->captures, + Capture::class, + $result->_links + ); + } + + /** + * @param string $captureId + * @param array $parameters + * + * @return Capture + * @throws ApiException + */ + public function getCapture($captureId, array $parameters = []) + { + return $this->client->paymentCaptures->getFor( + $this, + $captureId, + $this->withPresetOptions($parameters) + ); + } + + /** + * Retrieves all chargebacks associated with this payment + * + * @return ChargebackCollection + * @throws ApiException + */ + public function chargebacks() + { + if (! isset($this->_links->chargebacks->href)) { + return new ChargebackCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl( + MollieApiClient::HTTP_GET, + $this->_links->chargebacks->href + ); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->chargebacks, + Chargeback::class, + $result->_links + ); + } + + /** + * Retrieves a specific chargeback for this payment. + * + * @param string $chargebackId + * @param array $parameters + * + * @return Chargeback + * @throws ApiException + */ + public function getChargeback($chargebackId, array $parameters = []) + { + return $this->client->paymentChargebacks->getFor( + $this, + $chargebackId, + $this->withPresetOptions($parameters) + ); + } + + /** + * Issue a refund for this payment. + * + * @param array $data + * + * @return \Mollie\Api\Resources\Refund + * @throws ApiException + */ + public function refund($data) + { + return $this->client->paymentRefunds->createFor($this, $data); + } + + /** + * @return \Mollie\Api\Resources\Payment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function update() + { + $body = [ + "description" => $this->description, + "cancelUrl" => $this->cancelUrl, + "redirectUrl" => $this->redirectUrl, + "webhookUrl" => $this->webhookUrl, + "metadata" => $this->metadata, + "restrictPaymentMethodsToCountry" => $this->restrictPaymentMethodsToCountry, + "locale" => $this->locale, + "dueDate" => $this->dueDate, + ]; + + $result = $this->client->payments->update($this->id, $body); + + return ResourceFactory::createFromApiResult($result, new Payment($this->client)); + } + + /** + * When accessed by oAuth we want to pass the testmode by default + * + * @return array + */ + private function getPresetOptions() + { + $options = []; + if ($this->client->usesOAuth()) { + $options["testmode"] = $this->mode === "test" ? true : false; + } + + return $options; + } + + /** + * Apply the preset options. + * + * @param array $options + * @return array + */ + private function withPresetOptions(array $options) + { + return array_merge($this->getPresetOptions(), $options); + } + + /** + * The total amount that is already captured for this payment. Only available + * when this payment supports captures. + * + * @return float + */ + public function getAmountCaptured() + { + if ($this->amountCaptured) { + return (float)$this->amountCaptured->value; + } + + return 0.0; + } + + /** + * The amount that has been settled. + * + * @return float + */ + public function getSettlementAmount() + { + if ($this->settlementAmount) { + return (float)$this->settlementAmount->value; + } + + return 0.0; + } + + /** + * The total amount that is already captured for this payment. Only available + * when this payment supports captures. + * + * @return float + */ + public function getApplicationFeeAmount() + { + if ($this->applicationFee) { + return (float)$this->applicationFee->amount->value; + } + + return 0.0; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/PaymentCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/PaymentCollection.php new file mode 100644 index 000000000..892deb1be --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/PaymentCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/PaymentLink.php b/vendor_manual/mollie/mollie-api-php/src/Resources/PaymentLink.php new file mode 100644 index 000000000..cd64ed7d9 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/PaymentLink.php @@ -0,0 +1,127 @@ +paidAt); + } + + /** + * Get the checkout URL where the customer can complete the payment. + * + * @return string|null + */ + public function getCheckoutUrl() + { + if (empty($this->_links->paymentLink)) { + return null; + } + + return $this->_links->paymentLink->href; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/PaymentLinkCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/PaymentLinkCollection.php new file mode 100644 index 000000000..061f1f665 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/PaymentLinkCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Permission.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Permission.php new file mode 100644 index 000000000..fe0761d0a --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Permission.php @@ -0,0 +1,27 @@ +status == ProfileStatus::STATUS_UNVERIFIED; + } + + /** + * @return bool + */ + public function isVerified() + { + return $this->status == ProfileStatus::STATUS_VERIFIED; + } + + /** + * @return bool + */ + public function isBlocked() + { + return $this->status == ProfileStatus::STATUS_BLOCKED; + } + + /** + * @return \Mollie\Api\Resources\Profile + * @throws ApiException + */ + public function update() + { + $body = [ + "name" => $this->name, + "website" => $this->website, + "email" => $this->email, + "phone" => $this->phone, + "businessCategory" => $this->businessCategory, + "mode" => $this->mode, + ]; + + $result = $this->client->profiles->update($this->id, $body); + + return ResourceFactory::createFromApiResult($result, new Profile($this->client)); + } + + /** + * Retrieves all chargebacks associated with this profile + * + * @return ChargebackCollection + * @throws ApiException + */ + public function chargebacks() + { + if (! isset($this->_links->chargebacks->href)) { + return new ChargebackCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->chargebacks->href); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->chargebacks, + Chargeback::class, + $result->_links + ); + } + + /** + * Retrieves all methods activated on this profile + * + * @return MethodCollection + * @throws ApiException + */ + public function methods() + { + if (! isset($this->_links->methods->href)) { + return new MethodCollection(0, null); + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->methods->href); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->methods, + Method::class, + $result->_links + ); + } + + /** + * Enable a payment method for this profile. + * + * @param string $methodId + * @param array $data + * @return Method + * @throws ApiException + */ + public function enableMethod($methodId, array $data = []) + { + return $this->client->profileMethods->createFor($this, $methodId, $data); + } + + /** + * Disable a payment method for this profile. + * + * @param string $methodId + * @param array $data + * @return Method + * @throws ApiException + */ + public function disableMethod($methodId, array $data = []) + { + return $this->client->profileMethods->deleteFor($this, $methodId, $data); + } + + /** + * Retrieves all payments associated with this profile + * + * @return PaymentCollection + * @throws ApiException + */ + public function payments() + { + if (! isset($this->_links->payments->href)) { + return new PaymentCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->payments->href); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->methods, + Method::class, + $result->_links + ); + } + + /** + * Retrieves all refunds associated with this profile + * + * @return RefundCollection + * @throws ApiException + */ + public function refunds() + { + if (! isset($this->_links->refunds->href)) { + return new RefundCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->refunds->href); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->refunds, + Refund::class, + $result->_links + ); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/ProfileCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/ProfileCollection.php new file mode 100644 index 000000000..536926b37 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/ProfileCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Refund.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Refund.php new file mode 100644 index 000000000..651b13f13 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Refund.php @@ -0,0 +1,177 @@ +isQueued() || $this->isPending(); + } + + /** + * Is this refund queued? + * + * @return bool + */ + public function isQueued() + { + return $this->status === RefundStatus::STATUS_QUEUED; + } + + /** + * Is this refund pending? + * + * @return bool + */ + public function isPending() + { + return $this->status === RefundStatus::STATUS_PENDING; + } + + /** + * Is this refund processing? + * + * @return bool + */ + public function isProcessing() + { + return $this->status === RefundStatus::STATUS_PROCESSING; + } + + /** + * Is this refund transferred to consumer? + * + * @return bool + */ + public function isTransferred() + { + return $this->status === RefundStatus::STATUS_REFUNDED; + } + + /** + * Is this refund failed? + * + * @return bool + */ + public function isFailed() + { + return $this->status === RefundStatus::STATUS_FAILED; + } + + /** + * Is this refund canceled? + * + * @return bool + */ + public function isCanceled() + { + return $this->status === RefundStatus::STATUS_CANCELED; + } + + /** + * Cancel the refund. + * Returns null if successful. + * + * @return null + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function cancel() + { + $this->client->performHttpCallToFullUrl( + MollieApiClient::HTTP_DELETE, + $this->_links->self->href + ); + + return null; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/RefundCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/RefundCollection.php new file mode 100644 index 000000000..01b55a3ce --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/RefundCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/ResourceFactory.php b/vendor_manual/mollie/mollie-api-php/src/Resources/ResourceFactory.php new file mode 100644 index 000000000..bd418e6c2 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/ResourceFactory.php @@ -0,0 +1,79 @@ + $value) { + $resource->{$property} = $value; + } + + return $resource; + } + + /** + * @param MollieApiClient $client + * @param string $resourceClass + * @param array $data + * @param null $_links + * @param string $resourceCollectionClass + * @return mixed + */ + public static function createBaseResourceCollection( + MollieApiClient $client, + $resourceClass, + $data, + $_links = null, + $resourceCollectionClass = null + ) { + $resourceCollectionClass = $resourceCollectionClass ?: $resourceClass . 'Collection'; + $data = $data ?: []; + + $result = new $resourceCollectionClass(count($data), $_links); + foreach ($data as $item) { + $result[] = static::createFromApiResult($item, new $resourceClass($client)); + } + + return $result; + } + + /** + * @param MollieApiClient $client + * @param array $input + * @param string $resourceClass + * @param null $_links + * @param null $resourceCollectionClass + * @return mixed + */ + public static function createCursorResourceCollection( + $client, + array $input, + $resourceClass, + $_links = null, + $resourceCollectionClass = null + ) { + if (null === $resourceCollectionClass) { + $resourceCollectionClass = $resourceClass.'Collection'; + } + + $data = new $resourceCollectionClass($client, count($input), $_links); + foreach ($input as $item) { + $data[] = static::createFromApiResult($item, new $resourceClass($client)); + } + + return $data; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Route.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Route.php new file mode 100644 index 000000000..20b119d34 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Route.php @@ -0,0 +1,35 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Settlement.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Settlement.php new file mode 100644 index 000000000..8bdef55ac --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Settlement.php @@ -0,0 +1,192 @@ +status === SettlementStatus::STATUS_OPEN; + } + + /** + * Is this settlement pending? + * + * @return bool + */ + public function isPending() + { + return $this->status === SettlementStatus::STATUS_PENDING; + } + + /** + * Is this settlement paidout? + * + * @return bool + */ + public function isPaidout() + { + return $this->status === SettlementStatus::STATUS_PAIDOUT; + } + + /** + * Is this settlement failed? + * + * @return bool + */ + public function isFailed() + { + return $this->status === SettlementStatus::STATUS_FAILED; + } + + /** + * Retrieves all payments associated with this settlement + * + * @param int|null $limit + * @param array $parameters + * @return PaymentCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function payments(int $limit = null, array $parameters = []): PaymentCollection + { + return $this->client->settlementPayments->pageForId($this->id, null, $limit, $parameters); + } + + /** + * Retrieves all refunds associated with this settlement + * + * @return RefundCollection + * @throws ApiException + */ + public function refunds() + { + if (! isset($this->_links->refunds->href)) { + return new RefundCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->refunds->href); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->refunds, + Refund::class, + $result->_links + ); + } + + /** + * Retrieves all chargebacks associated with this settlement + * + * @return ChargebackCollection + * @throws ApiException + */ + public function chargebacks() + { + if (! isset($this->_links->chargebacks->href)) { + return new ChargebackCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->chargebacks->href); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->chargebacks, + Chargeback::class, + $result->_links + ); + } + + /** + * Retrieves all captures associated with this settlement + * + * @return CaptureCollection + * @throws ApiException + */ + public function captures() + { + if (! isset($this->_links->captures->href)) { + return new CaptureCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET, $this->_links->captures->href); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->captures, + Capture::class, + $result->_links + ); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/SettlementCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/SettlementCollection.php new file mode 100644 index 000000000..f8910b6f6 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/SettlementCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Shipment.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Shipment.php new file mode 100644 index 000000000..01c1e9ae4 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Shipment.php @@ -0,0 +1,124 @@ +tracking !== null; + } + + /** + * Does this shipment offer a track and trace code? + * + * @return bool + */ + public function hasTrackingUrl() + { + return $this->hasTracking() && ! empty($this->tracking->url); + } + + /** + * Retrieve the track and trace url. Returns null if there is no url available. + * + * @return string|null + */ + public function getTrackingUrl() + { + if (! $this->hasTrackingUrl()) { + return null; + } + + return $this->tracking->url; + } + + /** + * Get the line value objects + * + * @return OrderLineCollection + */ + public function lines() + { + return ResourceFactory::createBaseResourceCollection( + $this->client, + OrderLine::class, + $this->lines + ); + } + + /** + * Get the Order object for this shipment + * + * @return Order + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function order() + { + return $this->client->orders->get($this->orderId); + } + + /** + * Save changes made to this shipment. + * + * @return BaseResource|Shipment + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function update() + { + $body = [ + "tracking" => $this->tracking, + ]; + + $result = $this->client->shipments->update($this->orderId, $this->id, $body); + + return ResourceFactory::createFromApiResult($result, new Shipment($this->client)); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/ShipmentCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/ShipmentCollection.php new file mode 100644 index 000000000..b87f3453e --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/ShipmentCollection.php @@ -0,0 +1,14 @@ + $this->amount, + "times" => $this->times, + "startDate" => $this->startDate, + "webhookUrl" => $this->webhookUrl, + "description" => $this->description, + "mandateId" => $this->mandateId, + "metadata" => $this->metadata, + "interval" => $this->interval, + ]; + + $result = $this->client->subscriptions->update($this->customerId, $this->id, $body); + + return ResourceFactory::createFromApiResult($result, new Subscription($this->client)); + } + + /** + * Returns whether the Subscription is active or not. + * + * @return bool + */ + public function isActive() + { + return $this->status === SubscriptionStatus::STATUS_ACTIVE; + } + + /** + * Returns whether the Subscription is pending or not. + * + * @return bool + */ + public function isPending() + { + return $this->status === SubscriptionStatus::STATUS_PENDING; + } + + /** + * Returns whether the Subscription is canceled or not. + * + * @return bool + */ + public function isCanceled() + { + return $this->status === SubscriptionStatus::STATUS_CANCELED; + } + + /** + * Returns whether the Subscription is suspended or not. + * + * @return bool + */ + public function isSuspended() + { + return $this->status === SubscriptionStatus::STATUS_SUSPENDED; + } + + /** + * Returns whether the Subscription is completed or not. + * + * @return bool + */ + public function isCompleted() + { + return $this->status === SubscriptionStatus::STATUS_COMPLETED; + } + + /** + * Cancels this subscription + * + * @return Subscription + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function cancel() + { + if (! isset($this->_links->self->href)) { + return $this; + } + + $body = null; + if ($this->client->usesOAuth()) { + $body = json_encode([ + "testmode" => $this->mode === "test" ? true : false, + ]); + } + + $result = $this->client->performHttpCallToFullUrl( + MollieApiClient::HTTP_DELETE, + $this->_links->self->href, + $body + ); + + return ResourceFactory::createFromApiResult($result, new Subscription($this->client)); + } + + /** + * Get subscription payments + * + * @return \Mollie\Api\Resources\PaymentCollection + * @throws \Mollie\Api\Exceptions\ApiException + */ + public function payments() + { + if (! isset($this->_links->payments->href)) { + return new PaymentCollection($this->client, 0, null); + } + + $result = $this->client->performHttpCallToFullUrl( + MollieApiClient::HTTP_GET, + $this->_links->payments->href + ); + + return ResourceFactory::createCursorResourceCollection( + $this->client, + $result->_embedded->payments, + Payment::class, + $result->_links + ); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/SubscriptionCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/SubscriptionCollection.php new file mode 100644 index 000000000..848130895 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/SubscriptionCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/Terminal.php b/vendor_manual/mollie/mollie-api-php/src/Resources/Terminal.php new file mode 100644 index 000000000..a2fd3b436 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/Terminal.php @@ -0,0 +1,157 @@ +status === TerminalStatus::STATUS_PENDING; + } + + /** + * @return bool + */ + public function isActive() + { + return $this->status === TerminalStatus::STATUS_ACTIVE; + } + + /** + * @return bool + */ + public function isInactive() + { + return $this->status === TerminalStatus::STATUS_INACTIVE; + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Resources/TerminalCollection.php b/vendor_manual/mollie/mollie-api-php/src/Resources/TerminalCollection.php new file mode 100644 index 000000000..af785a6e2 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Resources/TerminalCollection.php @@ -0,0 +1,22 @@ +client); + } +} diff --git a/vendor_manual/mollie/mollie-api-php/src/Types/ApprovalPrompt.php b/vendor_manual/mollie/mollie-api-php/src/Types/ApprovalPrompt.php new file mode 100644 index 000000000..3aff39844 --- /dev/null +++ b/vendor_manual/mollie/mollie-api-php/src/Types/ApprovalPrompt.php @@ -0,0 +1,14 @@ +