diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a04c68e..3d68f55 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -285,32 +285,3 @@ jobs: run: | composer run-script coveralls bash <(curl -s https://codecov.io/bash) - - es-sass-linting: - name: Scripts and Styles - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - # https://github.com/actions/cache/blob/master/examples.md#macos-and-ubuntu - - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - uses: actions/setup-node@v1 - with: - node-version: '12' - - - name: Install Node packages - run: npm install - - - name: ESLint - run: npm run-script eslint - - - name: Sass Lint - run: npm run-script sass-lint diff --git a/.gitignore b/.gitignore index e106644..3808141 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ # WordPress /wordpress/ +/wp-content/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 40ebaf0..2759781 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C ## [Unreleased][unreleased] - +## [4.0.0] - 2022-01-11 +### Changed +- Updated to https://github.com/pronamic/wp-pay-core/releases/tag/4.0.0. +- Improved credit card support. + ## [3.0.0] - 2021-08-05 - Updated to `pronamic/wp-pay-core` version `3.0.0`. - Updated to `pronamic/wp-money` version `2.0.0`. @@ -69,8 +74,9 @@ 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/3.0.0...HEAD -[3.0.0]: https://github.com/wp-pay-gateways/multisafepay/compare/3.0.0...3.0.0 +[unreleased]: https://github.com/wp-pay-gateways/multisafepay/compare/4.0.0...HEAD +[4.0.0]: https://github.com/wp-pay-gateways/multisafepay/compare/3.0.0...4.0.0 +[3.0.0]: https://github.com/wp-pay-gateways/multisafepay/compare/2.1.3...3.0.0 [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 diff --git a/composer.json b/composer.json index 60b8a24..a67a569 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "require": { "php": ">=5.6.20", "ext-simplexml": "*", - "wp-pay/core": "^3.0" + "wp-pay/core": "^4.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.4", @@ -44,7 +44,8 @@ "phpunit/phpunit": "^5.7 || ^6.0", "pronamic/wp-coding-standards": "^1.0", "roots/wordpress": "^5.8", - "wp-phpunit/wp-phpunit": "^5.8" + "wp-phpunit/wp-phpunit": "^5.8", + "yoast/phpunit-polyfills": "^1.0" }, "scripts": { "coveralls": "vendor/bin/php-coveralls -v", diff --git a/package.json b/package.json index 58e0a90..5fc62a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "multisafepay", - "version": "3.0.0", + "version": "4.0.0", "description": "MultiSafepay driver for the WordPress payment processing library.", "repository": { "type": "git", diff --git a/src/Client.php b/src/Client.php index cb721c9..28625e7 100644 --- a/src/Client.php +++ b/src/Client.php @@ -19,7 +19,7 @@ /** * Title: MultiSafepay Connect client * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Config.php b/src/Config.php index 5987d47..5190c95 100644 --- a/src/Config.php +++ b/src/Config.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay config * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Customer.php b/src/Customer.php index d44237a..09fab41 100644 --- a/src/Customer.php +++ b/src/Customer.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay Connect customer * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Gateway.php b/src/Gateway.php index 48099e2..614558b 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -14,7 +14,7 @@ /** * Title: MultiSafepay Connect gateway * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma @@ -61,6 +61,7 @@ public function __construct( Config $config ) { * Get iDEAL issuers * * @see Core_Gateway::get_issuers() + * @return array> * @since 1.2.0 */ public function get_issuers() { @@ -87,14 +88,17 @@ public function get_issuers() { * Get credit card issuers * * @see Core_Gateway::get_credit_card_issuers() + * @return array> */ public function get_credit_card_issuers() { - $groups[] = array( - 'options' => array( - Methods::AMEX => _x( 'AMEX', 'Payment method name', 'pronamic_ideal' ), - Methods::MAESTRO => _x( 'Maestro', 'Payment method name', 'pronamic_ideal' ), - Methods::MASTERCARD => _x( 'MASTER', 'Payment method name', 'pronamic_ideal' ), - Methods::VISA => _x( 'VISA', 'Payment method name', 'pronamic_ideal' ), + // Get active card issuers. + $issuers = \array_intersect_key( $this->get_gateways(), Methods::get_cards() ); + + sort( $issuers ); + + $groups = array( + array( + 'options' => $issuers, ), ); @@ -105,40 +109,28 @@ public function get_credit_card_issuers() { * Get payment methods * * @see Core_Gateway::get_payment_methods() + * @return array */ public function get_available_payment_methods() { $payment_methods = array(); - // Merchant. - $merchant = new Merchant(); - $merchant->account = $this->config->account_id; - $merchant->site_id = $this->config->site_id; - $merchant->site_secure_code = $this->config->site_code; - - // Customer. - $customer = new Customer(); - - // Get gateways. - try { - $result = $this->client->get_gateways( $merchant, $customer ); - } catch ( \Exception $e ) { - $error = new \WP_Error( 'multisafepay_error', $e->getMessage() ); - - $this->set_error( $error ); - - return $payment_methods; - } + $gateways = $this->get_gateways(); - if ( false === $result ) { - return $payment_methods; - } - - foreach ( $result as $method => $title ) { + foreach ( $gateways as $method => $title ) { $payment_method = Methods::transform_gateway_method( $method ); - if ( $payment_method ) { - $payment_methods[] = $payment_method; + // Handle cards, as no general method for credit cards is returned by gateway. + if ( null === $payment_method && \array_key_exists( $method, Methods::get_cards() ) ) { + $payment_method = PaymentMethods::CREDIT_CARD; } + + // Check valid payment method. + if ( null === $payment_method ) { + continue; + } + + // Add available payment method. + $payment_methods[] = $payment_method; } return $payment_methods; @@ -148,6 +140,7 @@ public function get_available_payment_methods() { * Get supported payment methods * * @see Core_Gateway::get_supported_payment_methods() + * @return array */ public function get_supported_payment_methods() { return array( @@ -174,7 +167,7 @@ public function get_supported_payment_methods() { * @param Payment $payment Payment object. */ public function start( Payment $payment ) { - $payment_method = $payment->get_method(); + $payment_method = $payment->get_payment_method(); $transaction_description = $payment->get_description(); @@ -220,7 +213,7 @@ public function start( Payment $payment ) { case PaymentMethods::IDEAL: $transaction->gateway = Methods::IDEAL; - $issuer = $payment->get_issuer(); + $issuer = $payment->get_meta( 'issuer' ); if ( empty( $issuer ) ) { $message = new RedirectTransactionRequestMessage( $merchant, $customer, $transaction ); @@ -236,7 +229,7 @@ public function start( Payment $payment ) { case PaymentMethods::CREDIT_CARD: $gateway = Methods::transform( $payment_method ); - $issuer = $payment->get_issuer(); + $issuer = $payment->get_meta( 'issuer' ); if ( empty( $issuer ) ) { if ( $gateway ) { @@ -338,4 +331,37 @@ public function update_status( Payment $payment ) { $consumer_bank_details->set_bic( $result->payment_details->account_bic ); $consumer_bank_details->set_account_number( $result->payment_details->account_id ); } + + /** + * Get gateways. + * + * @return array + */ + private function get_gateways() { + // Merchant. + $merchant = new Merchant(); + $merchant->account = $this->config->account_id; + $merchant->site_id = $this->config->site_id; + $merchant->site_secure_code = $this->config->site_code; + + // Customer. + $customer = new Customer(); + + // Get gateways. + $gateways = array(); + + try { + $result = $this->client->get_gateways( $merchant, $customer ); + + if ( false !== $result ) { + $gateways = $result; + } + } catch ( \Exception $e ) { + $error = new \WP_Error( 'multisafepay_error', $e->getMessage() ); + + $this->set_error( $error ); + } + + return $gateways; + } } diff --git a/src/GatewayInfo.php b/src/GatewayInfo.php index afd3409..96e9554 100644 --- a/src/GatewayInfo.php +++ b/src/GatewayInfo.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay Connect gateway info * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Integration.php b/src/Integration.php index 6d5bf29..685bb33 100644 --- a/src/Integration.php +++ b/src/Integration.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay Connect integration * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma @@ -49,10 +49,15 @@ public function __construct( $args = array() ) { } } + /** + * Get settings fields. + * + * @return array + */ public function get_settings_fields() { $fields = array(); - // Account ID + // Account ID. $fields[] = array( 'section' => 'general', 'filter' => FILTER_SANITIZE_STRING, @@ -68,7 +73,7 @@ public function get_settings_fields() { ), ); - // Site ID + // Site ID. $fields[] = array( 'section' => 'general', 'filter' => FILTER_SANITIZE_STRING, @@ -84,7 +89,7 @@ public function get_settings_fields() { ), ); - // Site Security Code + // Site Security Code. $fields[] = array( 'section' => 'general', 'filter' => FILTER_SANITIZE_STRING, @@ -106,8 +111,7 @@ public function get_settings_fields() { /** * Get config. * - * @param $post_id - * + * @param int $post_id Gateway configuration post ID. * @return Config */ public function get_config( $post_id ) { diff --git a/src/Merchant.php b/src/Merchant.php index 114802a..97979a1 100644 --- a/src/Merchant.php +++ b/src/Merchant.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay Connect merchant * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Methods.php b/src/Methods.php index f4f5f28..4018293 100644 --- a/src/Methods.php +++ b/src/Methods.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay connect payment methods * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma @@ -127,6 +127,13 @@ class Methods { */ const BANCONTACT = 'MISTERCASH'; + /** + * Gateway Credit card + * + * @var string + */ + const CREDITCARD = 'CREDITCARD'; + /** * Gateway Pay after delivery * @@ -158,13 +165,14 @@ class Methods { /** * Payments methods map. * - * @var array + * @var array */ private static $map = array( PaymentMethods::ALIPAY => self::ALIPAY, PaymentMethods::BANCONTACT => self::BANCONTACT, PaymentMethods::BANK_TRANSFER => self::BANK_TRANSFER, PaymentMethods::BELFIUS => self::BELFIUS, + PaymentMethods::CREDIT_CARD => self::CREDITCARD, PaymentMethods::DIRECT_DEBIT => self::DIRECT_DEBIT, PaymentMethods::GIROPAY => self::GIROPAY, PaymentMethods::IDEAL => self::IDEAL, @@ -179,15 +187,12 @@ class Methods { /** * Transform WordPress payment method to MultiSafepay method. * - * @since unreleased - * - * @param string $payment_method Payment method. - * @param mixed $default Default payment method. - * - * @return string + * @param string|null $payment_method Payment method. + * @param string|null $default Default payment method. + * @return string|null */ public static function transform( $payment_method, $default = null ) { - if ( ! is_scalar( $payment_method ) ) { + if ( ! \is_scalar( $payment_method ) ) { return null; } @@ -201,23 +206,34 @@ public static function transform( $payment_method, $default = null ) { /** * Transform MultiSafepay method to WordPress payment method. * - * @since unreleased - * - * @param string $method Mollie method. - * - * @return string + * @param string $method MultiSafepay method. + * @return string|null */ public static function transform_gateway_method( $method ) { - if ( ! is_scalar( $method ) ) { + if ( ! \is_scalar( $method ) ) { return null; } - $payment_method = array_search( $method, self::$map, true ); + $payment_method = \array_search( $method, self::$map, true ); - if ( ! $payment_method ) { + if ( ! \is_string( $payment_method ) ) { return null; } return $payment_method; } + + /** + * Get cards. + * + * @return array + */ + public static function get_cards() { + return array( + self::AMEX => _x( 'American Express', 'Payment method name', 'pronamic_ideal' ), + self::MAESTRO => _x( 'Maestro', 'Payment method name', 'pronamic_ideal' ), + self::MASTERCARD => _x( 'Mastercard', 'Payment method name', 'pronamic_ideal' ), + self::VISA => _x( 'Visa', 'Payment method name', 'pronamic_ideal' ), + ); + } } diff --git a/src/MultiSafepay.php b/src/MultiSafepay.php index c7f43b7..0e94d4f 100644 --- a/src/MultiSafepay.php +++ b/src/MultiSafepay.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Signature.php b/src/Signature.php index ae10747..261fd88 100644 --- a/src/Signature.php +++ b/src/Signature.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay Connect signature * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Statuses.php b/src/Statuses.php index f7f52c8..693cb5a 100644 --- a/src/Statuses.php +++ b/src/Statuses.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay statuses constants * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Transaction.php b/src/Transaction.php index 9945cb4..1bc3fc8 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay Connect transaction * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/WooCommerce.php b/src/WooCommerce.php index fd86652..1eef070 100644 --- a/src/WooCommerce.php +++ b/src/WooCommerce.php @@ -3,7 +3,7 @@ * WooCommerce. * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay */ diff --git a/src/XML/DirectTransactionRequestMessage.php b/src/XML/DirectTransactionRequestMessage.php index 37ac322..b263a4e 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/DirectTransactionResponseMessage.php b/src/XML/DirectTransactionResponseMessage.php index b5a08f2..5e43861 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/GatewaysRequestMessage.php b/src/XML/GatewaysRequestMessage.php index ffc0dfb..17cc500 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/GatewaysResponseMessage.php b/src/XML/GatewaysResponseMessage.php index e0fc247..960de53 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/IDealIssuersRequestMessage.php b/src/XML/IDealIssuersRequestMessage.php index 9f5c533..0308842 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/IDealIssuersResponseMessage.php b/src/XML/IDealIssuersResponseMessage.php index 682a2f1..c05ace6 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/Message.php b/src/XML/Message.php index 91acae9..b09abbf 100644 --- a/src/XML/Message.php +++ b/src/XML/Message.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay Connect XML message * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/RedirectTransactionRequestMessage.php b/src/XML/RedirectTransactionRequestMessage.php index b42d0e1..6454ccb 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/RedirectTransactionResponseMessage.php b/src/XML/RedirectTransactionResponseMessage.php index 53a3389..456fcdf 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/RequestMessage.php b/src/XML/RequestMessage.php index 97786dd..64be8cf 100644 --- a/src/XML/RequestMessage.php +++ b/src/XML/RequestMessage.php @@ -10,7 +10,7 @@ /** * Title: MultiSafepay Connect XML request message * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/ResponseMessage.php b/src/XML/ResponseMessage.php index 16c5567..1264569 100644 --- a/src/XML/ResponseMessage.php +++ b/src/XML/ResponseMessage.php @@ -5,7 +5,7 @@ /** * Title: MultiSafepay Connect XML response message * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/StatusRequestMessage.php b/src/XML/StatusRequestMessage.php index 1e4459a..78bde8d 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/StatusResponseMessage.php b/src/XML/StatusResponseMessage.php index 5133c57..96e1e1a 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-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/XML/TransactionParser.php b/src/XML/TransactionParser.php index a399959..723a237 100644 --- a/src/XML/TransactionParser.php +++ b/src/XML/TransactionParser.php @@ -9,7 +9,7 @@ /** * Title: MultiSafepay Connect XML transaction parser * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/tests/bootstrap.php b/tests/bootstrap.php index b054ac2..df1c94d 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -3,7 +3,7 @@ * Bootstrap tests * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Gateways\MultiSafepay */ diff --git a/tests/phpstan/bootstrap.php b/tests/phpstan/bootstrap.php index 6fcfb66..cff4f4d 100644 --- a/tests/phpstan/bootstrap.php +++ b/tests/phpstan/bootstrap.php @@ -3,7 +3,7 @@ * Definitions for PHPStan. * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay */ diff --git a/tests/src/ConfigTest.php b/tests/src/ConfigTest.php index c8b2627..a6f5b82 100644 --- a/tests/src/ConfigTest.php +++ b/tests/src/ConfigTest.php @@ -7,7 +7,7 @@ /** * Title: MultiSafepay - Config test * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/tests/src/GatewayTest.php b/tests/src/GatewayTest.php index 65d4e2d..fc7b585 100644 --- a/tests/src/GatewayTest.php +++ b/tests/src/GatewayTest.php @@ -9,7 +9,7 @@ /** * Title: MultiSafepay gateway test * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/tests/src/StatusesTest.php b/tests/src/StatusesTest.php index 4ca1382..5976466 100644 --- a/tests/src/StatusesTest.php +++ b/tests/src/StatusesTest.php @@ -8,7 +8,7 @@ /** * Title: MultiSafepay statuses test * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/vendor-bin/phpstan/composer.lock b/vendor-bin/phpstan/composer.lock index 9a30fb5..c151b94 100644 --- a/vendor-bin/phpstan/composer.lock +++ b/vendor-bin/phpstan/composer.lock @@ -9,16 +9,16 @@ "packages-dev": [ { "name": "php-stubs/wordpress-stubs", - "version": "v5.8.0", + "version": "v5.8.2", "source": { "type": "git", "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "794e6eedfd5f2a334d581214c007fc398be588fe" + "reference": "67fd773742b7be5b4463f40318b0b4890a07033b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/794e6eedfd5f2a334d581214c007fc398be588fe", - "reference": "794e6eedfd5f2a334d581214c007fc398be588fe", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/67fd773742b7be5b4463f40318b0b4890a07033b", + "reference": "67fd773742b7be5b4463f40318b0b4890a07033b", "shasum": "" }, "replace": { @@ -47,22 +47,22 @@ ], "support": { "issues": "https://github.com/php-stubs/wordpress-stubs/issues", - "source": "https://github.com/php-stubs/wordpress-stubs/tree/v5.8.0" + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v5.8.2" }, - "time": "2021-07-21T02:34:37+00:00" + "time": "2021-11-11T13:57:00+00:00" }, { "name": "phpstan/phpstan", - "version": "0.12.94", + "version": "0.12.99", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "3d0ba4c198a24e3c3fc489f3ec6ac9612c4be5d6" + "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/3d0ba4c198a24e3c3fc489f3ec6ac9612c4be5d6", - "reference": "3d0ba4c198a24e3c3fc489f3ec6ac9612c4be5d6", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b4d40f1d759942f523be267a1bab6884f46ca3f7", + "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7", "shasum": "" }, "require": { @@ -93,7 +93,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.94" + "source": "https://github.com/phpstan/phpstan/tree/0.12.99" }, "funding": [ { @@ -113,20 +113,20 @@ "type": "tidelift" } ], - "time": "2021-07-30T09:05:27+00:00" + "time": "2021-09-12T20:09:55+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.23.0", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010" + "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010", - "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5", + "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5", "shasum": "" }, "require": { @@ -176,7 +176,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.24.0" }, "funding": [ { @@ -192,7 +192,7 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2021-06-05T21:20:04+00:00" }, { "name": "szepeviktor/phpstan-wordpress", diff --git a/vendor-bin/psalm/composer.lock b/vendor-bin/psalm/composer.lock index 77e45f6..cc9e5ae 100644 --- a/vendor-bin/psalm/composer.lock +++ b/vendor-bin/psalm/composer.lock @@ -9,16 +9,16 @@ "packages-dev": [ { "name": "amphp/amp", - "version": "v2.6.0", + "version": "v2.6.1", "source": { "type": "git", "url": "https://github.com/amphp/amp.git", - "reference": "caa95edeb1ca1bf7532e9118ede4a3c3126408cc" + "reference": "c5fc66a78ee38d7ac9195a37bacaf940eb3f65ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/caa95edeb1ca1bf7532e9118ede4a3c3126408cc", - "reference": "caa95edeb1ca1bf7532e9118ede4a3c3126408cc", + "url": "https://api.github.com/repos/amphp/amp/zipball/c5fc66a78ee38d7ac9195a37bacaf940eb3f65ae", + "reference": "c5fc66a78ee38d7ac9195a37bacaf940eb3f65ae", "shasum": "" }, "require": { @@ -86,7 +86,7 @@ "support": { "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.6.0" + "source": "https://github.com/amphp/amp/tree/v2.6.1" }, "funding": [ { @@ -94,7 +94,7 @@ "type": "github" } ], - "time": "2021-07-16T20:06:06+00:00" + "time": "2021-09-23T18:43:08+00:00" }, { "name": "amphp/byte-stream", @@ -175,16 +175,16 @@ }, { "name": "composer/package-versions-deprecated", - "version": "1.11.99.2", + "version": "1.11.99.4", "source": { "type": "git", "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "c6522afe5540d5fc46675043d3ed5a45a740b27c" + "reference": "b174585d1fe49ceed21928a945138948cb394600" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/c6522afe5540d5fc46675043d3ed5a45a740b27c", - "reference": "c6522afe5540d5fc46675043d3ed5a45a740b27c", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b174585d1fe49ceed21928a945138948cb394600", + "reference": "b174585d1fe49ceed21928a945138948cb394600", "shasum": "" }, "require": { @@ -228,7 +228,7 @@ "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.2" + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.4" }, "funding": [ { @@ -244,20 +244,91 @@ "type": "tidelift" } ], - "time": "2021-05-24T07:46:03+00:00" + "time": "2021-09-13T08:41:34+00:00" + }, + { + "name": "composer/pcre", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/composer/pcre.git", + "reference": "3d322d715c43a1ac36c7fe215fa59336265500f2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/pcre/zipball/3d322d715c43a1ac36c7fe215fa59336265500f2", + "reference": "3d322d715c43a1ac36c7fe215fa59336265500f2", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Pcre\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", + "keywords": [ + "PCRE", + "preg", + "regex", + "regular expression" + ], + "support": { + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/1.0.0" + }, + "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": "2021-12-06T15:17:27+00:00" }, { "name": "composer/semver", - "version": "3.2.5", + "version": "3.2.7", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9" + "reference": "deac27056b57e46faf136fae7b449eeaa71661ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/31f3ea725711245195f62e54ffa402d8ef2fdba9", - "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9", + "url": "https://api.github.com/repos/composer/semver/zipball/deac27056b57e46faf136fae7b449eeaa71661ee", + "reference": "deac27056b57e46faf136fae7b449eeaa71661ee", "shasum": "" }, "require": { @@ -309,7 +380,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.2.5" + "source": "https://github.com/composer/semver/tree/3.2.7" }, "funding": [ { @@ -325,29 +396,31 @@ "type": "tidelift" } ], - "time": "2021-05-24T12:41:47+00:00" + "time": "2022-01-04T09:57:54+00:00" }, { "name": "composer/xdebug-handler", - "version": "2.0.2", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339" + "reference": "12f1b79476638a5615ed00ea6adbb269cec96fd8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/84674dd3a7575ba617f5a76d7e9e29a7d3891339", - "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/12f1b79476638a5615ed00ea6adbb269cec96fd8", + "reference": "12f1b79476638a5615ed00ea6adbb269cec96fd8", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0", + "composer/pcre": "^1", + "php": "^7.2.5 || ^8.0", "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^6.0" }, "type": "library", "autoload": { @@ -373,7 +446,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.2" + "source": "https://github.com/composer/xdebug-handler/tree/3.0.1" }, "funding": [ { @@ -389,7 +462,7 @@ "type": "tidelift" } ], - "time": "2021-07-31T17:03:58+00:00" + "time": "2022-01-04T18:29:42+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -582,16 +655,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.12.0", + "version": "v4.13.2", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "6608f01670c3cc5079e18c1dab1104e002579143" + "reference": "210577fe3cf7badcc5814d99455df46564f3c077" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6608f01670c3cc5079e18c1dab1104e002579143", - "reference": "6608f01670c3cc5079e18c1dab1104e002579143", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077", + "reference": "210577fe3cf7badcc5814d99455df46564f3c077", "shasum": "" }, "require": { @@ -632,9 +705,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.12.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2" }, - "time": "2021-07-21T10:44:31+00:00" + "time": "2021-11-30T19:35:32+00:00" }, { "name": "openlss/lib-array2xml", @@ -744,16 +817,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.2.2", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", "shasum": "" }, "require": { @@ -764,7 +837,8 @@ "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.2" + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -794,22 +868,22 @@ "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" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" }, - "time": "2020-09-03T19:13:55+00:00" + "time": "2021-10-19T17:43:47+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "1.4.0", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" + "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/93ebd0014cab80c4ea9f5e297ea48672f1b87706", + "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706", "shasum": "" }, "require": { @@ -817,7 +891,8 @@ "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "ext-tokenizer": "*" + "ext-tokenizer": "*", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -843,26 +918,26 @@ "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" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.0" }, - "time": "2020-09-17T18:55:26+00:00" + "time": "2022-01-04T19:58:01+00:00" }, { "name": "psr/container", - "version": "1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", + "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", "shasum": "" }, "require": { - "php": ">=7.2.0" + "php": ">=7.4.0" }, "type": "library", "autoload": { @@ -891,9 +966,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.1" + "source": "https://github.com/php-fig/container/tree/1.1.2" }, - "time": "2021-03-05T17:36:06+00:00" + "time": "2021-11-05T16:50:12+00:00" }, { "name": "psr/log", @@ -1013,26 +1088,26 @@ }, { "name": "symfony/console", - "version": "v5.3.6", + "version": "v5.4.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2" + "reference": "a2c6b7ced2eb7799a35375fb9022519282b5405e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/51b71afd6d2dc8f5063199357b9880cea8d8bfe2", - "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2", + "url": "https://api.github.com/repos/symfony/console/zipball/a2c6b7ced2eb7799a35375fb9022519282b5405e", + "reference": "a2c6b7ced2eb7799a35375fb9022519282b5405e", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.8", + "symfony/polyfill-php73": "^1.9", "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2", - "symfony/string": "^5.1" + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.1|^6.0" }, "conflict": { "psr/log": ">=3", @@ -1047,12 +1122,12 @@ }, "require-dev": { "psr/log": "^1|^2", - "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" + "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" }, "suggest": { "psr/log": "For using the console logger", @@ -1092,7 +1167,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.3.6" + "source": "https://github.com/symfony/console/tree/v5.4.2" }, "funding": [ { @@ -1108,20 +1183,20 @@ "type": "tidelift" } ], - "time": "2021-07-27T19:10:22+00:00" + "time": "2021-12-20T16:11:12+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627" + "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8", + "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8", "shasum": "" }, "require": { @@ -1130,7 +1205,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1159,7 +1234,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0" }, "funding": [ { @@ -1175,25 +1250,28 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2021-07-12T14:48:14+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.23.0", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce" + "reference": "30885182c981ab175d4d034db0f6f469898070ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce", - "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", + "reference": "30885182c981ab175d4d034db0f6f469898070ab", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-ctype": "*" + }, "suggest": { "ext-ctype": "For best performance" }, @@ -1238,7 +1316,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0" }, "funding": [ { @@ -1254,20 +1332,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2021-10-20T20:35:02+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.23.1", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "16880ba9c5ebe3642d1995ab866db29270b36535" + "reference": "81b86b50cf841a64252b439e738e97f4a34e2783" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/16880ba9c5ebe3642d1995ab866db29270b36535", - "reference": "16880ba9c5ebe3642d1995ab866db29270b36535", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783", + "reference": "81b86b50cf841a64252b439e738e97f4a34e2783", "shasum": "" }, "require": { @@ -1319,7 +1397,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.1" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.24.0" }, "funding": [ { @@ -1335,11 +1413,11 @@ "type": "tidelift" } ], - "time": "2021-05-27T12:26:48+00:00" + "time": "2021-11-23T21:10:46+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.23.0", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -1403,7 +1481,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.24.0" }, "funding": [ { @@ -1423,21 +1501,24 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.23.1", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6" + "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6", - "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", + "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-mbstring": "*" + }, "suggest": { "ext-mbstring": "For best performance" }, @@ -1483,7 +1564,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.24.0" }, "funding": [ { @@ -1499,20 +1580,20 @@ "type": "tidelift" } ], - "time": "2021-05-27T12:26:48+00:00" + "time": "2021-11-30T18:21:41+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.23.0", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010" + "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010", - "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5", + "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5", "shasum": "" }, "require": { @@ -1562,7 +1643,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.24.0" }, "funding": [ { @@ -1578,20 +1659,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2021-06-05T21:20:04+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.23.1", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be" + "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9" }, "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/57b712b08eddb97c762a8caa32c84e037892d2e9", + "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9", "shasum": "" }, "require": { @@ -1645,7 +1726,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.1" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0" }, "funding": [ { @@ -1661,25 +1742,29 @@ "type": "tidelift" } ], - "time": "2021-07-28T13:41:28+00:00" + "time": "2021-09-13T13:58:33+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb" + "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", + "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/container": "^1.1" + "psr/container": "^1.1", + "symfony/deprecation-contracts": "^2.1" + }, + "conflict": { + "ext-psr": "<1.1|>=2" }, "suggest": { "symfony/service-implementation": "" @@ -1687,7 +1772,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1724,7 +1809,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.0" }, "funding": [ { @@ -1740,20 +1825,20 @@ "type": "tidelift" } ], - "time": "2021-04-01T10:43:52+00:00" + "time": "2021-11-04T16:48:04+00:00" }, { "name": "symfony/string", - "version": "v5.3.3", + "version": "v5.4.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1" + "reference": "e6a5d5ecf6589c5247d18e0e74e30b11dfd51a3d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1", - "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1", + "url": "https://api.github.com/repos/symfony/string/zipball/e6a5d5ecf6589c5247d18e0e74e30b11dfd51a3d", + "reference": "e6a5d5ecf6589c5247d18e0e74e30b11dfd51a3d", "shasum": "" }, "require": { @@ -1764,11 +1849,14 @@ "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "~1.15" }, + "conflict": { + "symfony/translation-contracts": ">=3.0" + }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0" + "symfony/var-exporter": "^4.4|^5.0|^6.0" }, "type": "library", "autoload": { @@ -1807,7 +1895,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.3.3" + "source": "https://github.com/symfony/string/tree/v5.4.2" }, "funding": [ { @@ -1823,20 +1911,20 @@ "type": "tidelift" } ], - "time": "2021-06-27T11:44:38+00:00" + "time": "2021-12-16T21:52:00+00:00" }, { "name": "vimeo/psalm", - "version": "4.9.2", + "version": "4.18.1", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "00c062267d6e3229d91a1939992987e2d46f2393" + "reference": "dda05fa913f4dc6eb3386f2f7ce5a45d37a71bcb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/00c062267d6e3229d91a1939992987e2d46f2393", - "reference": "00c062267d6e3229d91a1939992987e2d46f2393", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/dda05fa913f4dc6eb3386f2f7ce5a45d37a71bcb", + "reference": "dda05fa913f4dc6eb3386f2f7ce5a45d37a71bcb", "shasum": "" }, "require": { @@ -1844,8 +1932,9 @@ "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 || ^2.0", + "composer/xdebug-handler": "^1.1 || ^2.0 || ^3.0", "dnoegel/php-xdg-base-dir": "^0.1.1", + "ext-ctype": "*", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -1855,11 +1944,11 @@ "felixfbecker/advanced-json-rpc": "^3.0.3", "felixfbecker/language-server-protocol": "^1.5", "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "nikic/php-parser": "^4.12", + "nikic/php-parser": "^4.13", "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", + "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0 || ^6.0", "webmozart/path-util": "^2.3" }, "provide": { @@ -1877,12 +1966,12 @@ "psalm/plugin-phpunit": "^0.16", "slevomat/coding-standard": "^7.0", "squizlabs/php_codesniffer": "^3.5", - "symfony/process": "^4.3 || ^5.0", - "weirdan/phpunit-appveyor-reporter": "^1.0.0", + "symfony/process": "^4.3 || ^5.0 || ^6.0", "weirdan/prophecy-shim": "^1.0 || ^2.0" }, "suggest": { - "ext-igbinary": "^2.0.5" + "ext-curl": "In order to send data to shepherd", + "ext-igbinary": "^2.0.5 is required, used to serialize caching data" }, "bin": [ "psalm", @@ -1926,9 +2015,9 @@ ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.9.2" + "source": "https://github.com/vimeo/psalm/tree/4.18.1" }, - "time": "2021-08-01T01:15:26+00:00" + "time": "2022-01-08T21:21:26+00:00" }, { "name": "webmozart/assert", @@ -2036,6 +2125,7 @@ "issues": "https://github.com/webmozart/path-util/issues", "source": "https://github.com/webmozart/path-util/tree/2.3.0" }, + "abandoned": "symfony/filesystem", "time": "2015-12-17T08:42:14+00:00" } ],