From 4325855de9613209c85c42ea37e7da5a378d7830 Mon Sep 17 00:00:00 2001 From: Marcin Warzybok Date: Mon, 25 Sep 2023 11:37:56 +0200 Subject: [PATCH 1/2] SP-705 Add variable check --- BitPayLib/class-wcgatewaybitpay.php | 11 +++++++++-- build/BitPayLib/class-wcgatewaybitpay.php | 11 +++++++++-- build/vendor/composer/installed.php | 2 +- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/BitPayLib/class-wcgatewaybitpay.php b/BitPayLib/class-wcgatewaybitpay.php index d0873bc..9a6ef95 100644 --- a/BitPayLib/class-wcgatewaybitpay.php +++ b/BitPayLib/class-wcgatewaybitpay.php @@ -284,10 +284,17 @@ private function get_icon_on_payment_page(): string { } private function get_processing_link(): string { + $test = 'https://test.bitpay.com/dashboard/settings/edit/order'; + $bitpay_checkout_options = get_option( 'woocommerce_bitpay_checkout_gateway_settings' ); - $bitpay_checkout_endpoint = $bitpay_checkout_options['bitpay_checkout_endpoint']; + if (!$bitpay_checkout_options) { // not configured settings + return $test; + } - $test = 'https://test.bitpay.com/dashboard/settings/edit/order'; + $bitpay_checkout_endpoint = $bitpay_checkout_options['bitpay_checkout_endpoint'] ?? null; + if (!$bitpay_checkout_endpoint) { + return $test; + } return match ( $bitpay_checkout_endpoint ) { 'production' => 'https://www.bitpay.com/dashboard/settings/edit/order', diff --git a/build/BitPayLib/class-wcgatewaybitpay.php b/build/BitPayLib/class-wcgatewaybitpay.php index 6f9428c..2b69cd0 100644 --- a/build/BitPayLib/class-wcgatewaybitpay.php +++ b/build/BitPayLib/class-wcgatewaybitpay.php @@ -80,9 +80,16 @@ private function get_icon_on_payment_page() : string } private function get_processing_link() : string { - $bitpay_checkout_options = get_option('woocommerce_bitpay_checkout_gateway_settings'); - $bitpay_checkout_endpoint = $bitpay_checkout_options['bitpay_checkout_endpoint']; $test = 'https://test.bitpay.com/dashboard/settings/edit/order'; + $bitpay_checkout_options = get_option('woocommerce_bitpay_checkout_gateway_settings'); + if (!$bitpay_checkout_options) { + // not configured settings + return $test; + } + $bitpay_checkout_endpoint = $bitpay_checkout_options['bitpay_checkout_endpoint'] ?? null; + if (!$bitpay_checkout_endpoint) { + return $test; + } return match ($bitpay_checkout_endpoint) { 'production' => 'https://www.bitpay.com/dashboard/settings/edit/order', default => $test, diff --git a/build/vendor/composer/installed.php b/build/vendor/composer/installed.php index 5a5cea9..d2f0da7 100644 --- a/build/vendor/composer/installed.php +++ b/build/vendor/composer/installed.php @@ -2,4 +2,4 @@ namespace BitPayVendor; -return array('root' => array('name' => 'bitpay/bitpay-checkout-for-woocommerce', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '6e04105fc46ecc51db6277052f418d54cc209798', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('bitpay/bitpay-checkout-for-woocommerce' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '6e04105fc46ecc51db6277052f418d54cc209798', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bitpay/key-utils' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '44283014751d1886b41c7de29f1972737d6dfe4d', 'type' => 'library', 'install_path' => __DIR__ . '/../bitpay/key-utils', 'aliases' => array(), 'dev_requirement' => \false), 'bitpay/sdk' => array('pretty_version' => '8.0.2', 'version' => '8.0.2.0', 'reference' => 'd1d9888540790f8ff35c2beff1f87bdc7fd2730d', 'type' => 'library', 'install_path' => __DIR__ . '/../bitpay/sdk', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.8.0', 'version' => '7.8.0.0', 'reference' => '1110f66a6530a40fe7aea0378fe608ee2b2248f9', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.1', 'version' => '2.0.1.0', 'reference' => '111166291a0f8130081195ac4556a5587d7f1b5d', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.6.1', 'version' => '2.6.1.0', 'reference' => 'be45764272e8873c72dbe3d2edcfdfcc3bc9f727', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'netresearch/jsonmapper' => array('pretty_version' => 'v4.2.0', 'version' => '4.2.0.0', 'reference' => 'f60565f8c0566a31acf06884cdaa591867ecc956', 'type' => 'library', 'install_path' => __DIR__ . '/../netresearch/jsonmapper', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => 'e616d01114759c4c489f93b099585439f795fe35', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.0.2', 'version' => '3.0.2.0', 'reference' => '26954b3d62a6c5fd0ea8a2a00c0353a14978d05c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', 'reference' => 'ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/yaml' => array('pretty_version' => 'v6.0.19', 'version' => '6.0.19.0', 'reference' => 'deec3a812a0305a50db8ae689b183f43d915c884', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'dev_requirement' => \false))); +return array('root' => array('name' => 'bitpay/bitpay-checkout-for-woocommerce', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '3d964def2ec96826891c333c52f1fce19b93a1f6', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('bitpay/bitpay-checkout-for-woocommerce' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '3d964def2ec96826891c333c52f1fce19b93a1f6', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bitpay/key-utils' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '44283014751d1886b41c7de29f1972737d6dfe4d', 'type' => 'library', 'install_path' => __DIR__ . '/../bitpay/key-utils', 'aliases' => array(), 'dev_requirement' => \false), 'bitpay/sdk' => array('pretty_version' => '8.0.2', 'version' => '8.0.2.0', 'reference' => 'd1d9888540790f8ff35c2beff1f87bdc7fd2730d', 'type' => 'library', 'install_path' => __DIR__ . '/../bitpay/sdk', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.8.0', 'version' => '7.8.0.0', 'reference' => '1110f66a6530a40fe7aea0378fe608ee2b2248f9', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.1', 'version' => '2.0.1.0', 'reference' => '111166291a0f8130081195ac4556a5587d7f1b5d', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.6.1', 'version' => '2.6.1.0', 'reference' => 'be45764272e8873c72dbe3d2edcfdfcc3bc9f727', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'netresearch/jsonmapper' => array('pretty_version' => 'v4.2.0', 'version' => '4.2.0.0', 'reference' => 'f60565f8c0566a31acf06884cdaa591867ecc956', 'type' => 'library', 'install_path' => __DIR__ . '/../netresearch/jsonmapper', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => 'e616d01114759c4c489f93b099585439f795fe35', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.0.2', 'version' => '3.0.2.0', 'reference' => '26954b3d62a6c5fd0ea8a2a00c0353a14978d05c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', 'reference' => 'ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/yaml' => array('pretty_version' => 'v6.0.19', 'version' => '6.0.19.0', 'reference' => 'deec3a812a0305a50db8ae689b183f43d915c884', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'dev_requirement' => \false))); From 3889d55493a58d155d45d65faac0885f773d6b12 Mon Sep 17 00:00:00 2001 From: Marcin Warzybok Date: Mon, 25 Sep 2023 12:52:18 +0200 Subject: [PATCH 2/2] SP-705 Add variable check --- BitPayLib/class-wcgatewaybitpay.php | 6 +++--- build/BitPayLib/class-wcgatewaybitpay.php | 2 +- build/vendor/composer/installed.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BitPayLib/class-wcgatewaybitpay.php b/BitPayLib/class-wcgatewaybitpay.php index 9a6ef95..203cd07 100644 --- a/BitPayLib/class-wcgatewaybitpay.php +++ b/BitPayLib/class-wcgatewaybitpay.php @@ -286,13 +286,13 @@ private function get_icon_on_payment_page(): string { private function get_processing_link(): string { $test = 'https://test.bitpay.com/dashboard/settings/edit/order'; - $bitpay_checkout_options = get_option( 'woocommerce_bitpay_checkout_gateway_settings' ); - if (!$bitpay_checkout_options) { // not configured settings + $bitpay_checkout_options = get_option( 'woocommerce_bitpay_checkout_gateway_settings' ); + if ( ! $bitpay_checkout_options ) { // not configured settings. return $test; } $bitpay_checkout_endpoint = $bitpay_checkout_options['bitpay_checkout_endpoint'] ?? null; - if (!$bitpay_checkout_endpoint) { + if ( ! $bitpay_checkout_endpoint ) { return $test; } diff --git a/build/BitPayLib/class-wcgatewaybitpay.php b/build/BitPayLib/class-wcgatewaybitpay.php index 2b69cd0..1d9fb76 100644 --- a/build/BitPayLib/class-wcgatewaybitpay.php +++ b/build/BitPayLib/class-wcgatewaybitpay.php @@ -83,7 +83,7 @@ private function get_processing_link() : string $test = 'https://test.bitpay.com/dashboard/settings/edit/order'; $bitpay_checkout_options = get_option('woocommerce_bitpay_checkout_gateway_settings'); if (!$bitpay_checkout_options) { - // not configured settings + // not configured settings. return $test; } $bitpay_checkout_endpoint = $bitpay_checkout_options['bitpay_checkout_endpoint'] ?? null; diff --git a/build/vendor/composer/installed.php b/build/vendor/composer/installed.php index d2f0da7..9e8358c 100644 --- a/build/vendor/composer/installed.php +++ b/build/vendor/composer/installed.php @@ -2,4 +2,4 @@ namespace BitPayVendor; -return array('root' => array('name' => 'bitpay/bitpay-checkout-for-woocommerce', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '3d964def2ec96826891c333c52f1fce19b93a1f6', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('bitpay/bitpay-checkout-for-woocommerce' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '3d964def2ec96826891c333c52f1fce19b93a1f6', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bitpay/key-utils' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '44283014751d1886b41c7de29f1972737d6dfe4d', 'type' => 'library', 'install_path' => __DIR__ . '/../bitpay/key-utils', 'aliases' => array(), 'dev_requirement' => \false), 'bitpay/sdk' => array('pretty_version' => '8.0.2', 'version' => '8.0.2.0', 'reference' => 'd1d9888540790f8ff35c2beff1f87bdc7fd2730d', 'type' => 'library', 'install_path' => __DIR__ . '/../bitpay/sdk', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.8.0', 'version' => '7.8.0.0', 'reference' => '1110f66a6530a40fe7aea0378fe608ee2b2248f9', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.1', 'version' => '2.0.1.0', 'reference' => '111166291a0f8130081195ac4556a5587d7f1b5d', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.6.1', 'version' => '2.6.1.0', 'reference' => 'be45764272e8873c72dbe3d2edcfdfcc3bc9f727', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'netresearch/jsonmapper' => array('pretty_version' => 'v4.2.0', 'version' => '4.2.0.0', 'reference' => 'f60565f8c0566a31acf06884cdaa591867ecc956', 'type' => 'library', 'install_path' => __DIR__ . '/../netresearch/jsonmapper', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => 'e616d01114759c4c489f93b099585439f795fe35', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.0.2', 'version' => '3.0.2.0', 'reference' => '26954b3d62a6c5fd0ea8a2a00c0353a14978d05c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', 'reference' => 'ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/yaml' => array('pretty_version' => 'v6.0.19', 'version' => '6.0.19.0', 'reference' => 'deec3a812a0305a50db8ae689b183f43d915c884', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'dev_requirement' => \false))); +return array('root' => array('name' => 'bitpay/bitpay-checkout-for-woocommerce', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '4325855de9613209c85c42ea37e7da5a378d7830', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('bitpay/bitpay-checkout-for-woocommerce' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '4325855de9613209c85c42ea37e7da5a378d7830', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bitpay/key-utils' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '44283014751d1886b41c7de29f1972737d6dfe4d', 'type' => 'library', 'install_path' => __DIR__ . '/../bitpay/key-utils', 'aliases' => array(), 'dev_requirement' => \false), 'bitpay/sdk' => array('pretty_version' => '8.0.2', 'version' => '8.0.2.0', 'reference' => 'd1d9888540790f8ff35c2beff1f87bdc7fd2730d', 'type' => 'library', 'install_path' => __DIR__ . '/../bitpay/sdk', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.8.0', 'version' => '7.8.0.0', 'reference' => '1110f66a6530a40fe7aea0378fe608ee2b2248f9', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.1', 'version' => '2.0.1.0', 'reference' => '111166291a0f8130081195ac4556a5587d7f1b5d', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.6.1', 'version' => '2.6.1.0', 'reference' => 'be45764272e8873c72dbe3d2edcfdfcc3bc9f727', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'netresearch/jsonmapper' => array('pretty_version' => 'v4.2.0', 'version' => '4.2.0.0', 'reference' => 'f60565f8c0566a31acf06884cdaa591867ecc956', 'type' => 'library', 'install_path' => __DIR__ . '/../netresearch/jsonmapper', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.0.2', 'version' => '1.0.2.0', 'reference' => 'e616d01114759c4c489f93b099585439f795fe35', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.0.2', 'version' => '3.0.2.0', 'reference' => '26954b3d62a6c5fd0ea8a2a00c0353a14978d05c', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', 'reference' => 'ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/yaml' => array('pretty_version' => 'v6.0.19', 'version' => '6.0.19.0', 'reference' => 'deec3a812a0305a50db8ae689b183f43d915c884', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'dev_requirement' => \false)));