Version Description
- 2022-04-05 =
- Fix - Payment Request Button - Do not set WC session cookie and HTML container on the product page if not enabled.
Download this release
Release Info
| Developer | automattic |
| Plugin | |
| Version | 3.9.3 |
| Comparing to | |
| See all releases | |
Code changes from version 3.9.2 to 3.9.3
- changelog.txt +3 -0
- dist/index.asset.php +1 -1
- includes/class-wc-payments-payment-request-button-handler.php +12 -1
- languages/woocommerce-payments.pot +19 -19
- readme.txt +4 -1
- vendor/autoload.php +1 -1
- vendor/autoload_packages.php +1 -1
- vendor/composer/ClassLoader.php +102 -11
- vendor/composer/InstalledVersions.php +19 -6
- vendor/composer/autoload_real.php +14 -9
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +2 -2
- vendor/composer/jetpack_autoload_classmap.php +8 -8
- vendor/jetpack-autoloader/class-autoloader-handler.php +1 -1
- vendor/jetpack-autoloader/class-autoloader-locator.php +1 -1
- vendor/jetpack-autoloader/class-autoloader.php +1 -1
- vendor/jetpack-autoloader/class-container.php +1 -1
- vendor/jetpack-autoloader/class-hook-manager.php +1 -1
- vendor/jetpack-autoloader/class-latest-autoloader-guard.php +1 -1
- vendor/jetpack-autoloader/class-manifest-reader.php +1 -1
- vendor/jetpack-autoloader/class-path-processor.php +1 -1
- vendor/jetpack-autoloader/class-php-autoloader.php +1 -1
- vendor/jetpack-autoloader/class-plugin-locator.php +1 -1
- vendor/jetpack-autoloader/class-plugins-handler.php +1 -1
- vendor/jetpack-autoloader/class-shutdown-handler.php +1 -1
- vendor/jetpack-autoloader/class-version-loader.php +1 -1
- vendor/jetpack-autoloader/class-version-selector.php +1 -1
- woocommerce-payments.php +1 -1
changelog.txt
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
*** WooCommerce Payments Changelog ***
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
= 3.9.2 - 2022-04-01 =
|
| 4 |
* Fix - Fixing error related to some currencies
|
| 5 |
|
| 1 |
*** WooCommerce Payments Changelog ***
|
| 2 |
|
| 3 |
+
= 3.9.3 - 2022-04-05 =
|
| 4 |
+
* Fix - Payment Request Button - Do not set WC session cookie and HTML container on the product page if not enabled.
|
| 5 |
+
|
| 6 |
= 3.9.2 - 2022-04-01 =
|
| 7 |
* Fix - Fixing error related to some currencies
|
| 8 |
|
dist/index.asset.php
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wc-components', 'wc-currency', 'wc-navigation', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-mediaelement', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => '
|
| 1 |
+
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wc-components', 'wc-currency', 'wc-navigation', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-mediaelement', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => 'fffedf7ee9030e553dd7c2d818b5c436');
|
includes/class-wc-payments-payment-request-button-handler.php
CHANGED
|
@@ -150,7 +150,12 @@ class WC_Payments_Payment_Request_Button_Handler {
|
|
| 150 |
* @return void
|
| 151 |
*/
|
| 152 |
public function set_session() {
|
| 153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
return;
|
| 155 |
}
|
| 156 |
|
|
@@ -662,6 +667,9 @@ class WC_Payments_Payment_Request_Button_Handler {
|
|
| 662 |
* Display the payment request button.
|
| 663 |
*/
|
| 664 |
public function display_payment_request_button_html() {
|
|
|
|
|
|
|
|
|
|
| 665 |
?>
|
| 666 |
<div id="wcpay-payment-request-wrapper" style="clear:both;padding-top:1.5em;display:none;">
|
| 667 |
<div id="wcpay-payment-request-button">
|
|
@@ -675,6 +683,9 @@ class WC_Payments_Payment_Request_Button_Handler {
|
|
| 675 |
* Display payment request button separator.
|
| 676 |
*/
|
| 677 |
public function display_payment_request_button_separator_html() {
|
|
|
|
|
|
|
|
|
|
| 678 |
?>
|
| 679 |
<p id="wcpay-payment-request-button-separator" style="margin-top:1.5em;text-align:center;display:none;">— <?php esc_html_e( 'OR', 'woocommerce-payments' ); ?> —</p>
|
| 680 |
<?php
|
| 150 |
* @return void
|
| 151 |
*/
|
| 152 |
public function set_session() {
|
| 153 |
+
// Don't set session cookies on product pages to allow for caching when payment request
|
| 154 |
+
// buttons are disabled. But keep cookies if there is already an active WC session in place.
|
| 155 |
+
if (
|
| 156 |
+
! ( $this->is_product() && $this->should_show_payment_request_button() )
|
| 157 |
+
|| ( isset( WC()->session ) && WC()->session->has_session() )
|
| 158 |
+
) {
|
| 159 |
return;
|
| 160 |
}
|
| 161 |
|
| 667 |
* Display the payment request button.
|
| 668 |
*/
|
| 669 |
public function display_payment_request_button_html() {
|
| 670 |
+
if ( ! $this->should_show_payment_request_button() ) {
|
| 671 |
+
return;
|
| 672 |
+
}
|
| 673 |
?>
|
| 674 |
<div id="wcpay-payment-request-wrapper" style="clear:both;padding-top:1.5em;display:none;">
|
| 675 |
<div id="wcpay-payment-request-button">
|
| 683 |
* Display payment request button separator.
|
| 684 |
*/
|
| 685 |
public function display_payment_request_button_separator_html() {
|
| 686 |
+
if ( ! $this->should_show_payment_request_button() ) {
|
| 687 |
+
return;
|
| 688 |
+
}
|
| 689 |
?>
|
| 690 |
<p id="wcpay-payment-request-button-separator" style="margin-top:1.5em;text-align:center;display:none;">— <?php esc_html_e( 'OR', 'woocommerce-payments' ); ?> —</p>
|
| 691 |
<?php
|
languages/woocommerce-payments.pot
CHANGED
|
@@ -2,10 +2,10 @@
|
|
| 2 |
# This file is distributed under the same license as the WooCommerce Payments package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: WooCommerce Payments 3.9.
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-payments\n"
|
| 8 |
-
"POT-Creation-Date: 2022-04-
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
|
@@ -1022,48 +1022,48 @@ msgstr ""
|
|
| 1022 |
msgid "Intent id was not included for payment complete status change."
|
| 1023 |
msgstr ""
|
| 1024 |
|
| 1025 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1026 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1027 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1028 |
#: includes/in-person-payments/templates/html-in-person-payment-receipt.php:169
|
| 1029 |
msgid "Tax"
|
| 1030 |
msgstr ""
|
| 1031 |
|
| 1032 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1033 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1034 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1035 |
msgid "Shipping"
|
| 1036 |
msgstr ""
|
| 1037 |
|
| 1038 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1039 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1040 |
#: dist/index.js:1
|
| 1041 |
#: client/deposits/strings.ts:12
|
| 1042 |
msgid "Pending"
|
| 1043 |
msgstr ""
|
| 1044 |
|
| 1045 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1046 |
msgid "OR"
|
| 1047 |
msgstr ""
|
| 1048 |
|
| 1049 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1050 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1051 |
msgid "Unable to find shipping method for address."
|
| 1052 |
msgstr ""
|
| 1053 |
|
| 1054 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1055 |
#. translators: product ID
|
| 1056 |
msgid "Product with the ID (%d) cannot be found."
|
| 1057 |
msgstr ""
|
| 1058 |
|
| 1059 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1060 |
#. translators: 1: product name 2: quantity in stock
|
| 1061 |
msgid ""
|
| 1062 |
"You cannot add that amount of \"%1$s\"; to the cart because there is not "
|
| 1063 |
"enough stock (%2$s remaining)."
|
| 1064 |
msgstr ""
|
| 1065 |
|
| 1066 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1067 |
#. translators: %s: country.
|
| 1068 |
msgid ""
|
| 1069 |
"The payment request button is not supported in %s because some required "
|
|
@@ -1071,18 +1071,18 @@ msgid ""
|
|
| 1071 |
"again."
|
| 1072 |
msgstr ""
|
| 1073 |
|
| 1074 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1075 |
msgid "Empty cart"
|
| 1076 |
msgstr ""
|
| 1077 |
|
| 1078 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1079 |
#: includes/in-person-payments/templates/html-in-person-payment-receipt.php:160
|
| 1080 |
#: dist/index.js:1
|
| 1081 |
#: client/payment-details/timeline/map-events.js:387
|
| 1082 |
msgid "Discount"
|
| 1083 |
msgstr ""
|
| 1084 |
|
| 1085 |
-
#: includes/class-wc-payments-payment-request-button-handler.php:
|
| 1086 |
#. translators: The text encapsulated in `**` can be replaced with "Apple Pay"
|
| 1087 |
#. or "Google Pay". Please translate this text, but don't remove the `**`.
|
| 1088 |
msgid ""
|
| 2 |
# This file is distributed under the same license as the WooCommerce Payments package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WooCommerce Payments 3.9.3\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-payments\n"
|
| 8 |
+
"POT-Creation-Date: 2022-04-05 20:49:03+00:00\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 1022 |
msgid "Intent id was not included for payment complete status change."
|
| 1023 |
msgstr ""
|
| 1024 |
|
| 1025 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:263
|
| 1026 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:961
|
| 1027 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:1362
|
| 1028 |
#: includes/in-person-payments/templates/html-in-person-payment-receipt.php:169
|
| 1029 |
msgid "Tax"
|
| 1030 |
msgstr ""
|
| 1031 |
|
| 1032 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:271
|
| 1033 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:969
|
| 1034 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:1369
|
| 1035 |
msgid "Shipping"
|
| 1036 |
msgstr ""
|
| 1037 |
|
| 1038 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:278
|
| 1039 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:976
|
| 1040 |
#: dist/index.js:1
|
| 1041 |
#: client/deposits/strings.ts:12
|
| 1042 |
msgid "Pending"
|
| 1043 |
msgstr ""
|
| 1044 |
|
| 1045 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:690
|
| 1046 |
msgid "OR"
|
| 1047 |
msgstr ""
|
| 1048 |
|
| 1049 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:811
|
| 1050 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:824
|
| 1051 |
msgid "Unable to find shipping method for address."
|
| 1052 |
msgstr ""
|
| 1053 |
|
| 1054 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:923
|
| 1055 |
#. translators: product ID
|
| 1056 |
msgid "Product with the ID (%d) cannot be found."
|
| 1057 |
msgstr ""
|
| 1058 |
|
| 1059 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:944
|
| 1060 |
#. translators: 1: product name 2: quantity in stock
|
| 1061 |
msgid ""
|
| 1062 |
"You cannot add that amount of \"%1$s\"; to the cart because there is not "
|
| 1063 |
"enough stock (%2$s remaining)."
|
| 1064 |
msgstr ""
|
| 1065 |
|
| 1066 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:1195
|
| 1067 |
#. translators: %s: country.
|
| 1068 |
msgid ""
|
| 1069 |
"The payment request button is not supported in %s because some required "
|
| 1071 |
"again."
|
| 1072 |
msgstr ""
|
| 1073 |
|
| 1074 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:1208
|
| 1075 |
msgid "Empty cart"
|
| 1076 |
msgstr ""
|
| 1077 |
|
| 1078 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:1376
|
| 1079 |
#: includes/in-person-payments/templates/html-in-person-payment-receipt.php:160
|
| 1080 |
#: dist/index.js:1
|
| 1081 |
#: client/payment-details/timeline/map-events.js:387
|
| 1082 |
msgid "Discount"
|
| 1083 |
msgstr ""
|
| 1084 |
|
| 1085 |
+
#: includes/class-wc-payments-payment-request-button-handler.php:1456
|
| 1086 |
#. translators: The text encapsulated in `**` can be replaced with "Apple Pay"
|
| 1087 |
#. or "Google Pay". Please translate this text, but don't remove the `**`.
|
| 1088 |
msgid ""
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: woocommerce, payment, payment request, credit card, automattic
|
|
| 4 |
Requires at least: 5.7
|
| 5 |
Tested up to: 5.9.2
|
| 6 |
Requires PHP: 7.0
|
| 7 |
-
Stable tag: 3.9.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -98,6 +98,9 @@ Please note that our support for the checkout block is still experimental and th
|
|
| 98 |
|
| 99 |
== Changelog ==
|
| 100 |
|
|
|
|
|
|
|
|
|
|
| 101 |
= 3.9.2 - 2022-04-01 =
|
| 102 |
* Fix - Fixing error related to some currencies
|
| 103 |
|
| 4 |
Requires at least: 5.7
|
| 5 |
Tested up to: 5.9.2
|
| 6 |
Requires PHP: 7.0
|
| 7 |
+
Stable tag: 3.9.3
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 98 |
|
| 99 |
== Changelog ==
|
| 100 |
|
| 101 |
+
= 3.9.3 - 2022-04-05 =
|
| 102 |
+
* Fix - Payment Request Button - Do not set WC session cookie and HTML container on the product page if not enabled.
|
| 103 |
+
|
| 104 |
= 3.9.2 - 2022-04-01 =
|
| 105 |
* Fix - Fixing error related to some currencies
|
| 106 |
|
vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit6a819f6f07c998494bc934fb60f81ad8::getLoader();
|
vendor/autoload_packages.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/composer/ClassLoader.php
CHANGED
|
@@ -42,30 +42,75 @@ namespace Composer\Autoload;
|
|
| 42 |
*/
|
| 43 |
class ClassLoader
|
| 44 |
{
|
|
|
|
| 45 |
private $vendorDir;
|
| 46 |
|
| 47 |
// PSR-4
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
private $prefixLengthsPsr4 = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
private $prefixDirsPsr4 = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
private $fallbackDirsPsr4 = array();
|
| 51 |
|
| 52 |
// PSR-0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
private $prefixesPsr0 = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
private $fallbackDirsPsr0 = array();
|
| 55 |
|
|
|
|
| 56 |
private $useIncludePath = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
private $classMap = array();
|
|
|
|
|
|
|
| 58 |
private $classMapAuthoritative = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
private $missingClasses = array();
|
|
|
|
|
|
|
| 60 |
private $apcuPrefix;
|
| 61 |
|
|
|
|
|
|
|
|
|
|
| 62 |
private static $registeredLoaders = array();
|
| 63 |
|
|
|
|
|
|
|
|
|
|
| 64 |
public function __construct($vendorDir = null)
|
| 65 |
{
|
| 66 |
$this->vendorDir = $vendorDir;
|
| 67 |
}
|
| 68 |
|
|
|
|
|
|
|
|
|
|
| 69 |
public function getPrefixes()
|
| 70 |
{
|
| 71 |
if (!empty($this->prefixesPsr0)) {
|
|
@@ -75,28 +120,47 @@ class ClassLoader
|
|
| 75 |
return array();
|
| 76 |
}
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
public function getPrefixesPsr4()
|
| 79 |
{
|
| 80 |
return $this->prefixDirsPsr4;
|
| 81 |
}
|
| 82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
public function getFallbackDirs()
|
| 84 |
{
|
| 85 |
return $this->fallbackDirsPsr0;
|
| 86 |
}
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
public function getFallbackDirsPsr4()
|
| 89 |
{
|
| 90 |
return $this->fallbackDirsPsr4;
|
| 91 |
}
|
| 92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
public function getClassMap()
|
| 94 |
{
|
| 95 |
return $this->classMap;
|
| 96 |
}
|
| 97 |
|
| 98 |
/**
|
| 99 |
-
* @param
|
|
|
|
|
|
|
|
|
|
| 100 |
*/
|
| 101 |
public function addClassMap(array $classMap)
|
| 102 |
{
|
|
@@ -111,9 +175,11 @@ class ClassLoader
|
|
| 111 |
* Registers a set of PSR-0 directories for a given prefix, either
|
| 112 |
* appending or prepending to the ones previously set for this prefix.
|
| 113 |
*
|
| 114 |
-
* @param string
|
| 115 |
-
* @param
|
| 116 |
-
* @param bool
|
|
|
|
|
|
|
| 117 |
*/
|
| 118 |
public function add($prefix, $paths, $prepend = false)
|
| 119 |
{
|
|
@@ -156,11 +222,13 @@ class ClassLoader
|
|
| 156 |
* Registers a set of PSR-4 directories for a given namespace, either
|
| 157 |
* appending or prepending to the ones previously set for this namespace.
|
| 158 |
*
|
| 159 |
-
* @param string
|
| 160 |
-
* @param
|
| 161 |
-
* @param bool
|
| 162 |
*
|
| 163 |
* @throws \InvalidArgumentException
|
|
|
|
|
|
|
| 164 |
*/
|
| 165 |
public function addPsr4($prefix, $paths, $prepend = false)
|
| 166 |
{
|
|
@@ -204,8 +272,10 @@ class ClassLoader
|
|
| 204 |
* Registers a set of PSR-0 directories for a given prefix,
|
| 205 |
* replacing any others previously set for this prefix.
|
| 206 |
*
|
| 207 |
-
* @param string
|
| 208 |
-
* @param
|
|
|
|
|
|
|
| 209 |
*/
|
| 210 |
public function set($prefix, $paths)
|
| 211 |
{
|
|
@@ -220,10 +290,12 @@ class ClassLoader
|
|
| 220 |
* Registers a set of PSR-4 directories for a given namespace,
|
| 221 |
* replacing any others previously set for this namespace.
|
| 222 |
*
|
| 223 |
-
* @param string
|
| 224 |
-
* @param
|
| 225 |
*
|
| 226 |
* @throws \InvalidArgumentException
|
|
|
|
|
|
|
| 227 |
*/
|
| 228 |
public function setPsr4($prefix, $paths)
|
| 229 |
{
|
|
@@ -243,6 +315,8 @@ class ClassLoader
|
|
| 243 |
* Turns on searching the include path for class files.
|
| 244 |
*
|
| 245 |
* @param bool $useIncludePath
|
|
|
|
|
|
|
| 246 |
*/
|
| 247 |
public function setUseIncludePath($useIncludePath)
|
| 248 |
{
|
|
@@ -265,6 +339,8 @@ class ClassLoader
|
|
| 265 |
* that have not been registered with the class map.
|
| 266 |
*
|
| 267 |
* @param bool $classMapAuthoritative
|
|
|
|
|
|
|
| 268 |
*/
|
| 269 |
public function setClassMapAuthoritative($classMapAuthoritative)
|
| 270 |
{
|
|
@@ -285,6 +361,8 @@ class ClassLoader
|
|
| 285 |
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
| 286 |
*
|
| 287 |
* @param string|null $apcuPrefix
|
|
|
|
|
|
|
| 288 |
*/
|
| 289 |
public function setApcuPrefix($apcuPrefix)
|
| 290 |
{
|
|
@@ -305,6 +383,8 @@ class ClassLoader
|
|
| 305 |
* Registers this instance as an autoloader.
|
| 306 |
*
|
| 307 |
* @param bool $prepend Whether to prepend the autoloader or not
|
|
|
|
|
|
|
| 308 |
*/
|
| 309 |
public function register($prepend = false)
|
| 310 |
{
|
|
@@ -324,6 +404,8 @@ class ClassLoader
|
|
| 324 |
|
| 325 |
/**
|
| 326 |
* Unregisters this instance as an autoloader.
|
|
|
|
|
|
|
| 327 |
*/
|
| 328 |
public function unregister()
|
| 329 |
{
|
|
@@ -403,6 +485,11 @@ class ClassLoader
|
|
| 403 |
return self::$registeredLoaders;
|
| 404 |
}
|
| 405 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 406 |
private function findFileWithExtension($class, $ext)
|
| 407 |
{
|
| 408 |
// PSR-4 lookup
|
|
@@ -474,6 +561,10 @@ class ClassLoader
|
|
| 474 |
* Scope isolated include.
|
| 475 |
*
|
| 476 |
* Prevents access to $this/self from included files.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 477 |
*/
|
| 478 |
function includeFile($file)
|
| 479 |
{
|
| 42 |
*/
|
| 43 |
class ClassLoader
|
| 44 |
{
|
| 45 |
+
/** @var ?string */
|
| 46 |
private $vendorDir;
|
| 47 |
|
| 48 |
// PSR-4
|
| 49 |
+
/**
|
| 50 |
+
* @var array[]
|
| 51 |
+
* @psalm-var array<string, array<string, int>>
|
| 52 |
+
*/
|
| 53 |
private $prefixLengthsPsr4 = array();
|
| 54 |
+
/**
|
| 55 |
+
* @var array[]
|
| 56 |
+
* @psalm-var array<string, array<int, string>>
|
| 57 |
+
*/
|
| 58 |
private $prefixDirsPsr4 = array();
|
| 59 |
+
/**
|
| 60 |
+
* @var array[]
|
| 61 |
+
* @psalm-var array<string, string>
|
| 62 |
+
*/
|
| 63 |
private $fallbackDirsPsr4 = array();
|
| 64 |
|
| 65 |
// PSR-0
|
| 66 |
+
/**
|
| 67 |
+
* @var array[]
|
| 68 |
+
* @psalm-var array<string, array<string, string[]>>
|
| 69 |
+
*/
|
| 70 |
private $prefixesPsr0 = array();
|
| 71 |
+
/**
|
| 72 |
+
* @var array[]
|
| 73 |
+
* @psalm-var array<string, string>
|
| 74 |
+
*/
|
| 75 |
private $fallbackDirsPsr0 = array();
|
| 76 |
|
| 77 |
+
/** @var bool */
|
| 78 |
private $useIncludePath = false;
|
| 79 |
+
|
| 80 |
+
/**
|
| 81 |
+
* @var string[]
|
| 82 |
+
* @psalm-var array<string, string>
|
| 83 |
+
*/
|
| 84 |
private $classMap = array();
|
| 85 |
+
|
| 86 |
+
/** @var bool */
|
| 87 |
private $classMapAuthoritative = false;
|
| 88 |
+
|
| 89 |
+
/**
|
| 90 |
+
* @var bool[]
|
| 91 |
+
* @psalm-var array<string, bool>
|
| 92 |
+
*/
|
| 93 |
private $missingClasses = array();
|
| 94 |
+
|
| 95 |
+
/** @var ?string */
|
| 96 |
private $apcuPrefix;
|
| 97 |
|
| 98 |
+
/**
|
| 99 |
+
* @var self[]
|
| 100 |
+
*/
|
| 101 |
private static $registeredLoaders = array();
|
| 102 |
|
| 103 |
+
/**
|
| 104 |
+
* @param ?string $vendorDir
|
| 105 |
+
*/
|
| 106 |
public function __construct($vendorDir = null)
|
| 107 |
{
|
| 108 |
$this->vendorDir = $vendorDir;
|
| 109 |
}
|
| 110 |
|
| 111 |
+
/**
|
| 112 |
+
* @return string[]
|
| 113 |
+
*/
|
| 114 |
public function getPrefixes()
|
| 115 |
{
|
| 116 |
if (!empty($this->prefixesPsr0)) {
|
| 120 |
return array();
|
| 121 |
}
|
| 122 |
|
| 123 |
+
/**
|
| 124 |
+
* @return array[]
|
| 125 |
+
* @psalm-return array<string, array<int, string>>
|
| 126 |
+
*/
|
| 127 |
public function getPrefixesPsr4()
|
| 128 |
{
|
| 129 |
return $this->prefixDirsPsr4;
|
| 130 |
}
|
| 131 |
|
| 132 |
+
/**
|
| 133 |
+
* @return array[]
|
| 134 |
+
* @psalm-return array<string, string>
|
| 135 |
+
*/
|
| 136 |
public function getFallbackDirs()
|
| 137 |
{
|
| 138 |
return $this->fallbackDirsPsr0;
|
| 139 |
}
|
| 140 |
|
| 141 |
+
/**
|
| 142 |
+
* @return array[]
|
| 143 |
+
* @psalm-return array<string, string>
|
| 144 |
+
*/
|
| 145 |
public function getFallbackDirsPsr4()
|
| 146 |
{
|
| 147 |
return $this->fallbackDirsPsr4;
|
| 148 |
}
|
| 149 |
|
| 150 |
+
/**
|
| 151 |
+
* @return string[] Array of classname => path
|
| 152 |
+
* @psalm-return array<string, string>
|
| 153 |
+
*/
|
| 154 |
public function getClassMap()
|
| 155 |
{
|
| 156 |
return $this->classMap;
|
| 157 |
}
|
| 158 |
|
| 159 |
/**
|
| 160 |
+
* @param string[] $classMap Class to filename map
|
| 161 |
+
* @psalm-param array<string, string> $classMap
|
| 162 |
+
*
|
| 163 |
+
* @return void
|
| 164 |
*/
|
| 165 |
public function addClassMap(array $classMap)
|
| 166 |
{
|
| 175 |
* Registers a set of PSR-0 directories for a given prefix, either
|
| 176 |
* appending or prepending to the ones previously set for this prefix.
|
| 177 |
*
|
| 178 |
+
* @param string $prefix The prefix
|
| 179 |
+
* @param string[]|string $paths The PSR-0 root directories
|
| 180 |
+
* @param bool $prepend Whether to prepend the directories
|
| 181 |
+
*
|
| 182 |
+
* @return void
|
| 183 |
*/
|
| 184 |
public function add($prefix, $paths, $prepend = false)
|
| 185 |
{
|
| 222 |
* Registers a set of PSR-4 directories for a given namespace, either
|
| 223 |
* appending or prepending to the ones previously set for this namespace.
|
| 224 |
*
|
| 225 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
| 226 |
+
* @param string[]|string $paths The PSR-4 base directories
|
| 227 |
+
* @param bool $prepend Whether to prepend the directories
|
| 228 |
*
|
| 229 |
* @throws \InvalidArgumentException
|
| 230 |
+
*
|
| 231 |
+
* @return void
|
| 232 |
*/
|
| 233 |
public function addPsr4($prefix, $paths, $prepend = false)
|
| 234 |
{
|
| 272 |
* Registers a set of PSR-0 directories for a given prefix,
|
| 273 |
* replacing any others previously set for this prefix.
|
| 274 |
*
|
| 275 |
+
* @param string $prefix The prefix
|
| 276 |
+
* @param string[]|string $paths The PSR-0 base directories
|
| 277 |
+
*
|
| 278 |
+
* @return void
|
| 279 |
*/
|
| 280 |
public function set($prefix, $paths)
|
| 281 |
{
|
| 290 |
* Registers a set of PSR-4 directories for a given namespace,
|
| 291 |
* replacing any others previously set for this namespace.
|
| 292 |
*
|
| 293 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
| 294 |
+
* @param string[]|string $paths The PSR-4 base directories
|
| 295 |
*
|
| 296 |
* @throws \InvalidArgumentException
|
| 297 |
+
*
|
| 298 |
+
* @return void
|
| 299 |
*/
|
| 300 |
public function setPsr4($prefix, $paths)
|
| 301 |
{
|
| 315 |
* Turns on searching the include path for class files.
|
| 316 |
*
|
| 317 |
* @param bool $useIncludePath
|
| 318 |
+
*
|
| 319 |
+
* @return void
|
| 320 |
*/
|
| 321 |
public function setUseIncludePath($useIncludePath)
|
| 322 |
{
|
| 339 |
* that have not been registered with the class map.
|
| 340 |
*
|
| 341 |
* @param bool $classMapAuthoritative
|
| 342 |
+
*
|
| 343 |
+
* @return void
|
| 344 |
*/
|
| 345 |
public function setClassMapAuthoritative($classMapAuthoritative)
|
| 346 |
{
|
| 361 |
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
| 362 |
*
|
| 363 |
* @param string|null $apcuPrefix
|
| 364 |
+
*
|
| 365 |
+
* @return void
|
| 366 |
*/
|
| 367 |
public function setApcuPrefix($apcuPrefix)
|
| 368 |
{
|
| 383 |
* Registers this instance as an autoloader.
|
| 384 |
*
|
| 385 |
* @param bool $prepend Whether to prepend the autoloader or not
|
| 386 |
+
*
|
| 387 |
+
* @return void
|
| 388 |
*/
|
| 389 |
public function register($prepend = false)
|
| 390 |
{
|
| 404 |
|
| 405 |
/**
|
| 406 |
* Unregisters this instance as an autoloader.
|
| 407 |
+
*
|
| 408 |
+
* @return void
|
| 409 |
*/
|
| 410 |
public function unregister()
|
| 411 |
{
|
| 485 |
return self::$registeredLoaders;
|
| 486 |
}
|
| 487 |
|
| 488 |
+
/**
|
| 489 |
+
* @param string $class
|
| 490 |
+
* @param string $ext
|
| 491 |
+
* @return string|false
|
| 492 |
+
*/
|
| 493 |
private function findFileWithExtension($class, $ext)
|
| 494 |
{
|
| 495 |
// PSR-4 lookup
|
| 561 |
* Scope isolated include.
|
| 562 |
*
|
| 563 |
* Prevents access to $this/self from included files.
|
| 564 |
+
*
|
| 565 |
+
* @param string $file
|
| 566 |
+
* @return void
|
| 567 |
+
* @private
|
| 568 |
*/
|
| 569 |
function includeFile($file)
|
| 570 |
{
|
vendor/composer/InstalledVersions.php
CHANGED
|
@@ -20,12 +20,25 @@ use Composer\Semver\VersionParser;
|
|
| 20 |
*
|
| 21 |
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
|
| 22 |
*
|
| 23 |
-
* To require
|
| 24 |
*/
|
| 25 |
class InstalledVersions
|
| 26 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
private static $installed;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
private static $canGetVendors;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
private static $installedByVendor = array();
|
| 30 |
|
| 31 |
/**
|
|
@@ -228,7 +241,7 @@ class InstalledVersions
|
|
| 228 |
|
| 229 |
/**
|
| 230 |
* @return array
|
| 231 |
-
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}
|
| 232 |
*/
|
| 233 |
public static function getRootPackage()
|
| 234 |
{
|
|
@@ -242,7 +255,7 @@ class InstalledVersions
|
|
| 242 |
*
|
| 243 |
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
|
| 244 |
* @return array[]
|
| 245 |
-
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}
|
| 246 |
*/
|
| 247 |
public static function getRawData()
|
| 248 |
{
|
|
@@ -265,7 +278,7 @@ class InstalledVersions
|
|
| 265 |
* Returns the raw data of all installed.php which are currently loaded for custom implementations
|
| 266 |
*
|
| 267 |
* @return array[]
|
| 268 |
-
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
|
| 269 |
*/
|
| 270 |
public static function getAllRawData()
|
| 271 |
{
|
|
@@ -288,7 +301,7 @@ class InstalledVersions
|
|
| 288 |
* @param array[] $data A vendor/composer/installed.php data set
|
| 289 |
* @return void
|
| 290 |
*
|
| 291 |
-
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data
|
| 292 |
*/
|
| 293 |
public static function reload($data)
|
| 294 |
{
|
|
@@ -298,7 +311,7 @@ class InstalledVersions
|
|
| 298 |
|
| 299 |
/**
|
| 300 |
* @return array[]
|
| 301 |
-
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
|
| 302 |
*/
|
| 303 |
private static function getInstalled()
|
| 304 |
{
|
| 20 |
*
|
| 21 |
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
|
| 22 |
*
|
| 23 |
+
* To require its presence, you can require `composer-runtime-api ^2.0`
|
| 24 |
*/
|
| 25 |
class InstalledVersions
|
| 26 |
{
|
| 27 |
+
/**
|
| 28 |
+
* @var mixed[]|null
|
| 29 |
+
* @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
|
| 30 |
+
*/
|
| 31 |
private static $installed;
|
| 32 |
+
|
| 33 |
+
/**
|
| 34 |
+
* @var bool|null
|
| 35 |
+
*/
|
| 36 |
private static $canGetVendors;
|
| 37 |
+
|
| 38 |
+
/**
|
| 39 |
+
* @var array[]
|
| 40 |
+
* @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
|
| 41 |
+
*/
|
| 42 |
private static $installedByVendor = array();
|
| 43 |
|
| 44 |
/**
|
| 241 |
|
| 242 |
/**
|
| 243 |
* @return array
|
| 244 |
+
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
|
| 245 |
*/
|
| 246 |
public static function getRootPackage()
|
| 247 |
{
|
| 255 |
*
|
| 256 |
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
|
| 257 |
* @return array[]
|
| 258 |
+
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
|
| 259 |
*/
|
| 260 |
public static function getRawData()
|
| 261 |
{
|
| 278 |
* Returns the raw data of all installed.php which are currently loaded for custom implementations
|
| 279 |
*
|
| 280 |
* @return array[]
|
| 281 |
+
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
|
| 282 |
*/
|
| 283 |
public static function getAllRawData()
|
| 284 |
{
|
| 301 |
* @param array[] $data A vendor/composer/installed.php data set
|
| 302 |
* @return void
|
| 303 |
*
|
| 304 |
+
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
|
| 305 |
*/
|
| 306 |
public static function reload($data)
|
| 307 |
{
|
| 311 |
|
| 312 |
/**
|
| 313 |
* @return array[]
|
| 314 |
+
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
|
| 315 |
*/
|
| 316 |
private static function getInstalled()
|
| 317 |
{
|
vendor/composer/autoload_real.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
-
class
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
|
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit1579f1779917afc1a274e61580a4cf3c
|
|
| 24 |
|
| 25 |
require __DIR__ . '/platform_check.php';
|
| 26 |
|
| 27 |
-
spl_autoload_register(array('
|
| 28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
| 29 |
-
spl_autoload_unregister(array('
|
| 30 |
|
| 31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 32 |
if ($useStaticLoader) {
|
| 33 |
require __DIR__ . '/autoload_static.php';
|
| 34 |
|
| 35 |
-
call_user_func(\Composer\Autoload\
|
| 36 |
} else {
|
| 37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 38 |
foreach ($map as $namespace => $path) {
|
|
@@ -53,23 +53,28 @@ class ComposerAutoloaderInit1579f1779917afc1a274e61580a4cf3c
|
|
| 53 |
$loader->register(true);
|
| 54 |
|
| 55 |
if ($useStaticLoader) {
|
| 56 |
-
$includeFiles = Composer\Autoload\
|
| 57 |
} else {
|
| 58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
| 59 |
}
|
| 60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 61 |
-
|
| 62 |
}
|
| 63 |
|
| 64 |
return $loader;
|
| 65 |
}
|
| 66 |
}
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
{
|
| 70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 71 |
-
require $file;
|
| 72 |
-
|
| 73 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
|
|
|
|
|
|
| 74 |
}
|
| 75 |
}
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit6a819f6f07c998494bc934fb60f81ad8
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 24 |
|
| 25 |
require __DIR__ . '/platform_check.php';
|
| 26 |
|
| 27 |
+
spl_autoload_register(array('ComposerAutoloaderInit6a819f6f07c998494bc934fb60f81ad8', 'loadClassLoader'), true, true);
|
| 28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
| 29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit6a819f6f07c998494bc934fb60f81ad8', 'loadClassLoader'));
|
| 30 |
|
| 31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 32 |
if ($useStaticLoader) {
|
| 33 |
require __DIR__ . '/autoload_static.php';
|
| 34 |
|
| 35 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit6a819f6f07c998494bc934fb60f81ad8::getInitializer($loader));
|
| 36 |
} else {
|
| 37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 38 |
foreach ($map as $namespace => $path) {
|
| 53 |
$loader->register(true);
|
| 54 |
|
| 55 |
if ($useStaticLoader) {
|
| 56 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit6a819f6f07c998494bc934fb60f81ad8::$files;
|
| 57 |
} else {
|
| 58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
| 59 |
}
|
| 60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 61 |
+
composerRequire6a819f6f07c998494bc934fb60f81ad8($fileIdentifier, $file);
|
| 62 |
}
|
| 63 |
|
| 64 |
return $loader;
|
| 65 |
}
|
| 66 |
}
|
| 67 |
|
| 68 |
+
/**
|
| 69 |
+
* @param string $fileIdentifier
|
| 70 |
+
* @param string $file
|
| 71 |
+
* @return void
|
| 72 |
+
*/
|
| 73 |
+
function composerRequire6a819f6f07c998494bc934fb60f81ad8($fileIdentifier, $file)
|
| 74 |
{
|
| 75 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
|
|
|
|
|
|
| 76 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
| 77 |
+
|
| 78 |
+
require $file;
|
| 79 |
}
|
| 80 |
}
|
vendor/composer/autoload_static.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
-
class
|
| 8 |
{
|
| 9 |
public static $files = array (
|
| 10 |
'3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/..' . '/automattic/jetpack-assets/actions.php',
|
|
@@ -288,9 +288,9 @@ class ComposerStaticInit1579f1779917afc1a274e61580a4cf3c
|
|
| 288 |
public static function getInitializer(ClassLoader $loader)
|
| 289 |
{
|
| 290 |
return \Closure::bind(function () use ($loader) {
|
| 291 |
-
$loader->prefixLengthsPsr4 =
|
| 292 |
-
$loader->prefixDirsPsr4 =
|
| 293 |
-
$loader->classMap =
|
| 294 |
|
| 295 |
}, null, ClassLoader::class);
|
| 296 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit6a819f6f07c998494bc934fb60f81ad8
|
| 8 |
{
|
| 9 |
public static $files = array (
|
| 10 |
'3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/..' . '/automattic/jetpack-assets/actions.php',
|
| 288 |
public static function getInitializer(ClassLoader $loader)
|
| 289 |
{
|
| 290 |
return \Closure::bind(function () use ($loader) {
|
| 291 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit6a819f6f07c998494bc934fb60f81ad8::$prefixLengthsPsr4;
|
| 292 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit6a819f6f07c998494bc934fb60f81ad8::$prefixDirsPsr4;
|
| 293 |
+
$loader->classMap = ComposerStaticInit6a819f6f07c998494bc934fb60f81ad8::$classMap;
|
| 294 |
|
| 295 |
}, null, ClassLoader::class);
|
| 296 |
}
|
vendor/composer/installed.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
'type' => 'wordpress-plugin',
|
| 6 |
'install_path' => __DIR__ . '/../../',
|
| 7 |
'aliases' => array(),
|
| 8 |
-
'reference' => '
|
| 9 |
'name' => 'woocommerce/payments',
|
| 10 |
'dev' => false,
|
| 11 |
),
|
|
@@ -199,7 +199,7 @@
|
|
| 199 |
'type' => 'wordpress-plugin',
|
| 200 |
'install_path' => __DIR__ . '/../../',
|
| 201 |
'aliases' => array(),
|
| 202 |
-
'reference' => '
|
| 203 |
'dev_requirement' => false,
|
| 204 |
),
|
| 205 |
'woocommerce/subscriptions-core' => array(
|
| 5 |
'type' => 'wordpress-plugin',
|
| 6 |
'install_path' => __DIR__ . '/../../',
|
| 7 |
'aliases' => array(),
|
| 8 |
+
'reference' => '287755640f7abebb41ef6e4356ef033d53f9809d',
|
| 9 |
'name' => 'woocommerce/payments',
|
| 10 |
'dev' => false,
|
| 11 |
),
|
| 199 |
'type' => 'wordpress-plugin',
|
| 200 |
'install_path' => __DIR__ . '/../../',
|
| 201 |
'aliases' => array(),
|
| 202 |
+
'reference' => '287755640f7abebb41ef6e4356ef033d53f9809d',
|
| 203 |
'dev_requirement' => false,
|
| 204 |
),
|
| 205 |
'woocommerce/subscriptions-core' => array(
|
vendor/composer/jetpack_autoload_classmap.php
CHANGED
|
@@ -758,6 +758,10 @@ return array(
|
|
| 758 |
'version' => '1.6.1.0',
|
| 759 |
'path' => $vendorDir . '/automattic/jetpack-config/src/class-config.php'
|
| 760 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
| 761 |
'Automattic\\Jetpack\\IdentityCrisis\\UI' => array(
|
| 762 |
'version' => '0.7.0.0',
|
| 763 |
'path' => $vendorDir . '/automattic/jetpack-identity-crisis/src/class-ui.php'
|
|
@@ -770,10 +774,6 @@ return array(
|
|
| 770 |
'version' => '0.7.0.0',
|
| 771 |
'path' => $vendorDir . '/automattic/jetpack-identity-crisis/src/class-identity-crisis.php'
|
| 772 |
),
|
| 773 |
-
'Automattic\\Jetpack\\Password_Checker' => array(
|
| 774 |
-
'version' => '0.2.2.0',
|
| 775 |
-
'path' => $vendorDir . '/automattic/jetpack-password-checker/src/class-password-checker.php'
|
| 776 |
-
),
|
| 777 |
'Automattic\\Jetpack\\Assets\\Logo' => array(
|
| 778 |
'version' => '1.5.14.0',
|
| 779 |
'path' => $vendorDir . '/automattic/jetpack-logo/src/class-logo.php'
|
|
@@ -878,14 +878,14 @@ return array(
|
|
| 878 |
'version' => '1.7.12.0',
|
| 879 |
'path' => $vendorDir . '/automattic/jetpack-redirect/src/class-redirect.php'
|
| 880 |
),
|
| 881 |
-
'Automattic\\Jetpack\\Heartbeat' => array(
|
| 882 |
-
'version' => '1.4.0.0',
|
| 883 |
-
'path' => $vendorDir . '/automattic/jetpack-heartbeat/src/class-heartbeat.php'
|
| 884 |
-
),
|
| 885 |
'Automattic\\Jetpack\\Roles' => array(
|
| 886 |
'version' => '1.4.14.0',
|
| 887 |
'path' => $vendorDir . '/automattic/jetpack-roles/src/class-roles.php'
|
| 888 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
| 889 |
'Jetpack_Tracks_Client' => array(
|
| 890 |
'version' => '1.14.1.0',
|
| 891 |
'path' => $vendorDir . '/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php'
|
| 758 |
'version' => '1.6.1.0',
|
| 759 |
'path' => $vendorDir . '/automattic/jetpack-config/src/class-config.php'
|
| 760 |
),
|
| 761 |
+
'Automattic\\Jetpack\\Password_Checker' => array(
|
| 762 |
+
'version' => '0.2.2.0',
|
| 763 |
+
'path' => $vendorDir . '/automattic/jetpack-password-checker/src/class-password-checker.php'
|
| 764 |
+
),
|
| 765 |
'Automattic\\Jetpack\\IdentityCrisis\\UI' => array(
|
| 766 |
'version' => '0.7.0.0',
|
| 767 |
'path' => $vendorDir . '/automattic/jetpack-identity-crisis/src/class-ui.php'
|
| 774 |
'version' => '0.7.0.0',
|
| 775 |
'path' => $vendorDir . '/automattic/jetpack-identity-crisis/src/class-identity-crisis.php'
|
| 776 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
| 777 |
'Automattic\\Jetpack\\Assets\\Logo' => array(
|
| 778 |
'version' => '1.5.14.0',
|
| 779 |
'path' => $vendorDir . '/automattic/jetpack-logo/src/class-logo.php'
|
| 878 |
'version' => '1.7.12.0',
|
| 879 |
'path' => $vendorDir . '/automattic/jetpack-redirect/src/class-redirect.php'
|
| 880 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
| 881 |
'Automattic\\Jetpack\\Roles' => array(
|
| 882 |
'version' => '1.4.14.0',
|
| 883 |
'path' => $vendorDir . '/automattic/jetpack-roles/src/class-roles.php'
|
| 884 |
),
|
| 885 |
+
'Automattic\\Jetpack\\Heartbeat' => array(
|
| 886 |
+
'version' => '1.4.0.0',
|
| 887 |
+
'path' => $vendorDir . '/automattic/jetpack-heartbeat/src/class-heartbeat.php'
|
| 888 |
+
),
|
| 889 |
'Jetpack_Tracks_Client' => array(
|
| 890 |
'version' => '1.14.1.0',
|
| 891 |
'path' => $vendorDir . '/automattic/jetpack-tracking/legacy/class-jetpack-tracks-client.php'
|
vendor/jetpack-autoloader/class-autoloader-handler.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-autoloader-locator.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-autoloader.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-container.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-hook-manager.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-latest-autoloader-guard.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-manifest-reader.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-path-processor.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-php-autoloader.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-plugin-locator.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-plugins-handler.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-shutdown-handler.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-version-loader.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
vendor/jetpack-autoloader/class-version-selector.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
-
namespace Automattic\Jetpack\Autoloader\
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
| 5 |
* @package automattic/jetpack-autoloader
|
| 6 |
*/
|
| 7 |
|
| 8 |
+
namespace Automattic\Jetpack\Autoloader\jp6a819f6f07c998494bc934fb60f81ad8;
|
| 9 |
|
| 10 |
// phpcs:ignore
|
| 11 |
|
woocommerce-payments.php
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
* WC tested up to: 6.3.1
|
| 13 |
* Requires at least: 5.7
|
| 14 |
* Requires PHP: 7.0
|
| 15 |
-
* Version: 3.9.
|
| 16 |
*
|
| 17 |
* @package WooCommerce\Payments
|
| 18 |
*/
|
| 12 |
* WC tested up to: 6.3.1
|
| 13 |
* Requires at least: 5.7
|
| 14 |
* Requires PHP: 7.0
|
| 15 |
+
* Version: 3.9.3
|
| 16 |
*
|
| 17 |
* @package WooCommerce\Payments
|
| 18 |
*/
|
