From 7366741c94f52ce65b1a96cf6696e02062c3267e Mon Sep 17 00:00:00 2001 From: Remco Tolsma Date: Tue, 5 Oct 2021 10:49:37 +0200 Subject: [PATCH 01/21] No need to check if the payment is the first payment, as long as the entry payment is not approved and the payment is tied to a subscription we trigger the 'create_subscription' payment action. --- src/Extension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extension.php b/src/Extension.php index 8a6212f..b54dd86 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -635,7 +635,7 @@ public function update_status( Payment $payment, $can_redirect = false ) { } // Create subscription. - if ( ! Entry::is_payment_approved( $lead ) && Recurring::FIRST === $payment->recurring_type && isset( $action['subscription_id'] ) && ! empty( $action['subscription_id'] ) ) { + if ( ! Entry::is_payment_approved( $lead ) && isset( $action['subscription_id'] ) && ! empty( $action['subscription_id'] ) ) { $action['subscription_start_date'] = gmdate( 'Y-m-d H:i:s' ); $this->payment_action( 'create_subscription', $lead, $action ); From e4d02ce61de7a6c79ce22ad45d09a4b01ea2e72b Mon Sep 17 00:00:00 2001 From: Remco Tolsma Date: Tue, 5 Oct 2021 13:42:36 +0200 Subject: [PATCH 02/21] Use new payment methods. --- src/Processor.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Processor.php b/src/Processor.php index 9ed31e0..984e694 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -248,9 +248,10 @@ public function entry_post_save( $lead, $form ) { $payment->config_id = $this->feed->config_id; $payment->order_id = $data->get_order_id(); - $payment->description = $data->get_description(); - $payment->method = $data->get_payment_method(); - $payment->issuer = $data->get_issuer_id(); + + $payment->set_description( $data->get_description() ); + $payment->set_payment_method( $data->get_payment_method() ); + $payment->set_meta( 'issuer', $data->get_issuer_id() ); // Currency. $currency = Currency::get_instance( $data->get_currency_alphabetic_code() ); From d6c0d038d125f4b65f0d3c48a3a8f1d062fa2b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 7 Oct 2021 10:09:19 +0200 Subject: [PATCH 03/21] Use `$payment->set_payment_method( ... )`. --- src/Processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Processor.php b/src/Processor.php index 984e694..04bc0e5 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -569,7 +569,7 @@ public function entry_post_save( $lead, $form ) { // Use iDEAL instead of 'Direct Debit (mandate via iDEAL)' without subscription. if ( null === $payment->get_subscription() && PaymentMethods::DIRECT_DEBIT_IDEAL === $payment->get_method() ) { - $payment->method = PaymentMethods::IDEAL; + $payment->set_payment_method( PaymentMethods::IDEAL ); } // Start. From 2a8d88714faa97bdd172620334c5fe6105fec65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 7 Oct 2021 10:29:49 +0200 Subject: [PATCH 04/21] Only add icons for known payment methods. --- src/PaymentMethodsField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PaymentMethodsField.php b/src/PaymentMethodsField.php index 9d5f944..9d05944 100644 --- a/src/PaymentMethodsField.php +++ b/src/PaymentMethodsField.php @@ -384,7 +384,7 @@ function ( &$item, $key ) { \esc_url( \str_replace( '.png', '@4x.png', $icon_url ) ) ); } - } elseif ( ! empty( $payment_method ) ) { + } elseif ( \array_key_exists( $payment_method, PaymentMethods::get_payment_methods() ) ) { $label_content = \sprintf( '%1$s%1$s', \esc_html( $choice['text'] ), From 1a1f2282e7e6d781ed5efee8c755f89c1cf541af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 7 Oct 2021 13:46:33 +0200 Subject: [PATCH 05/21] Use payment info getters/setters for `payment_method` instead of `method` property. --- src/Processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Processor.php b/src/Processor.php index 04bc0e5..4d1f302 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -568,7 +568,7 @@ public function entry_post_save( $lead, $form ) { $payment->set_total_amount( $payment->lines->get_amount() ); // Use iDEAL instead of 'Direct Debit (mandate via iDEAL)' without subscription. - if ( null === $payment->get_subscription() && PaymentMethods::DIRECT_DEBIT_IDEAL === $payment->get_method() ) { + if ( null === $payment->get_subscription() && PaymentMethods::DIRECT_DEBIT_IDEAL === $payment->get_payment_method() ) { $payment->set_payment_method( PaymentMethods::IDEAL ); } From cc65bdcb9506fdafebc7d111929808f304d206b4 Mon Sep 17 00:00:00 2001 From: Remco Tolsma Date: Fri, 8 Oct 2021 13:14:33 +0200 Subject: [PATCH 06/21] For follow-yp subscription payments we execute the `'add_subscription_payment'` action instead of the regular `'complete_payment'` action. There is a follow-up payment if the Pronamic payment ID stored with the entry does not match the ayment to be processed. See https://github.com/pronamic/wp-pronamic-pay/issues/239. --- src/Extension.php | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/src/Extension.php b/src/Extension.php index b54dd86..82968f3 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -607,12 +607,31 @@ public function update_status( Payment $payment, $can_redirect = false ) { } } + /** + * For follow-yp subscription payments we execute the `'add_subscription_payment'` + * action instead of the regular `'complete_payment'` action. There is a follow-up + * payment if the Pronamic payment ID stored with the entry does not match the + * payment to be processed. + * + * @link https://github.com/pronamic/wp-pronamic-pay/issues/239 + */ $success_action = 'complete_payment'; $fail_action = 'fail_payment'; - if ( 'recurring' === $payment->recurring_type ) { - $success_action = 'add_subscription_payment'; - $fail_action = 'fail_subscription_payment'; + $subscriptions = $payment->get_subscriptions(); + + if ( \count( $subscriptions ) > 0 ) { + $payment_id_1 = (string) \gform_get_meta( $lead_id, 'pronamic_payment_id' ); + $payment_id_2 = (string) $payment->get_id(); + + if ( $payment_id_1 !== $payment_id_2 ) { + $success_action = 'add_subscription_payment'; + $fail_action = 'fail_subscription_payment'; + + if ( PaymentStatus::OPEN === $payment->status ) { + \gform_update_meta( $lead['id'], 'pronamic_subscription_payment_id', $payment_id_2 ); + } + } } switch ( $payment->status ) { @@ -647,9 +666,9 @@ public function update_status( Payment $payment, $can_redirect = false ) { break; case PaymentStatus::OPEN: default: - if ( 'recurring' === $payment->recurring_type ) { - gform_update_meta( $lead['id'], 'pronamic_subscription_payment_id', $payment->get_id() ); - } + // Nothing to-do. + + break; } } From 0afab04e677df506a28fbe073b201b2432352eb1 Mon Sep 17 00:00:00 2001 From: Remco Tolsma Date: Fri, 8 Oct 2021 13:14:42 +0200 Subject: [PATCH 07/21] vendor/bin/phpcbf --- src/Processor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Processor.php b/src/Processor.php index 4d1f302..4e3756e 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -246,8 +246,8 @@ public function entry_post_save( $lead, $form ) { $data->get_description() ); - $payment->config_id = $this->feed->config_id; - $payment->order_id = $data->get_order_id(); + $payment->config_id = $this->feed->config_id; + $payment->order_id = $data->get_order_id(); $payment->set_description( $data->get_description() ); $payment->set_payment_method( $data->get_payment_method() ); From 96c76c197427ffa69d4dd7c7e5584d7ecca7170c Mon Sep 17 00:00:00 2001 From: Remco Tolsma Date: Fri, 8 Oct 2021 14:01:34 +0200 Subject: [PATCH 08/21] Remove unused `use Pronamic\WordPress\Pay\Core\Recurring;` statement. --- src/Extension.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Extension.php b/src/Extension.php index 82968f3..85e6ea7 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -20,7 +20,6 @@ use Pronamic\WordPress\Money\Money; use Pronamic\WordPress\Pay\AbstractPluginIntegration; use Pronamic\WordPress\Pay\Core\PaymentMethods; -use Pronamic\WordPress\Pay\Core\Recurring; use Pronamic\WordPress\Pay\Payments\PaymentStatus; use Pronamic\WordPress\Pay\Core\Util as Core_Util; use Pronamic\WordPress\Pay\Customer; From 4ad4d5ce668a0f334c783c38f58566f96ca9cc1c Mon Sep 17 00:00:00 2001 From: Remco Tolsma Date: Fri, 8 Oct 2021 14:51:56 +0200 Subject: [PATCH 09/21] No longer set `$payment->subscription_source_id`. --- src/Processor.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Processor.php b/src/Processor.php index 4e3756e..2329fc9 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -476,11 +476,12 @@ public function entry_post_save( $lead, $form ) { $interval = $data->get_subscription_interval(); if ( null !== $interval->value && $interval->value > 0 && $subscription_lines->get_amount()->get_value() > 0 ) { - $payment->subscription_source_id = $lead['id']; - // Build subscription. $subscription = new Subscription(); + $payment->set_source( 'gravityformsideal' ); + $payment->set_source_id( $lead['id'] ); + $subscription->lines = $subscription_lines; // Phase. From 80c515e649228b5bfdba60b44b212778a8dacddb Mon Sep 17 00:00:00 2001 From: Remco Tolsma Date: Fri, 8 Oct 2021 16:28:28 +0200 Subject: [PATCH 10/21] No longer use `$payment->subscription`. --- src/Processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Processor.php b/src/Processor.php index 2329fc9..ae1d8f6 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -562,7 +562,7 @@ public function entry_post_save( $lead, $form ) { $payment->add_period( $subscription->new_period() ); - $payment->subscription = $subscription; + $payment->add_subscription( $subscription ); } // Total amount. From f9e8d4f22481ee677b047ed280b1b7ef332abcb2 Mon Sep 17 00:00:00 2001 From: Remco Tolsma Date: Mon, 11 Oct 2021 09:20:36 +0200 Subject: [PATCH 11/21] https://github.com/pronamic/wp-pronamic-pay/issues/248 --- src/Processor.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Processor.php b/src/Processor.php index ae1d8f6..fdd5f28 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -561,8 +561,6 @@ public function entry_post_save( $lead, $form ) { $subscription->add_phase( $phase ); $payment->add_period( $subscription->new_period() ); - - $payment->add_subscription( $subscription ); } // Total amount. From 3095b81e7c7f1d3f4b2d2dd97ed4aebcebe127da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Wed, 20 Oct 2021 00:37:45 +0200 Subject: [PATCH 12/21] Introduce actions `pronamic_pay_pre_create_payment` and `pronamic_pay_pre_create_subscription` to fix duplicate subscriptions (fixes pronamic/wp-pronamic-pay#256). --- src/Processor.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Processor.php b/src/Processor.php index fdd5f28..e118f70 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -451,8 +451,6 @@ public function entry_post_save( $lead, $form ) { // First payment and subscription amount are free. ( $payment->get_lines()->get_amount()->get_number()->is_zero() && $subscription_lines->get_amount()->get_number()->is_zero() ) ) { - Plugin::complement_payment( $payment ); - $payment->set_status( PaymentStatus::SUCCESS ); $payment->save(); From 8b2bea4a3c0f3cd4a4aa5c87936eca17806dff9e Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Tue, 16 Nov 2021 10:09:31 +0100 Subject: [PATCH 13/21] Use Number object for money and calculations. --- src/Processor.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Processor.php b/src/Processor.php index e118f70..967c9ab 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -11,6 +11,7 @@ namespace Pronamic\WordPress\Pay\Extensions\GravityForms; use GFCommon; +use Pronamic\WordPress\Number\Number; use Pronamic\WordPress\Money\Currency; use Pronamic\WordPress\Money\Money; use Pronamic\WordPress\Pay\AbstractGatewayIntegration; @@ -350,12 +351,14 @@ public function entry_post_save( $lead, $form ) { } if ( array_key_exists( 'price', $product ) ) { - $value = GFCommon::to_number( $product['price'] ); + $value = Number::from_mixed( GFCommon::to_number( $product['price'] ) ); $line->set_unit_price( new Money( $value, $currency ) ); if ( array_key_exists( 'quantity', $product ) ) { - $value = ( $value * intval( $product['quantity'] ) ); + $quantity = Number::from_mixed( $product['quantity'] ); + + $value = $value->multiply( $quantity ); } $line->set_total_amount( new Money( $value, $currency ) ); From 095630b391a67967bcd21915671459691e6db5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 18 Nov 2021 10:30:25 +0100 Subject: [PATCH 14/21] Getting rid of usage of deprecated `$payment->get_subscription()`. --- src/Extension.php | 12 ++++++++---- src/Processor.php | 4 +++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/Extension.php b/src/Extension.php index 85e6ea7..51663e4 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -443,15 +443,17 @@ private function maybe_update_payment_user( $lead, $feed ) { return; } - // Update payment post author. + // Update payment customer user ID and post author. if ( null === $payment->get_customer() ) { $payment->set_customer( new Customer() ); } + // Set payment customer user ID. $payment->get_customer()->set_user_id( $user->ID ); $payment->save(); + // Update payment post author. wp_update_post( array( 'ID' => $payment->get_id(), @@ -459,18 +461,20 @@ private function maybe_update_payment_user( $lead, $feed ) { ) ); - // Update subscription post author. - $subscription = $payment->get_subscription(); + // Update subscription customer user ID and post author. + $subscriptions = $payment->get_subscriptions(); - if ( null !== $subscription ) { + foreach ( $subscriptions as $subscription ) { if ( null === $subscription->get_customer() ) { $subscription->set_customer( new Customer() ); } + // Set subscription customer user ID. $subscription->get_customer()->set_user_id( $user->ID ); $subscription->save(); + // Update subscription post author. wp_update_post( array( 'ID' => $subscription->get_id(), diff --git a/src/Processor.php b/src/Processor.php index 967c9ab..b054996 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -568,7 +568,9 @@ public function entry_post_save( $lead, $form ) { $payment->set_total_amount( $payment->lines->get_amount() ); // Use iDEAL instead of 'Direct Debit (mandate via iDEAL)' without subscription. - if ( null === $payment->get_subscription() && PaymentMethods::DIRECT_DEBIT_IDEAL === $payment->get_payment_method() ) { + $subscriptions = $payment->get_subscriptions(); + + if ( empty( $subscriptions ) && PaymentMethods::DIRECT_DEBIT_IDEAL === $payment->get_payment_method() ) { $payment->set_payment_method( PaymentMethods::IDEAL ); } From e59bc867791fdcc1d0ff13b74581e3b35165053b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 18 Nov 2021 15:53:52 +0100 Subject: [PATCH 15/21] Update libraries. --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2a04e78..a2b8cb6 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,8 @@ "pronamic/wp-coding-standards": "^1.0", "roots/wordpress": "^5.8", "wp-phpunit/wp-phpunit": "^5.8", - "wp-premium/gravityforms": "^2.3" + "wp-premium/gravityforms": "^2.3", + "yoast/phpunit-polyfills": "^1.0" }, "scripts": { "coveralls": "vendor/bin/php-coveralls -v", From 22928938d28e755d0b006804523edd6e650e38ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 2 Dec 2021 13:57:34 +0100 Subject: [PATCH 16/21] Also set alignment phase amount to payment lines amount when not prorating. --- src/Processor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Processor.php b/src/Processor.php index b054996..9ce841a 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -552,10 +552,11 @@ public function entry_post_save( $lead, $form ) { $payment->lines = $new_lines; - $alignment_phase->set_amount( $payment->lines->get_amount() ); $alignment_phase->set_prorated( true ); } + $alignment_phase->set_amount( $payment->lines->get_amount() ); + $subscription->add_phase( $alignment_phase ); } From a47a37eda28f6044c8e8a3db731b1a9e2363a17c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 9 Dec 2021 12:18:35 +0100 Subject: [PATCH 17/21] Update for wp-pay-logos version 1.7.0. --- src/PaymentMethodsField.php | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/PaymentMethodsField.php b/src/PaymentMethodsField.php index 9d05944..1676b8c 100644 --- a/src/PaymentMethodsField.php +++ b/src/PaymentMethodsField.php @@ -365,26 +365,7 @@ function ( &$item, $key ) { // Radio input. $label_content = \sprintf( '%s', esc_html( $choice['text'] ) ); - if ( PaymentMethods::is_direct_debit_method( $payment_method ) ) { - $icon_path = \sprintf( - '%s/icon-%s.png', - \strtr( \strtolower( $payment_method ), $replacements ), - \implode( 'x', $dimensions ) - ); - - if ( \file_exists( \plugin_dir_path( Plugin::$file ) . 'images/' . $icon_path ) ) { - $icon_url = \plugins_url( 'images/' . $icon_path, Plugin::$file ); - - $label_content = \sprintf( - '%1$s%1$s', - \esc_html( $choice['text'] ), - \esc_url( $icon_url ), - \esc_url( \str_replace( '.png', '@2x.png', $icon_url ) ), - \esc_url( \str_replace( '.png', '@3x.png', $icon_url ) ), - \esc_url( \str_replace( '.png', '@4x.png', $icon_url ) ) - ); - } - } elseif ( \array_key_exists( $payment_method, PaymentMethods::get_payment_methods() ) ) { + if ( \array_key_exists( $payment_method, PaymentMethods::get_payment_methods() ) ) { $label_content = \sprintf( '%1$s%1$s', \esc_html( $choice['text'] ), From c1c5507b6c2284488bbe638bc75338f215022e88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 9 Dec 2021 13:50:57 +0100 Subject: [PATCH 18/21] Update for scripts and styles Github action. --- .eslintignore | 6 ++++++ .eslintrc | 8 ++++++++ .sass-lint.yml | 2 ++ package.json | 10 ++++++++-- 4 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .eslintignore create mode 100644 .eslintrc diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..4bd07c7 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,6 @@ +/build/ +/node_modules/ +/vendor/ +/vendor-bin/ +/wordpress/ +/wp-content/ diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..3ce9a87 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,8 @@ +{ + "env": { + "es6": true + }, + "plugins": [ + "json" + ] +} diff --git a/.sass-lint.yml b/.sass-lint.yml index ce0ef1f..db7dd16 100644 --- a/.sass-lint.yml +++ b/.sass-lint.yml @@ -1,3 +1,5 @@ +files: + include: 'scss/**/*.scss' rules: indentation: - 1 diff --git a/package.json b/package.json index 308ef64..badeeda 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,8 @@ ], "devDependencies": { "autoprefixer": "^10.2.5", + "eslint": "^8.0", + "eslint-plugin-json": "^3.1", "grunt": "^1.3.0", "grunt-contrib-compass": "^1.1.1", "grunt-contrib-cssmin": "^4.0.0", @@ -43,10 +45,14 @@ "grunt-contrib-uglify": "^5.0.1", "grunt-postcss": "^0.9.0", "grunt-sass-lint": "^0.2.4", - "load-grunt-tasks": "^5.1.0" + "load-grunt-tasks": "^5.1.0", + "sass-lint": "^1.13.1" }, "scripts": { "build-image": "npm-run-all build-image-*", - "build-image-svg-default": "svgo images/src/wp-pay.svg -o images/dist/wp-pay.svgo-min.svg" + "build-image-svg-default": "svgo images/src/wp-pay.svg -o images/dist/wp-pay.svgo-min.svg", + "eslint": "eslint . --ext .json --ext .js", + "lint": "npm-run-all --parallel eslint sass-lint", + "sass-lint": "sass-lint --verbose" } } From ddb54349b430dfeb5ed76a04d3c57d3f710c1b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Mon, 3 Jan 2022 14:05:48 +0100 Subject: [PATCH 19/21] Happy 2022. --- src/Admin.php | 4 ++-- src/AdminPaymentFormPostType.php | 4 ++-- src/Entry.php | 4 ++-- src/Extension.php | 4 ++-- src/FeedsDB.php | 4 ++-- src/Fields.php | 4 ++-- src/GravityForms.php | 4 ++-- src/GravityFormsDependency.php | 2 +- src/IssuersField.php | 4 ++-- src/LeadProperties.php | 4 ++-- src/Links.php | 4 ++-- src/PayFeed.php | 4 ++-- src/PaymentAddOn.php | 4 ++-- src/PaymentData.php | 4 ++-- src/PaymentFormPostType.php | 4 ++-- src/PaymentMethodsField.php | 4 ++-- src/PaymentStatuses.php | 4 ++-- src/Processor.php | 4 ++-- src/Util.php | 4 ++-- tests/bootstrap.php | 2 +- tests/phpstan/bootstrap.php | 2 +- tests/src/LinksTest.php | 4 ++-- views/html-admin-feed-gf-box.php | 2 +- views/html-admin-feed-meta-box.php | 2 +- views/html-admin-feed-settings.php | 2 +- 25 files changed, 44 insertions(+), 44 deletions(-) diff --git a/src/Admin.php b/src/Admin.php index 082273f..1a41de3 100644 --- a/src/Admin.php +++ b/src/Admin.php @@ -3,7 +3,7 @@ * Admin * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -16,7 +16,7 @@ /** * Title: WordPress pay extension Gravity Forms admin * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/AdminPaymentFormPostType.php b/src/AdminPaymentFormPostType.php index ccf2016..ee977d4 100644 --- a/src/AdminPaymentFormPostType.php +++ b/src/AdminPaymentFormPostType.php @@ -3,7 +3,7 @@ * Admin payment form post type * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -17,7 +17,7 @@ /** * Title: WordPress admin payment form post type * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Entry.php b/src/Entry.php index 87e9947..55e99fd 100644 --- a/src/Entry.php +++ b/src/Entry.php @@ -3,7 +3,7 @@ * Entry * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -13,7 +13,7 @@ /** * Title: WordPress pay extension Gravity Forms entry * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Extension.php b/src/Extension.php index 51663e4..6d15b4f 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -3,7 +3,7 @@ * Extension * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -32,7 +32,7 @@ /** * Title: WordPress pay extension Gravity Forms extension * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/FeedsDB.php b/src/FeedsDB.php index 73ae7c1..62e7d05 100644 --- a/src/FeedsDB.php +++ b/src/FeedsDB.php @@ -3,7 +3,7 @@ * Feeds database * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -15,7 +15,7 @@ /** * Title: WordPress pay extension Gravity Forms admin * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Fields.php b/src/Fields.php index 9ff821e..dab3a41 100644 --- a/src/Fields.php +++ b/src/Fields.php @@ -3,7 +3,7 @@ * Fields * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -16,7 +16,7 @@ /** * Title: WordPress pay extension Gravity Forms fields * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/GravityForms.php b/src/GravityForms.php index 4181049..2e1c883 100644 --- a/src/GravityForms.php +++ b/src/GravityForms.php @@ -3,7 +3,7 @@ * Gravity Forms * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -18,7 +18,7 @@ /** * Title: WordPress pay extension Gravity Forms * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/GravityFormsDependency.php b/src/GravityFormsDependency.php index 82c3dc8..f58b536 100644 --- a/src/GravityFormsDependency.php +++ b/src/GravityFormsDependency.php @@ -3,7 +3,7 @@ * Gravity Forms Dependency * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ diff --git a/src/IssuersField.php b/src/IssuersField.php index b5b1ee2..637ba62 100644 --- a/src/IssuersField.php +++ b/src/IssuersField.php @@ -3,7 +3,7 @@ * Issuers field * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -18,7 +18,7 @@ /** * Title: WordPress pay extension Gravity Forms issuers field * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/LeadProperties.php b/src/LeadProperties.php index f71820e..2f302c0 100644 --- a/src/LeadProperties.php +++ b/src/LeadProperties.php @@ -3,7 +3,7 @@ * Lead properties * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -13,7 +13,7 @@ /** * Title: WordPress pay extension Gravity Forms lead properties * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Links.php b/src/Links.php index a0b034d..e771d72 100644 --- a/src/Links.php +++ b/src/Links.php @@ -3,7 +3,7 @@ * Links * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -15,7 +15,7 @@ /** * Title: WordPress pay extension Gravity Forms links * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/PayFeed.php b/src/PayFeed.php index 458fefc..caedaa1 100644 --- a/src/PayFeed.php +++ b/src/PayFeed.php @@ -3,7 +3,7 @@ * Pay feed * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -15,7 +15,7 @@ /** * Title: WordPress pay extension Gravity Forms pay feed * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/PaymentAddOn.php b/src/PaymentAddOn.php index 6206048..7cd11db 100644 --- a/src/PaymentAddOn.php +++ b/src/PaymentAddOn.php @@ -3,7 +3,7 @@ * Payment add-on * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -17,7 +17,7 @@ /** * Title: WordPress pay extension Gravity Forms payment add-on * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/PaymentData.php b/src/PaymentData.php index 05751e8..62e34c2 100644 --- a/src/PaymentData.php +++ b/src/PaymentData.php @@ -3,7 +3,7 @@ * Payment data * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -20,7 +20,7 @@ /** * Title: WordPress pay extension Gravity Forms payment data * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/PaymentFormPostType.php b/src/PaymentFormPostType.php index c2ade34..f0dad20 100644 --- a/src/PaymentFormPostType.php +++ b/src/PaymentFormPostType.php @@ -3,7 +3,7 @@ * Payment form post type * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -13,7 +13,7 @@ /** * Title: WordPress payment form post type * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/PaymentMethodsField.php b/src/PaymentMethodsField.php index 1676b8c..4259aef 100644 --- a/src/PaymentMethodsField.php +++ b/src/PaymentMethodsField.php @@ -3,7 +3,7 @@ * Payment methods field * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -18,7 +18,7 @@ /** * Title: WordPress pay extension Gravity Forms payment methods * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/PaymentStatuses.php b/src/PaymentStatuses.php index 843f054..e1d0d5e 100644 --- a/src/PaymentStatuses.php +++ b/src/PaymentStatuses.php @@ -3,7 +3,7 @@ * Payment statuses * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -15,7 +15,7 @@ /** * Title: WordPress pay extension Gravity Forms payment statuses * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Processor.php b/src/Processor.php index 9ce841a..ad04922 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -3,7 +3,7 @@ * Processor * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -33,7 +33,7 @@ /** * Title: WordPress pay extension Gravity Forms processor * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/src/Util.php b/src/Util.php index 0b1e9a9..10ad805 100644 --- a/src/Util.php +++ b/src/Util.php @@ -3,7 +3,7 @@ * Util * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -15,7 +15,7 @@ /** * Title: WordPress pay extension Gravity Forms extension * 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 25704a7..24a9081 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\Extensions\GravityForms */ 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/LinksTest.php b/tests/src/LinksTest.php index 7c3091a..b646c3c 100644 --- a/tests/src/LinksTest.php +++ b/tests/src/LinksTest.php @@ -3,7 +3,7 @@ * Links test. * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ @@ -15,7 +15,7 @@ /** * Title: WordPress pay extension Gravity Forms links test * Description: - * Copyright: 2005-2021 Pronamic + * Copyright: 2005-2022 Pronamic * Company: Pronamic * * @author Remco Tolsma diff --git a/views/html-admin-feed-gf-box.php b/views/html-admin-feed-gf-box.php index 9d731c3..9de20cf 100644 --- a/views/html-admin-feed-gf-box.php +++ b/views/html-admin-feed-gf-box.php @@ -3,7 +3,7 @@ * Admin feed Gravity Forms box. * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ diff --git a/views/html-admin-feed-meta-box.php b/views/html-admin-feed-meta-box.php index d04e772..91110dd 100644 --- a/views/html-admin-feed-meta-box.php +++ b/views/html-admin-feed-meta-box.php @@ -3,7 +3,7 @@ * Admin feed meta box. * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ diff --git a/views/html-admin-feed-settings.php b/views/html-admin-feed-settings.php index 68c4b39..5b22ae5 100644 --- a/views/html-admin-feed-settings.php +++ b/views/html-admin-feed-settings.php @@ -3,7 +3,7 @@ * Admin feed settings. * * @author Pronamic - * @copyright 2005-2021 Pronamic + * @copyright 2005-2022 Pronamic * @license GPL-3.0-or-later * @package Pronamic\WordPress\Pay\Extensions\GravityForms */ From 3d494b1d13031342969770b01db1b08d9b5ab7ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 6 Jan 2022 16:48:56 +0100 Subject: [PATCH 20/21] Fix setting quantity for product options (props @R3dRidl3). --- src/Processor.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/Processor.php b/src/Processor.php index ad04922..761e28c 100644 --- a/src/Processor.php +++ b/src/Processor.php @@ -369,6 +369,8 @@ public function entry_post_save( $lead, $form ) { } if ( array_key_exists( 'options', $product ) && is_array( $product['options'] ) ) { + $product_quantity = $line->get_quantity(); + $options = $product['options']; foreach ( $options as $option ) { @@ -376,17 +378,22 @@ public function entry_post_save( $lead, $form ) { $product_lines[] = $line; - $line->set_quantity( 1 ); - + // Name. if ( array_key_exists( 'option_label', $option ) ) { $line->set_name( $option['option_label'] ); } + // Quantity. + $line->set_quantity( null === $product_quantity ? 1 : $product_quantity ); + + // Price. if ( array_key_exists( 'price', $option ) ) { - $value = GFCommon::to_number( $option['price'] ); + $value = Number::from_mixed( GFCommon::to_number( $option['price'] ) ); $line->set_unit_price( new Money( $value, $currency ) ); + $value = $value->multiply( Number::from_mixed( $line->get_quantity() ) ); + $line->set_total_amount( new Money( $value, $currency ) ); } } From 8fbbd412ce4f3c28124fcac89c2395c73fd3b0d4 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Mon, 10 Jan 2022 16:11:21 +0100 Subject: [PATCH 21/21] Update to https://github.com/pronamic/wp-pay-core/releases/tag/4.0.0. --- CHANGELOG.md | 12 +- composer.json | 5 +- package.json | 2 +- vendor-bin/phpstan/composer.lock | 36 +-- vendor-bin/psalm/composer.lock | 366 +++++++++++++++---------- vendor-bin/wp-documentor/composer.lock | 249 +++++++++-------- 6 files changed, 395 insertions(+), 275 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f311e6..8627082 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C ## [Unreleased][unreleased] - +## [4.0.0] - 2022-01-10 +### Changed +- Updated to https://github.com/pronamic/wp-pay-core/releases/tag/4.0.0. +- Use Number object for money and calculations. + +### Fixed +- Also set alignment phase amount to payment lines amount when not prorating. +- Fixed setting quantity for product options (props @R3dRidl3). + ## [3.0.2] - 2021-09-16 - Updated issuers field to only use active payment feeds. - Fixed duplicate `pronamic_payment_id` entry meta ([pronamic/wp-pronamic-pay#208](https://github.com/pronamic/wp-pronamic-pay/issues/208)). @@ -321,7 +330,8 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C ## 1.0.0 - 2015-01-01 - First release. -[unreleased]: https://github.com/wp-pay-extensions/gravityforms/compare/3.0.2...HEAD +[unreleased]: https://github.com/wp-pay-extensions/gravityforms/compare/4.0.0...HEAD +[4.0.0]: https://github.com/wp-pay-extensions/gravityforms/compare/3.0.2...4.0.0 [3.0.2]: https://github.com/wp-pay-extensions/gravityforms/compare/3.0.1...3.0.2 [3.0.1]: https://github.com/wp-pay-extensions/gravityforms/compare/3.0.0...3.0.1 [3.0.0]: https://github.com/wp-pay-extensions/gravityforms/compare/2.7.0...3.0.0 diff --git a/composer.json b/composer.json index a2b8cb6..a6594d4 100644 --- a/composer.json +++ b/composer.json @@ -33,8 +33,11 @@ }, "require": { "php": ">=5.6.20", + "pronamic/wp-datetime": "^2.0", "pronamic/wp-gravityforms-nl": "^3.0", - "wp-pay/core": "^3.0" + "pronamic/wp-money": "^2.0", + "pronamic/wp-number": "^1.1", + "wp-pay/core": "^4.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.4", diff --git a/package.json b/package.json index badeeda..ea0f95e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gravityforms", - "version": "3.0.2", + "version": "4.0.0", "description": "Gravity Forms driver for the WordPress payment processing library.", "repository": { "type": "git", 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" } ], diff --git a/vendor-bin/wp-documentor/composer.lock b/vendor-bin/wp-documentor/composer.lock index 5faaf29..dc8d4b9 100644 --- a/vendor-bin/wp-documentor/composer.lock +++ b/vendor-bin/wp-documentor/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "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": { @@ -58,9 +58,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": "phpdocumentor/reflection", @@ -173,16 +173,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": { @@ -193,7 +193,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": { @@ -223,22 +224,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": { @@ -246,7 +247,8 @@ "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "ext-tokenizer": "*" + "ext-tokenizer": "*", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -272,9 +274,9 @@ "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": "pronamic/wp-documentor", @@ -282,12 +284,12 @@ "source": { "type": "git", "url": "https://github.com/pronamic/wp-documentor.git", - "reference": "886d98c3bf3ca7eba8dc84061e98a25cc98d6d0c" + "reference": "847832685d10e8802771d6239aa376a04d2abf85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pronamic/wp-documentor/zipball/886d98c3bf3ca7eba8dc84061e98a25cc98d6d0c", - "reference": "886d98c3bf3ca7eba8dc84061e98a25cc98d6d0c", + "url": "https://api.github.com/repos/pronamic/wp-documentor/zipball/847832685d10e8802771d6239aa376a04d2abf85", + "reference": "847832685d10e8802771d6239aa376a04d2abf85", "shasum": "" }, "require": { @@ -345,26 +347,26 @@ ], "support": { "issues": "https://github.com/pronamic/wp-documentor/issues", - "source": "https://github.com/pronamic/wp-documentor/tree/1.1.1" + "source": "https://github.com/pronamic/wp-documentor/tree/main" }, - "time": "2021-06-10T11:09:50+00:00" + "time": "2021-11-16T10:25: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": { @@ -393,9 +395,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", @@ -449,26 +451,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", @@ -483,12 +485,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", @@ -528,7 +530,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.3.6" + "source": "https://github.com/symfony/console/tree/v5.4.2" }, "funding": [ { @@ -544,20 +546,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": { @@ -566,7 +568,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -595,7 +597,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": [ { @@ -611,25 +613,26 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2021-07-12T14:48:14+00:00" }, { "name": "symfony/filesystem", - "version": "v5.3.4", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32" + "reference": "731f917dc31edcffec2c6a777f3698c33bea8f01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/343f4fe324383ca46792cae728a3b6e2f708fb32", - "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/731f917dc31edcffec2c6a777f3698c33bea8f01", + "reference": "731f917dc31edcffec2c6a777f3698c33bea8f01", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.8", "symfony/polyfill-php80": "^1.16" }, "type": "library", @@ -658,7 +661,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.3.4" + "source": "https://github.com/symfony/filesystem/tree/v5.4.0" }, "funding": [ { @@ -674,24 +677,25 @@ "type": "tidelift" } ], - "time": "2021-07-21T12:40:44+00:00" + "time": "2021-10-28T13:39:27+00:00" }, { "name": "symfony/finder", - "version": "v5.3.4", + "version": "v5.4.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "17f50e06018baec41551a71a15731287dbaab186" + "reference": "e77046c252be48c48a40816187ed527703c8f76c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/17f50e06018baec41551a71a15731287dbaab186", - "reference": "17f50e06018baec41551a71a15731287dbaab186", + "url": "https://api.github.com/repos/symfony/finder/zipball/e77046c252be48c48a40816187ed527703c8f76c", + "reference": "e77046c252be48c48a40816187ed527703c8f76c", "shasum": "" }, "require": { "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-php80": "^1.16" }, "type": "library", @@ -720,7 +724,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.3.4" + "source": "https://github.com/symfony/finder/tree/v5.4.2" }, "funding": [ { @@ -736,25 +740,28 @@ "type": "tidelift" } ], - "time": "2021-07-23T15:54:19+00:00" + "time": "2021-12-15T11:06:13+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" }, @@ -799,7 +806,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": [ { @@ -815,20 +822,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": { @@ -880,7 +887,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": [ { @@ -896,11 +903,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", @@ -964,7 +971,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": [ { @@ -984,21 +991,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" }, @@ -1044,7 +1054,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": [ { @@ -1060,20 +1070,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": { @@ -1123,7 +1133,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": [ { @@ -1139,20 +1149,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": { @@ -1206,7 +1216,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": [ { @@ -1222,25 +1232,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": "" @@ -1248,7 +1262,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1285,7 +1299,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": [ { @@ -1301,20 +1315,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": { @@ -1325,11 +1339,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": { @@ -1368,7 +1385,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.3.3" + "source": "https://github.com/symfony/string/tree/v5.4.2" }, "funding": [ { @@ -1384,7 +1401,7 @@ "type": "tidelift" } ], - "time": "2021-06-27T11:44:38+00:00" + "time": "2021-12-16T21:52:00+00:00" }, { "name": "webmozart/assert",