From 0bc4eb9db062d0478cf957d2dace69ba2db5143e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Mon, 18 Jan 2021 16:05:10 +0100 Subject: [PATCH 1/8] Happy 2021. --- src/Client.php | 2 +- src/Config.php | 2 +- src/Customer.php | 2 +- src/Gateway.php | 2 +- src/GatewayInfo.php | 2 +- src/Integration.php | 2 +- src/Merchant.php | 2 +- src/Methods.php | 2 +- src/MultiSafepay.php | 2 +- src/Signature.php | 2 +- src/Statuses.php | 2 +- src/Transaction.php | 2 +- src/WooCommerce.php | 2 +- src/XML/DirectTransactionRequestMessage.php | 2 +- src/XML/DirectTransactionResponseMessage.php | 2 +- src/XML/GatewaysRequestMessage.php | 2 +- src/XML/GatewaysResponseMessage.php | 2 +- src/XML/IDealIssuersRequestMessage.php | 2 +- src/XML/IDealIssuersResponseMessage.php | 2 +- src/XML/Message.php | 2 +- src/XML/RedirectTransactionRequestMessage.php | 2 +- src/XML/RedirectTransactionResponseMessage.php | 2 +- src/XML/RequestMessage.php | 2 +- src/XML/ResponseMessage.php | 2 +- src/XML/StatusRequestMessage.php | 2 +- src/XML/StatusResponseMessage.php | 2 +- src/XML/TransactionParser.php | 2 +- tests/bootstrap.php | 2 +- tests/src/ConfigTest.php | 2 +- tests/src/GatewayTest.php | 2 +- tests/src/StatusesTest.php | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/Client.php b/src/Client.php index f8c212c..cb721c9 100644 --- a/src/Client.php +++ b/src/Client.php @@ -19,7 +19,7 @@ /** * Title: MultiSafepay Connect client * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Config.php b/src/Config.php index 19a7d21..5987d47 100644 --- a/src/Config.php +++ b/src/Config.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay config * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Customer.php b/src/Customer.php index efb5902..9e85cba 100644 --- a/src/Customer.php +++ b/src/Customer.php @@ -5,7 +5,7 @@ /** * Title: MutliSafepay Connect customer * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Gateway.php b/src/Gateway.php index d00df3f..c1b6645 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -14,7 +14,7 @@ /** * Title: MultiSafepay Connect gateay * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/GatewayInfo.php b/src/GatewayInfo.php index 023fa2e..12a5468 100644 --- a/src/GatewayInfo.php +++ b/src/GatewayInfo.php @@ -5,7 +5,7 @@ /** * Title: MutliSafepay Connect gateway info * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Integration.php b/src/Integration.php index 8497964..6102a68 100644 --- a/src/Integration.php +++ b/src/Integration.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay Connect integration * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Merchant.php b/src/Merchant.php index 7239aae..655f432 100644 --- a/src/Merchant.php +++ b/src/Merchant.php @@ -5,7 +5,7 @@ /** * Title: MutliSafepay Connect merchant * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Methods.php b/src/Methods.php index 73938aa..f4f5f28 100644 --- a/src/Methods.php +++ b/src/Methods.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay connect payment methods * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/MultiSafepay.php b/src/MultiSafepay.php index f7c7fb6..c7f43b7 100644 --- a/src/MultiSafepay.php +++ b/src/MultiSafepay.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Signature.php b/src/Signature.php index 11da45d..c354c04 100644 --- a/src/Signature.php +++ b/src/Signature.php @@ -7,7 +7,7 @@ /** * Title: MutliSafepay Connect signature * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Statuses.php b/src/Statuses.php index c4c67d1..f7f52c8 100644 --- a/src/Statuses.php +++ b/src/Statuses.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay statuses constants * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Transaction.php b/src/Transaction.php index 12d6d01..5addf42 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -5,7 +5,7 @@ /** * Title: MutliSafepay Connect transaction * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/WooCommerce.php b/src/WooCommerce.php index 386299b..fd86652 100644 --- a/src/WooCommerce.php +++ b/src/WooCommerce.php @@ -3,7 +3,7 @@ * WooCommerce. * * @author Pronamic - * @copyright 2005-2020 Pronamic + * @copyright 2005-2021 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay */ diff --git a/src/XML/DirectTransactionRequestMessage.php b/src/XML/DirectTransactionRequestMessage.php index 9383b1a..37ac322 100644 --- a/src/XML/DirectTransactionRequestMessage.php +++ b/src/XML/DirectTransactionRequestMessage.php @@ -11,7 +11,7 @@ /** * Title: MultiSafepay Connect XML direct transaction request message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/DirectTransactionResponseMessage.php b/src/XML/DirectTransactionResponseMessage.php index 78a0f6f..b5a08f2 100644 --- a/src/XML/DirectTransactionResponseMessage.php +++ b/src/XML/DirectTransactionResponseMessage.php @@ -9,7 +9,7 @@ /** * Title: MultiSafepay Connect XML direct transaction response message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/GatewaysRequestMessage.php b/src/XML/GatewaysRequestMessage.php index eb2bb53..ffc0dfb 100644 --- a/src/XML/GatewaysRequestMessage.php +++ b/src/XML/GatewaysRequestMessage.php @@ -9,7 +9,7 @@ /** * Title: MultiSafepay Connect XML gateways request message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/GatewaysResponseMessage.php b/src/XML/GatewaysResponseMessage.php index 5afd2b8..e0fc247 100644 --- a/src/XML/GatewaysResponseMessage.php +++ b/src/XML/GatewaysResponseMessage.php @@ -8,7 +8,7 @@ /** * Title: MultiSafepay Connect XML gateways response message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/IDealIssuersRequestMessage.php b/src/XML/IDealIssuersRequestMessage.php index b22c247..9f5c533 100644 --- a/src/XML/IDealIssuersRequestMessage.php +++ b/src/XML/IDealIssuersRequestMessage.php @@ -8,7 +8,7 @@ /** * Title: MultiSafepay Connect XML iDEAL issuers request message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/IDealIssuersResponseMessage.php b/src/XML/IDealIssuersResponseMessage.php index 197d92a..682a2f1 100644 --- a/src/XML/IDealIssuersResponseMessage.php +++ b/src/XML/IDealIssuersResponseMessage.php @@ -8,7 +8,7 @@ /** * Title: MultiSafepay Connect XML iDEAL issuers response message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/Message.php b/src/XML/Message.php index 1360e65..91acae9 100644 --- a/src/XML/Message.php +++ b/src/XML/Message.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay Connect XML message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/RedirectTransactionRequestMessage.php b/src/XML/RedirectTransactionRequestMessage.php index ace5744..b42d0e1 100644 --- a/src/XML/RedirectTransactionRequestMessage.php +++ b/src/XML/RedirectTransactionRequestMessage.php @@ -10,7 +10,7 @@ /** * Title: MultiSafepay Connect XML redirect transaction request message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/RedirectTransactionResponseMessage.php b/src/XML/RedirectTransactionResponseMessage.php index 081b2b9..53a3389 100644 --- a/src/XML/RedirectTransactionResponseMessage.php +++ b/src/XML/RedirectTransactionResponseMessage.php @@ -8,7 +8,7 @@ /** * Title: MultiSafepay Connect XML redirect transaction response message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/RequestMessage.php b/src/XML/RequestMessage.php index b1dabda..97786dd 100644 --- a/src/XML/RequestMessage.php +++ b/src/XML/RequestMessage.php @@ -10,7 +10,7 @@ /** * Title: MultiSafepay Connect XML request message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/ResponseMessage.php b/src/XML/ResponseMessage.php index 370f4c5..16c5567 100644 --- a/src/XML/ResponseMessage.php +++ b/src/XML/ResponseMessage.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay Connect XML response message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/StatusRequestMessage.php b/src/XML/StatusRequestMessage.php index 32ec029..1e4459a 100644 --- a/src/XML/StatusRequestMessage.php +++ b/src/XML/StatusRequestMessage.php @@ -8,7 +8,7 @@ /** * Title: MultiSafepay Connect XML status request message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/StatusResponseMessage.php b/src/XML/StatusResponseMessage.php index 8c05bd1..5133c57 100644 --- a/src/XML/StatusResponseMessage.php +++ b/src/XML/StatusResponseMessage.php @@ -9,7 +9,7 @@ /** * Title: MultiSafepay Connect XML status response message * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/TransactionParser.php b/src/XML/TransactionParser.php index d17d596..a399959 100644 --- a/src/XML/TransactionParser.php +++ b/src/XML/TransactionParser.php @@ -9,7 +9,7 @@ /** * Title: MultiSafepay Connect XML transaction parser * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 3b91151..b054ac2 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -3,7 +3,7 @@ * Bootstrap tests * * @author Pronamic - * @copyright 2005-2020 Pronamic + * @copyright 2005-2021 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Gateways\MultiSafepay */ diff --git a/tests/src/ConfigTest.php b/tests/src/ConfigTest.php index d256ed7..c8b2627 100644 --- a/tests/src/ConfigTest.php +++ b/tests/src/ConfigTest.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay - Config test * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/tests/src/GatewayTest.php b/tests/src/GatewayTest.php index a298ceb..65d4e2d 100644 --- a/tests/src/GatewayTest.php +++ b/tests/src/GatewayTest.php @@ -9,7 +9,7 @@ /** * Title: MultiSafepay gateway test * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/tests/src/StatusesTest.php b/tests/src/StatusesTest.php index 185dba4..4ca1382 100644 --- a/tests/src/StatusesTest.php +++ b/tests/src/StatusesTest.php @@ -8,7 +8,7 @@ /** * Title: MultiSafepay statuses test * Description: - * Copyright: 2005-2020 Pronamic + * Copyright: 2005-2021 Pronamic * Company: Pronamic * * @author Remco Tolsma From 0669ed8d47a6c98a2ad20d105b141776d966aedc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Mon, 18 Jan 2021 17:20:30 +0100 Subject: [PATCH 2/8] Update libraries / vendor-bin. --- .gitignore | 3 + .phplint.yml | 10 + composer.json | 20 +- phpstan.neon.dist | 3 +- psalm.xml.dist | 1 - vendor-bin/phpstan/composer.json | 5 + vendor-bin/phpstan/composer.lock | 79 ++ vendor-bin/psalm/composer.json | 5 + vendor-bin/psalm/composer.lock | 1973 ++++++++++++++++++++++++++++++ 9 files changed, 2090 insertions(+), 9 deletions(-) create mode 100644 .phplint.yml create mode 100644 vendor-bin/phpstan/composer.json create mode 100644 vendor-bin/phpstan/composer.lock create mode 100644 vendor-bin/psalm/composer.json create mode 100644 vendor-bin/psalm/composer.lock diff --git a/.gitignore b/.gitignore index e5a6d3f..e106644 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,9 @@ /composer.lock /vendor/ +# Composer bin plugin +/vendor-bin/**/vendor + # Eclipse /.buildpath /.project diff --git a/.phplint.yml b/.phplint.yml new file mode 100644 index 0000000..884e95c --- /dev/null +++ b/.phplint.yml @@ -0,0 +1,10 @@ +path: ./ +jobs: 10 +cache: build/phplint.cache +extensions: + - php +exclude: + - build + - node_modules + - vendor + - wordpress diff --git a/composer.json b/composer.json index 3146930..9240aae 100644 --- a/composer.json +++ b/composer.json @@ -34,26 +34,32 @@ "require": { "php": ">=5.6.20", "ext-simplexml": "*", - "wp-pay/core": "^2.4" + "wp-pay/core": "^2.6" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5.0", + "bamarni/composer-bin-plugin": "^1.4", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7", + "overtrue/phplint": "^1.2", "php-coveralls/php-coveralls": "^2.1", "phpcompatibility/php-compatibility": "^9.2", "phpcompatibility/phpcompatibility-wp": "^2.0", "phpmd/phpmd": "^2.7", "phpunit/phpunit": "^5.7 || ^6.0", - "roots/wordpress": "^5.2", + "roots/wordpress": "^5.6", "squizlabs/php_codesniffer": "^3.4", - "wp-coding-standards/wpcs": "^2.1", - "wp-phpunit/wp-phpunit": "^5.2" + "wp-coding-standards/wpcs": "^2.3", + "wp-phpunit/wp-phpunit": "^5.6" }, "scripts": { "coveralls": "vendor/bin/coveralls -v", "phpcbf": "vendor/bin/phpcbf", "phpcs": "vendor/bin/phpcs -s -v", - "phplint": "find src tests -name '*.php' | xargs -n 1 -P 4 php -l", + "phplint": "vendor/bin/phplint", "phpmd": "vendor/bin/phpmd src,tests text phpmd.ruleset.xml --suffixes php", - "phpunit": "vendor/bin/phpunit" + "phpstan": "vendor/bin/phpstan analyse", + "phpunit": "vendor/bin/phpunit", + "post-install-cmd": "echo 'Optionally run: composer bin all install'", + "post-update-cmd": "echo 'Optionally run: composer bin all update'", + "psalm": "vendor/bin/psalm" } } diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 6c3ef54..973b0b0 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,6 +1,7 @@ parameters: customRulesetUsed: false level: max - bootstrap: tests/bootstrap.php + bootstrapFiles: + - tests/bootstrap.php paths: - src diff --git a/psalm.xml.dist b/psalm.xml.dist index b2b5e1f..ab84063 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -33,7 +33,6 @@ - diff --git a/vendor-bin/phpstan/composer.json b/vendor-bin/phpstan/composer.json new file mode 100644 index 0000000..ab3927a --- /dev/null +++ b/vendor-bin/phpstan/composer.json @@ -0,0 +1,5 @@ +{ + "require-dev": { + "phpstan/phpstan": "^0.12" + } +} diff --git a/vendor-bin/phpstan/composer.lock b/vendor-bin/phpstan/composer.lock new file mode 100644 index 0000000..0cba801 --- /dev/null +++ b/vendor-bin/phpstan/composer.lock @@ -0,0 +1,79 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "df90bbf0dc5bb735896104de277f8757", + "packages": [], + "packages-dev": [ + { + "name": "phpstan/phpstan", + "version": "0.12.68", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "ddbe01af0706ee094c3f1ce9730b35aebb508d3d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ddbe01af0706ee094c3f1ce9730b35aebb508d3d", + "reference": "ddbe01af0706ee094c3f1ce9730b35aebb508d3d", + "shasum": "" + }, + "require": { + "php": "^7.1|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.12-dev" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "support": { + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/0.12.68" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://www.patreon.com/phpstan", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2021-01-18T12:29:17+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.0.0" +} diff --git a/vendor-bin/psalm/composer.json b/vendor-bin/psalm/composer.json new file mode 100644 index 0000000..15ae5f9 --- /dev/null +++ b/vendor-bin/psalm/composer.json @@ -0,0 +1,5 @@ +{ + "require-dev": { + "vimeo/psalm": "^4.4" + } +} diff --git a/vendor-bin/psalm/composer.lock b/vendor-bin/psalm/composer.lock new file mode 100644 index 0000000..8ca5253 --- /dev/null +++ b/vendor-bin/psalm/composer.lock @@ -0,0 +1,1973 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "aaf74fed29daecaaea5f94735f2c60ab", + "packages": [], + "packages-dev": [ + { + "name": "amphp/amp", + "version": "v2.5.2", + "source": { + "type": "git", + "url": "https://github.com/amphp/amp.git", + "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/amp/zipball/efca2b32a7580087adb8aabbff6be1dc1bb924a9", + "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9", + "shasum": "" + }, + "require": { + "php": ">=7" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1", + "ext-json": "*", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^6.0.9 | ^7", + "psalm/phar": "^3.11@dev", + "react/promise": "^2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Amp\\": "lib" + }, + "files": [ + "lib/functions.php", + "lib/Internal/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel Lowrey", + "email": "rdlowrey@php.net" + }, + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Bob Weinand", + "email": "bobwei9@hotmail.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "A non-blocking concurrency framework for PHP applications.", + "homepage": "http://amphp.org/amp", + "keywords": [ + "async", + "asynchronous", + "awaitable", + "concurrency", + "event", + "event-loop", + "future", + "non-blocking", + "promise" + ], + "support": { + "irc": "irc://irc.freenode.org/amphp", + "issues": "https://github.com/amphp/amp/issues", + "source": "https://github.com/amphp/amp/tree/v2.5.2" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-01-10T17:06:37+00:00" + }, + { + "name": "amphp/byte-stream", + "version": "v1.8.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/byte-stream.git", + "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/f0c20cf598a958ba2aa8c6e5a71c697d652c7088", + "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088", + "shasum": "" + }, + "require": { + "amphp/amp": "^2", + "php": ">=7.1" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.4", + "friendsofphp/php-cs-fixer": "^2.3", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^6 || ^7 || ^8", + "psalm/phar": "^3.11.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Amp\\ByteStream\\": "lib" + }, + "files": [ + "lib/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "A stream abstraction to make working with non-blocking I/O simple.", + "homepage": "http://amphp.org/byte-stream", + "keywords": [ + "amp", + "amphp", + "async", + "io", + "non-blocking", + "stream" + ], + "support": { + "irc": "irc://irc.freenode.org/amphp", + "issues": "https://github.com/amphp/byte-stream/issues", + "source": "https://github.com/amphp/byte-stream/tree/master" + }, + "time": "2020-06-29T18:35:05+00:00" + }, + { + "name": "composer/package-versions-deprecated", + "version": "1.11.99.1", + "source": { + "type": "git", + "url": "https://github.com/composer/package-versions-deprecated.git", + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/7413f0b55a051e89485c5cb9f765fe24bb02a7b6", + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.1.0 || ^2.0", + "php": "^7 || ^8" + }, + "replace": { + "ocramius/package-versions": "1.11.99" + }, + "require-dev": { + "composer/composer": "^1.9.3 || ^2.0@dev", + "ext-zip": "^1.13", + "phpunit/phpunit": "^6.5 || ^7" + }, + "type": "composer-plugin", + "extra": { + "class": "PackageVersions\\Installer", + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "PackageVersions\\": "src/PackageVersions" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be" + } + ], + "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "support": { + "issues": "https://github.com/composer/package-versions-deprecated/issues", + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.1" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2020-11-11T10:22:58+00:00" + }, + { + "name": "composer/semver", + "version": "3.2.4", + "source": { + "type": "git", + "url": "https://github.com/composer/semver.git", + "reference": "a02fdf930a3c1c3ed3a49b5f63859c0c20e10464" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/semver/zipball/a02fdf930a3c1c3ed3a49b5f63859c0c20e10464", + "reference": "a02fdf930a3c1c3ed3a49b5f63859c0c20e10464", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.54", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Semver\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com", + "homepage": "http://robbast.nl" + } + ], + "description": "Semver library that offers utilities, version constraint parsing and validation.", + "keywords": [ + "semantic", + "semver", + "validation", + "versioning" + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.2.4" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2020-11-13T08:59:24+00:00" + }, + { + "name": "composer/xdebug-handler", + "version": "1.4.5", + "source": { + "type": "git", + "url": "https://github.com/composer/xdebug-handler.git", + "reference": "f28d44c286812c714741478d968104c5e604a1d4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f28d44c286812c714741478d968104c5e604a1d4", + "reference": "f28d44c286812c714741478d968104c5e604a1d4", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0", + "psr/log": "^1.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8" + }, + "type": "library", + "autoload": { + "psr-4": { + "Composer\\XdebugHandler\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "John Stevenson", + "email": "john-stevenson@blueyonder.co.uk" + } + ], + "description": "Restarts a process without Xdebug.", + "keywords": [ + "Xdebug", + "performance" + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/xdebug-handler/issues", + "source": "https://github.com/composer/xdebug-handler/tree/1.4.5" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2020-11-13T08:04:11+00:00" + }, + { + "name": "dnoegel/php-xdg-base-dir", + "version": "v0.1.1", + "source": { + "type": "git", + "url": "https://github.com/dnoegel/php-xdg-base-dir.git", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "require-dev": { + "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" + }, + "type": "library", + "autoload": { + "psr-4": { + "XdgBaseDir\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "implementation of xdg base directory specification for php", + "support": { + "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", + "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" + }, + "time": "2019-12-04T15:06:13+00:00" + }, + { + "name": "felixfbecker/advanced-json-rpc", + "version": "v3.2.0", + "source": { + "type": "git", + "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", + "reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/06f0b06043c7438959dbdeed8bb3f699a19be22e", + "reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e", + "shasum": "" + }, + "require": { + "netresearch/jsonmapper": "^1.0 || ^2.0", + "php": "^7.1 || ^8.0", + "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0" + }, + "require-dev": { + "phpunit/phpunit": "^7.0 || ^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "AdvancedJsonRpc\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "authors": [ + { + "name": "Felix Becker", + "email": "felix.b@outlook.com" + } + ], + "description": "A more advanced JSONRPC implementation", + "support": { + "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues", + "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.0" + }, + "time": "2021-01-10T17:48:47+00:00" + }, + { + "name": "felixfbecker/language-server-protocol", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/felixfbecker/php-language-server-protocol.git", + "reference": "85e83cacd2ed573238678c6875f8f0d7ec699541" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/85e83cacd2ed573238678c6875f8f0d7ec699541", + "reference": "85e83cacd2ed573238678c6875f8f0d7ec699541", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "phpstan/phpstan": "*", + "squizlabs/php_codesniffer": "^3.1", + "vimeo/psalm": "^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "LanguageServerProtocol\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "authors": [ + { + "name": "Felix Becker", + "email": "felix.b@outlook.com" + } + ], + "description": "PHP classes for the Language Server Protocol", + "keywords": [ + "language", + "microsoft", + "php", + "server" + ], + "support": { + "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", + "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.0" + }, + "time": "2020-10-23T13:55:30+00:00" + }, + { + "name": "netresearch/jsonmapper", + "version": "v2.1.0", + "source": { + "type": "git", + "url": "https://github.com/cweiske/jsonmapper.git", + "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/e0f1e33a71587aca81be5cffbb9746510e1fe04e", + "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "php": ">=5.6" + }, + "require-dev": { + "phpunit/phpunit": "~4.8.35 || ~5.7 || ~6.4 || ~7.0", + "squizlabs/php_codesniffer": "~3.5" + }, + "type": "library", + "autoload": { + "psr-0": { + "JsonMapper": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "OSL-3.0" + ], + "authors": [ + { + "name": "Christian Weiske", + "email": "cweiske@cweiske.de", + "homepage": "http://github.com/cweiske/jsonmapper/", + "role": "Developer" + } + ], + "description": "Map nested JSON structures onto PHP classes", + "support": { + "email": "cweiske@cweiske.de", + "issues": "https://github.com/cweiske/jsonmapper/issues", + "source": "https://github.com/cweiske/jsonmapper/tree/master" + }, + "time": "2020-04-16T18:48:43+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.10.4", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e", + "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4" + }, + "time": "2020-12-20T10:01:03+00:00" + }, + { + "name": "openlss/lib-array2xml", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/nullivex/lib-array2xml.git", + "reference": "a91f18a8dfc69ffabe5f9b068bc39bb202c81d90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nullivex/lib-array2xml/zipball/a91f18a8dfc69ffabe5f9b068bc39bb202c81d90", + "reference": "a91f18a8dfc69ffabe5f9b068bc39bb202c81d90", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "type": "library", + "autoload": { + "psr-0": { + "LSS": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Bryan Tong", + "email": "bryan@nullivex.com", + "homepage": "https://www.nullivex.com" + }, + { + "name": "Tony Butler", + "email": "spudz76@gmail.com", + "homepage": "https://www.nullivex.com" + } + ], + "description": "Array2XML conversion library credit to lalit.org", + "homepage": "https://www.nullivex.com", + "keywords": [ + "array", + "array conversion", + "xml", + "xml conversion" + ], + "support": { + "issues": "https://github.com/nullivex/lib-array2xml/issues", + "source": "https://github.com/nullivex/lib-array2xml/tree/master" + }, + "time": "2019-03-29T20:06:56+00:00" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-2.x": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" + }, + "time": "2020-06-27T09:03:43+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "5.2.2", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", + "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" + }, + "require-dev": { + "mockery/mockery": "~1.3.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + }, + { + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" + }, + "time": "2020-09-03T19:13:55+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.0" + }, + "require-dev": { + "ext-tokenizer": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "support": { + "issues": "https://github.com/phpDocumentor/TypeResolver/issues", + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" + }, + "time": "2020-09-17T18:55:26+00:00" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/master" + }, + "time": "2017-02-14T16:28:37+00:00" + }, + { + "name": "psr/log", + "version": "1.1.3", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.3" + }, + "time": "2020-03-23T09:12:05+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:10:38+00:00" + }, + { + "name": "symfony/console", + "version": "v5.2.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "47c02526c532fb381374dab26df05e7313978976" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/47c02526c532fb381374dab26df05e7313978976", + "reference": "47c02526c532fb381374dab26df05e7313978976", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.8", + "symfony/polyfill-php80": "^1.15", + "symfony/service-contracts": "^1.1|^2", + "symfony/string": "^5.1" + }, + "conflict": { + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0" + }, + "require-dev": { + "psr/log": "~1.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", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Console Component", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-12-18T08:03:05+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.22.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "c6c942b1ac76c82448322025e084cadc56048b4e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e", + "reference": "c6c942b1ac76c82448322025e084cadc56048b4e", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.0" + }, + "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-01-07T16:49:33+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.22.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "267a9adeb8ecb8071040a740930e077cdfb987af" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/267a9adeb8ecb8071040a740930e077cdfb987af", + "reference": "267a9adeb8ecb8071040a740930e077cdfb987af", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.0" + }, + "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-01-07T16:49:33+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.22.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "6e971c891537eb617a00bb07a43d182a6915faba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/6e971c891537eb617a00bb07a43d182a6915faba", + "reference": "6e971c891537eb617a00bb07a43d182a6915faba", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.0" + }, + "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-01-07T17:09:11+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.22.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f377a3dd1fde44d37b9831d68dc8dea3ffd28e13", + "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.0" + }, + "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-01-07T16:49:33+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "v1.22.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.0" + }, + "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-01-07T16:49:33+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.22.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.0" + }, + "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-01-07T16:49:33+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v2.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/container": "^1.0" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/master" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-07T11:33:47+00:00" + }, + { + "name": "symfony/string", + "version": "v5.2.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", + "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" + }, + "require-dev": { + "symfony/error-handler": "^4.4|^5.0", + "symfony/http-client": "^4.4|^5.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "files": [ + "Resources/functions.php" + ], + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony String component", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-12-05T07:33:16+00:00" + }, + { + "name": "vimeo/psalm", + "version": "4.4.1", + "source": { + "type": "git", + "url": "https://github.com/vimeo/psalm.git", + "reference": "9fd7a7d885b3a216cff8dec9d8c21a132f275224" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/9fd7a7d885b3a216cff8dec9d8c21a132f275224", + "reference": "9fd7a7d885b3a216cff8dec9d8c21a132f275224", + "shasum": "" + }, + "require": { + "amphp/amp": "^2.1", + "amphp/byte-stream": "^1.5", + "composer/package-versions-deprecated": "^1.8.0", + "composer/semver": "^1.4 || ^2.0 || ^3.0", + "composer/xdebug-handler": "^1.1", + "dnoegel/php-xdg-base-dir": "^0.1.1", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-simplexml": "*", + "ext-tokenizer": "*", + "felixfbecker/advanced-json-rpc": "^3.0.3", + "felixfbecker/language-server-protocol": "^1.4", + "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0", + "nikic/php-parser": "^4.10.1", + "openlss/lib-array2xml": "^1.0", + "php": "^7.1|^8", + "sebastian/diff": "^3.0 || ^4.0", + "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0", + "webmozart/path-util": "^2.3" + }, + "provide": { + "psalm/psalm": "self.version" + }, + "require-dev": { + "amphp/amp": "^2.4.2", + "bamarni/composer-bin-plugin": "^1.2", + "brianium/paratest": "^4.0||^6.0", + "ext-curl": "*", + "phpdocumentor/reflection-docblock": "^5", + "phpmyadmin/sql-parser": "5.1.0||dev-master", + "phpspec/prophecy": ">=1.9.0", + "phpunit/phpunit": "^9.0", + "psalm/plugin-phpunit": "^0.13", + "slevomat/coding-standard": "^6.3.11", + "squizlabs/php_codesniffer": "^3.5", + "symfony/process": "^4.3", + "weirdan/prophecy-shim": "^1.0 || ^2.0" + }, + "suggest": { + "ext-igbinary": "^2.0.5" + }, + "bin": [ + "psalm", + "psalm-language-server", + "psalm-plugin", + "psalm-refactor", + "psalter" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.x-dev", + "dev-3.x": "3.x-dev", + "dev-2.x": "2.x-dev", + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psalm\\": "src/Psalm/" + }, + "files": [ + "src/functions.php", + "src/spl_object_id.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matthew Brown" + } + ], + "description": "A static analysis tool for finding errors in PHP applications", + "keywords": [ + "code", + "inspection", + "php" + ], + "support": { + "issues": "https://github.com/vimeo/psalm/issues", + "source": "https://github.com/vimeo/psalm/tree/4.4.1" + }, + "time": "2021-01-14T21:44:29+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.9.1", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0 || ^8.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<3.9.1" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.36 || ^7.5.13" + }, + "type": "library", + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozart/assert/issues", + "source": "https://github.com/webmozart/assert/tree/master" + }, + "time": "2020-07-08T17:02:28+00:00" + }, + { + "name": "webmozart/path-util", + "version": "2.3.0", + "source": { + "type": "git", + "url": "https://github.com/webmozart/path-util.git", + "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/path-util/zipball/d939f7edc24c9a1bb9c0dee5cb05d8e859490725", + "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "webmozart/assert": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\PathUtil\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", + "support": { + "issues": "https://github.com/webmozart/path-util/issues", + "source": "https://github.com/webmozart/path-util/tree/2.3.0" + }, + "time": "2015-12-17T08:42:14+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.0.0" +} From 0eccc59382d3666cb9d70c50a8d2add2403ee9b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Tue, 19 Jan 2021 23:34:32 +0100 Subject: [PATCH 3/8] Fix Coveralls. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 9240aae..641af70 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "bamarni/composer-bin-plugin": "^1.4", "dealerdirect/phpcodesniffer-composer-installer": "^0.7", "overtrue/phplint": "^1.2", - "php-coveralls/php-coveralls": "^2.1", + "php-coveralls/php-coveralls": "^2.4", "phpcompatibility/php-compatibility": "^9.2", "phpcompatibility/phpcompatibility-wp": "^2.0", "phpmd/phpmd": "^2.7", @@ -51,7 +51,7 @@ "wp-phpunit/wp-phpunit": "^5.6" }, "scripts": { - "coveralls": "vendor/bin/coveralls -v", + "coveralls": "vendor/bin/php-coveralls -v", "phpcbf": "vendor/bin/phpcbf", "phpcs": "vendor/bin/phpcs -s -v", "phplint": "vendor/bin/phplint", From eb43e1e3bcd5ea0e15dd1c7c4ffabfd91ef21dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Wed, 20 Jan 2021 08:55:46 +0100 Subject: [PATCH 4/8] Fix static analysis on Travis. --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c23463c..aebc71b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,6 +74,10 @@ install: - composer self-update # Install Composer packages. - composer install + # PHPStan + - if [ "$PHPSTAN" == "1" ]; then composer bin phpstan install; fi + # Psalm + - if [ "$PSALM" == "1" ]; then composer bin psalm install; fi # Test on specific WordPress version. - composer require --dev --update-with-dependencies roots/wordpress:${WP_VERSION} wp-phpunit/wp-phpunit:${WP_VERSION} # List available packages. @@ -89,9 +93,9 @@ script: # PHP Mess Detector - if [ "$PHPMD" == "1" ]; then composer run-script phpmd; fi # PHPStan - - if [ "$PHPSTAN" == "1" ]; then phpstan analyze; fi + - if [ "$PHPSTAN" == "1" ]; then composer run-script phpstan; fi # Psalm - - if [ "$PSALM" == "1" ]; then psalm; fi + - if [ "$PSALM" == "1" ]; then composer run-script psalm; fi after_success: - if [ "$COVERAGE" == "1" ]; then composer run-script coveralls; fi From 43aea20f947c91ed53169bce8e28e7258c360e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Wed, 20 Jan 2021 13:56:02 +0100 Subject: [PATCH 5/8] Fix running PHPStan. --- phpstan.neon.dist | 6 +- tests/phpstan/bootstrap.php | 11 ++ vendor-bin/phpstan/composer.json | 7 +- vendor-bin/phpstan/composer.lock | 189 ++++++++++++++++++++++++++++++- 4 files changed, 207 insertions(+), 6 deletions(-) create mode 100644 tests/phpstan/bootstrap.php diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 973b0b0..986a90b 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,7 +1,9 @@ +includes: + - vendor-bin/phpstan/vendor/szepeviktor/phpstan-wordpress/extension.neon parameters: customRulesetUsed: false level: max bootstrapFiles: - - tests/bootstrap.php + - tests/phpstan/bootstrap.php paths: - - src + - src/ diff --git a/tests/phpstan/bootstrap.php b/tests/phpstan/bootstrap.php new file mode 100644 index 0000000..6fcfb66 --- /dev/null +++ b/tests/phpstan/bootstrap.php @@ -0,0 +1,11 @@ + + * @copyright 2005-2021 Pronamic + * @license GPL-3.0-or-later + * @package Pronamic\WordPress\Pay + */ + +define( 'SCRIPT_DEBUG', true ); diff --git a/vendor-bin/phpstan/composer.json b/vendor-bin/phpstan/composer.json index ab3927a..ec6f3e5 100644 --- a/vendor-bin/phpstan/composer.json +++ b/vendor-bin/phpstan/composer.json @@ -1,5 +1,6 @@ { - "require-dev": { - "phpstan/phpstan": "^0.12" - } + "require-dev": { + "phpstan/phpstan": "^0.12", + "szepeviktor/phpstan-wordpress": "^0.7" + } } diff --git a/vendor-bin/phpstan/composer.lock b/vendor-bin/phpstan/composer.lock index 0cba801..bdc91fa 100644 --- a/vendor-bin/phpstan/composer.lock +++ b/vendor-bin/phpstan/composer.lock @@ -4,9 +4,53 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "df90bbf0dc5bb735896104de277f8757", + "content-hash": "f2975d5a40e0b75bbe13237236457f2a", "packages": [], "packages-dev": [ + { + "name": "php-stubs/wordpress-stubs", + "version": "v5.6.0", + "source": { + "type": "git", + "url": "https://github.com/php-stubs/wordpress-stubs.git", + "reference": "ed446cce304cd49f13900274b3ed60d1b526297e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/ed446cce304cd49f13900274b3ed60d1b526297e", + "reference": "ed446cce304cd49f13900274b3ed60d1b526297e", + "shasum": "" + }, + "replace": { + "giacocorsiglia/wordpress-stubs": "*" + }, + "require-dev": { + "giacocorsiglia/stubs-generator": "^0.5.0", + "php": "~7.1" + }, + "suggest": { + "paragonie/sodium_compat": "Pure PHP implementation of libsodium", + "symfony/polyfill-php73": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "WordPress function and class declaration stubs for static analysis.", + "homepage": "https://github.com/php-stubs/wordpress-stubs", + "keywords": [ + "PHPStan", + "static analysis", + "wordpress" + ], + "support": { + "issues": "https://github.com/php-stubs/wordpress-stubs/issues", + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v5.6.0" + }, + "time": "2020-12-09T00:38:16+00:00" + }, { "name": "phpstan/phpstan", "version": "0.12.68", @@ -66,6 +110,149 @@ } ], "time": "2021-01-18T12:29:17+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "v1.22.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.0" + }, + "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-01-07T16:49:33+00:00" + }, + { + "name": "szepeviktor/phpstan-wordpress", + "version": "v0.7.2", + "source": { + "type": "git", + "url": "https://github.com/szepeviktor/phpstan-wordpress.git", + "reference": "191eafa7283497645de920d262133cf17de5353f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/191eafa7283497645de920d262133cf17de5353f", + "reference": "191eafa7283497645de920d262133cf17de5353f", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "php-stubs/wordpress-stubs": "^4.7 || ^5.0", + "phpstan/phpstan": "^0.12.26", + "symfony/polyfill-php73": "^1.12.0" + }, + "require-dev": { + "composer/composer": "^1.8.6", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpstan/phpstan-strict-rules": "^0.12", + "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^0.4.3" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "PHPStan\\WordPress\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "WordPress extensions for PHPStan", + "keywords": [ + "PHPStan", + "code analyse", + "code analysis", + "static analysis", + "wordpress" + ], + "support": { + "issues": "https://github.com/szepeviktor/phpstan-wordpress/issues", + "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v0.7.2" + }, + "funding": [ + { + "url": "https://www.paypal.me/szepeviktor", + "type": "custom" + } + ], + "time": "2021-01-03T13:45:42+00:00" } ], "aliases": [], From d560c371063f2ce4c48e5c6b4ce118409a86841e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Fri, 22 Jan 2021 14:00:50 +0100 Subject: [PATCH 6/8] Coding standards. --- src/Integration.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Integration.php b/src/Integration.php index 6102a68..6d5bf29 100644 --- a/src/Integration.php +++ b/src/Integration.php @@ -41,7 +41,6 @@ public function __construct( $args = array() ) { parent::__construct( $args ); - // Filters. $function = array( WooCommerce::class, 'woocommerce_available_payment_gateways' ); From 0adb76c4809affdefb8dbf387fd5929d019d2f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 4 Mar 2021 00:04:09 +0100 Subject: [PATCH 7/8] Spelling. --- CHANGELOG.md | 2 +- src/Customer.php | 2 +- src/Gateway.php | 2 +- src/GatewayInfo.php | 2 +- src/Merchant.php | 2 +- src/Signature.php | 2 +- src/Transaction.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dee42f1..5ce5599 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C - ## [2.1.2] - 2021-01-18 -- Added support for In3 pament method. +- Added support for In3 payment method. - Added partial support for Santander 'Betaal per maand' payment method. ## [2.1.1] - 2020-06-02 diff --git a/src/Customer.php b/src/Customer.php index 9e85cba..d44237a 100644 --- a/src/Customer.php +++ b/src/Customer.php @@ -3,7 +3,7 @@ namespace Pronamic\WordPress\Pay\Gateways\MultiSafepay; /** - * Title: MutliSafepay Connect customer + * Title: MultiSafepay Connect customer * Description: * Copyright: 2005-2021 Pronamic * Company: Pronamic diff --git a/src/Gateway.php b/src/Gateway.php index c1b6645..baef21a 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -12,7 +12,7 @@ use Pronamic\WordPress\Pay\Payments\Payment; /** - * Title: MultiSafepay Connect gateay + * Title: MultiSafepay Connect gateway * Description: * Copyright: 2005-2021 Pronamic * Company: Pronamic diff --git a/src/GatewayInfo.php b/src/GatewayInfo.php index 12a5468..afd3409 100644 --- a/src/GatewayInfo.php +++ b/src/GatewayInfo.php @@ -3,7 +3,7 @@ namespace Pronamic\WordPress\Pay\Gateways\MultiSafepay; /** - * Title: MutliSafepay Connect gateway info + * Title: MultiSafepay Connect gateway info * Description: * Copyright: 2005-2021 Pronamic * Company: Pronamic diff --git a/src/Merchant.php b/src/Merchant.php index 655f432..114802a 100644 --- a/src/Merchant.php +++ b/src/Merchant.php @@ -3,7 +3,7 @@ namespace Pronamic\WordPress\Pay\Gateways\MultiSafepay; /** - * Title: MutliSafepay Connect merchant + * Title: MultiSafepay Connect merchant * Description: * Copyright: 2005-2021 Pronamic * Company: Pronamic diff --git a/src/Signature.php b/src/Signature.php index c354c04..ae10747 100644 --- a/src/Signature.php +++ b/src/Signature.php @@ -5,7 +5,7 @@ use Pronamic\WordPress\Pay\Core\Util; /** - * Title: MutliSafepay Connect signature + * Title: MultiSafepay Connect signature * Description: * Copyright: 2005-2021 Pronamic * Company: Pronamic diff --git a/src/Transaction.php b/src/Transaction.php index 5addf42..9945cb4 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -3,7 +3,7 @@ namespace Pronamic\WordPress\Pay\Gateways\MultiSafepay; /** - * Title: MutliSafepay Connect transaction + * Title: MultiSafepay Connect transaction * Description: * Copyright: 2005-2021 Pronamic * Company: Pronamic From 61947f188daf0fda4047c5b3f057c6b88c23a87d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Mon, 26 Apr 2021 14:53:52 +0200 Subject: [PATCH 8/8] Getting ready for version 2.1.3. --- CHANGELOG.md | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ce5599..b6f04cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C ## [Unreleased][unreleased] - +## [2.1.3] - 2021-04-26 +- Happy 2021. + ## [2.1.2] - 2021-01-18 - Added support for In3 payment method. - Added partial support for Santander 'Betaal per maand' payment method. @@ -60,7 +63,8 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C ## 1.0.0 - 2015-01-19 - First release. -[unreleased]: https://github.com/wp-pay-gateways/multisafepay/compare/2.1.2...HEAD +[unreleased]: https://github.com/wp-pay-gateways/multisafepay/compare/2.1.3...HEAD +[2.1.3]: https://github.com/wp-pay-gateways/multisafepay/compare/2.1.2...2.1.3 [2.1.2]: https://github.com/wp-pay-gateways/multisafepay/compare/2.1.1...2.1.2 [2.1.1]: https://github.com/wp-pay-gateways/multisafepay/compare/2.1.0...2.1.1 [2.1.0]: https://github.com/wp-pay-gateways/multisafepay/compare/2.0.6...2.1.0 diff --git a/package.json b/package.json index d9881f5..40611c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "multisafepay", - "version": "2.1.2", + "version": "2.1.3", "description": "MultiSafepay driver for the WordPress payment processing library.", "repository": { "type": "git",