Changeset 3427539
- Timestamp:
- 12/26/2025 05:44:54 AM (8 weeks ago)
- Location:
- woo-custom-gateway
- Files:
-
- 349 added
- 67 edited
-
tags/1.6.2 (added)
-
tags/1.6.2/.phpcs.xml (added)
-
tags/1.6.2/LICENSE (added)
-
tags/1.6.2/LICENSE.txt (added)
-
tags/1.6.2/composer.json (added)
-
tags/1.6.2/languages (added)
-
tags/1.6.2/languages/woo-custom-gateway.pot (added)
-
tags/1.6.2/phpunit.xml (added)
-
tags/1.6.2/readme.md (added)
-
tags/1.6.2/readme.txt (added)
-
tags/1.6.2/src (added)
-
tags/1.6.2/src/Controller (added)
-
tags/1.6.2/src/Controller/Admin.php (added)
-
tags/1.6.2/src/Controller/Ajax.php (added)
-
tags/1.6.2/src/Controller/BaseController.php (added)
-
tags/1.6.2/src/Controller/Plugin.php (added)
-
tags/1.6.2/src/Controller/Site.php (added)
-
tags/1.6.2/src/Helpers (added)
-
tags/1.6.2/src/Helpers/Functions.php (added)
-
tags/1.6.2/src/Helpers/Logger.php (added)
-
tags/1.6.2/src/Helpers/Template.php (added)
-
tags/1.6.2/src/Locale (added)
-
tags/1.6.2/src/Locale/I18n.php (added)
-
tags/1.6.2/src/Model (added)
-
tags/1.6.2/src/Model/Gateway.php (added)
-
tags/1.6.2/src/Views (added)
-
tags/1.6.2/src/Views/about-ad.php (added)
-
tags/1.6.2/src/Views/about-ads-disclaimer.php (added)
-
tags/1.6.2/src/Views/about-analytics-disclaimer.php (added)
-
tags/1.6.2/src/Views/about-input-field.php (added)
-
tags/1.6.2/src/Views/about-section-header.php (added)
-
tags/1.6.2/src/Views/admin-about.php (added)
-
tags/1.6.2/src/Views/admin-edit-post.php (added)
-
tags/1.6.2/src/Views/admin-gateway-editor.php (added)
-
tags/1.6.2/src/Views/admin-notice-analytics.php (added)
-
tags/1.6.2/src/Views/admin-notice-rating.php (added)
-
tags/1.6.2/src/Views/css (added)
-
tags/1.6.2/src/Views/css/admin-about.css (added)
-
tags/1.6.2/src/Views/css/admin-rating.css (added)
-
tags/1.6.2/src/Views/img (added)
-
tags/1.6.2/src/Views/img/logo.svg (added)
-
tags/1.6.2/src/Views/js (added)
-
tags/1.6.2/src/Views/js/admin-rating.js (added)
-
tags/1.6.2/src/Views/proof-of-payment.php (added)
-
tags/1.6.2/src/WooCustomGateway.php (added)
-
tags/1.6.2/tests (added)
-
tags/1.6.2/tests/src (added)
-
tags/1.6.2/tests/src/ControllerLoaderTest.php (added)
-
tags/1.6.2/tests/src/PluginVersionTest.php (added)
-
tags/1.6.2/tests/src/bootstrap.php (added)
-
tags/1.6.2/vendor (added)
-
tags/1.6.2/vendor/autoload.php (added)
-
tags/1.6.2/vendor/bin (added)
-
tags/1.6.2/vendor/composer (added)
-
tags/1.6.2/vendor/composer/ClassLoader.php (added)
-
tags/1.6.2/vendor/composer/InstalledVersions.php (added)
-
tags/1.6.2/vendor/composer/LICENSE (added)
-
tags/1.6.2/vendor/composer/autoload_classmap.php (added)
-
tags/1.6.2/vendor/composer/autoload_namespaces.php (added)
-
tags/1.6.2/vendor/composer/autoload_psr4.php (added)
-
tags/1.6.2/vendor/composer/autoload_real.php (added)
-
tags/1.6.2/vendor/composer/autoload_static.php (added)
-
tags/1.6.2/vendor/composer/installed.json (added)
-
tags/1.6.2/vendor/composer/installed.php (added)
-
tags/1.6.2/vendor/composer/platform_check.php (added)
-
tags/1.6.2/vendor/ralouphie (added)
-
tags/1.6.2/vendor/ralouphie/getallheaders (added)
-
tags/1.6.2/vendor/ralouphie/getallheaders/LICENSE (added)
-
tags/1.6.2/vendor/ralouphie/getallheaders/README.md (added)
-
tags/1.6.2/vendor/ralouphie/getallheaders/composer.json (added)
-
tags/1.6.2/vendor/ralouphie/getallheaders/src (added)
-
tags/1.6.2/vendor/ralouphie/getallheaders/src/getallheaders.php (added)
-
tags/1.6.2/vendor/symfony (added)
-
tags/1.6.2/vendor/symfony/deprecation-contracts (added)
-
tags/1.6.2/vendor/symfony/deprecation-contracts/.gitignore (added)
-
tags/1.6.2/vendor/symfony/deprecation-contracts/CHANGELOG.md (added)
-
tags/1.6.2/vendor/symfony/deprecation-contracts/LICENSE (added)
-
tags/1.6.2/vendor/symfony/deprecation-contracts/README.md (added)
-
tags/1.6.2/vendor/symfony/deprecation-contracts/composer.json (added)
-
tags/1.6.2/vendor/symfony/deprecation-contracts/function.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php80 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php80/Resources (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/Attribute.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/PhpToken.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/Stringable.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/ValueError.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php81 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php81/Resources (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php81/Resources/stubs (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/Random (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/Random/BrokenRandomEngineError.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/Random/CryptoSafeEngine.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/Random/Engine (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/Random/Engine.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/Random/Engine/Secure.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/Random/RandomError.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/Random/RandomException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/SensitiveParameter.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/SensitiveParameterValue.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/yidas (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/yidas/client-ip (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/yidas/client-ip/src (added)
-
tags/1.6.2/vendor/woo-custom-gateway/classes/yidas/client-ip/src/ClientIP.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Common (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Common/EventCollection.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Common/UserProperties.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Common/UserProperty.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Common/ValidationMessage.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/AbstractEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/AddPaymentInfoEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/AddShippingInfoEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/AddToCartEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/AddToWishlistEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/BaseEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/BeginCheckoutEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/ItemBaseEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/LoginEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/PurchaseEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/RefundEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/RemoveFromCartEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/SearchEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/SelectItemEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/SignUpEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/ViewCartEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/ViewItemEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/ViewItemListEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/ViewSearchResultsEvent.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/ExportableInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/HydratableInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Parameter (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Parameter/AbstractParameter.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Parameter/BaseParameter.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Parameter/ItemCollectionParameter.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Parameter/ItemParameter.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Request (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Request/AbstractRequest.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Request/BaseRequest.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/RequestValidateInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Response (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Response/AbstractResponse.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Response/BaseResponse.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Response/DebugResponse.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/ValidateInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Enum (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Enum/ErrorCode.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Enum/ValidationCode.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Exception (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Exception/AnalyticsException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Exception/HydrationException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Exception/MisconfigurationException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Exception/ValidationException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/HttpClient.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Service.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/BodySummarizer.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/BodySummarizerInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Client.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/ClientInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/ClientTrait.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/CookieJar.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/CookieJarInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/FileCookieJar.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/SessionCookieJar.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/SetCookie.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception/BadResponseException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception/ClientException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception/ConnectException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception/GuzzleException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception/InvalidArgumentException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception/RequestException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception/ServerException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception/TooManyRedirectsException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Exception/TransferException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlFactory.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlFactoryInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlHandler.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlMultiHandler.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/EasyHandle.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/HeaderProcessor.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/MockHandler.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/Proxy.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/StreamHandler.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/HandlerStack.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/MessageFormatter.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/MessageFormatterInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Middleware.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Pool.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/PrepareBodyMiddleware.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/AggregateException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/CancellationException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/Coroutine.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/Create.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/Each.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/EachPromise.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/FulfilledPromise.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/Is.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/Promise.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/PromiseInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/PromisorInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/RejectedPromise.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/RejectionException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/TaskQueue.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/TaskQueueInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/Utils.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/AppendStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/BufferStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/CachingStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/DroppingStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Exception (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Exception/MalformedUriException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/FnStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Header.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/HttpFactory.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/InflateStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/LazyOpenStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/LimitStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Message.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MessageTrait.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MimeType.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MultipartStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/NoSeekStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/PumpStream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Query.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Request.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Response.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Rfc7230.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/ServerRequest.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Stream.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/StreamDecoratorTrait.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/StreamWrapper.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UploadedFile.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Uri.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UriComparator.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UriNormalizer.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UriResolver.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Utils.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/RedirectMiddleware.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/RequestOptions.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/RetryMiddleware.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/TransferStats.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Utils.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/functions.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/GuzzleHttp/functions_include.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Client (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Client/ClientExceptionInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Client/ClientInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Client/NetworkExceptionInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Client/RequestExceptionInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/MessageInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/RequestFactoryInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/RequestInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/ResponseFactoryInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/ResponseInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/ServerRequestFactoryInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/ServerRequestInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/StreamFactoryInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/StreamInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/UploadedFileFactoryInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/UploadedFileInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/UriFactoryInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Psr/Http/Message/UriInterface.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/LICENSE (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/Php74.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/README.md (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/bootstrap.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/composer.json (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/LICENSE (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/Php80.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/PhpToken.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/README.md (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/Resources (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/Resources/stubs (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/Resources/stubs/Attribute.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/Resources/stubs/PhpToken.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/Resources/stubs/Stringable.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/Resources/stubs/UnhandledMatchError.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/Resources/stubs/ValueError.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/bootstrap.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/composer.json (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/LICENSE (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/Php81.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/README.md (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/Resources (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/Resources/stubs (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/Resources/stubs/CURLStringFile.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/Resources/stubs/ReturnTypeWillChange.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/bootstrap.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/composer.json (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82 (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/LICENSE (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/NoDynamicProperties.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Php82.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/README.md (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Random (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Random/Engine (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Random/Engine/Secure.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/AllowDynamicProperties.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/Random (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/Random/BrokenRandomEngineError.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/Random/CryptoSafeEngine.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/Random/Engine (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/Random/Engine.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/Random/Engine/Secure.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/Random/RandomError.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/Random/RandomException.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/SensitiveParameter.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Resources/stubs/SensitiveParameterValue.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/SensitiveParameterValue.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/bootstrap.php (added)
-
tags/1.6.2/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/composer.json (added)
-
tags/1.6.2/woo-custom-gateway.php (added)
-
trunk/readme.md (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Controller/Site.php (modified) (1 diff)
-
trunk/tests/src/ControllerLoaderTest.php (modified) (1 diff)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/bin (added)
-
trunk/vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (4 diffs)
-
trunk/vendor/composer/installed.json (modified) (28 diffs)
-
trunk/vendor/composer/installed.php (modified) (11 diffs)
-
trunk/vendor/composer/platform_check.php (modified) (1 diff)
-
trunk/vendor/symfony/deprecation-contracts/.gitignore (added)
-
trunk/vendor/woo-custom-gateway/classes/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php (added)
-
trunk/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Event/AddToWishlistEvent.php (added)
-
trunk/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/HttpClient.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Service.php (modified) (8 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Client.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/ClientInterface.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/CookieJar.php (modified) (9 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/CookieJarInterface.php (modified) (2 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/SetCookie.php (modified) (2 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlFactory.php (modified) (3 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlMultiHandler.php (modified) (3 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/HandlerStack.php (modified) (2 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/MessageFormatter.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/MessageFormatterInterface.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/Each.php (modified) (3 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/EachPromise.php (modified) (3 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/RejectionException.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/AppendStream.php (modified) (6 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/BufferStream.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/FnStream.php (modified) (7 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Header.php (modified) (2 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/HttpFactory.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/InflateStream.php (modified) (2 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Message.php (modified) (5 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MessageTrait.php (modified) (8 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MimeType.php (modified) (20 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MultipartStream.php (modified) (7 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/PumpStream.php (modified) (5 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Query.php (modified) (2 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Request.php (modified) (6 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Response.php (modified) (2 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Rfc7230.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/ServerRequest.php (modified) (5 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Stream.php (modified) (7 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/StreamDecoratorTrait.php (modified) (5 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/StreamWrapper.php (modified) (4 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UploadedFile.php (modified) (2 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Uri.php (modified) (25 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UriNormalizer.php (modified) (6 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UriResolver.php (modified) (8 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Utils.php (modified) (9 diffs)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/RedirectMiddleware.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/RequestOptions.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/TransferStats.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Utils.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/LICENSE (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/composer.json (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/LICENSE (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/composer.json (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/LICENSE (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/README.md (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/Resources/stubs/CURLStringFile.php (added)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/composer.json (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/LICENSE (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/Php82.php (added)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/README.md (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/bootstrap.php (modified) (1 diff)
-
trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/composer.json (modified) (1 diff)
-
trunk/woo-custom-gateway.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-custom-gateway/trunk/readme.md
r3426472 r3427539 7 7 - **_ Tested up to: _** 6.2 8 8 - **_ Requires PHP: _** 7.3 9 - **_ WC tested up to: _** 7. 710 - **_ Stable tag: _** 1.6. 19 - **_ WC tested up to: _** 7.8 10 - **_ Stable tag: _** 1.6.2 11 11 - **_ License: _** GPLv2 or later 12 12 - **_ License URI: _** [GPL-2.0](http://www.gnu.org/licenses/gpl-2.0.html) … … 77 77 ## Changelog 78 78 79 **_ 1.6.1 _**79 **_ 1.6.1 - 1.6.2 _** 80 80 81 81 - Add support for High-Performance Order Storage. 82 - Minor Bug Fixes 82 83 83 84 **_ 1.6.0 _** -
woo-custom-gateway/trunk/readme.txt
r3426472 r3427539 6 6 Tested up to: 6.2 7 7 Requires PHP: 7.3 8 WC tested up to: 7. 79 Stable tag: 1.6. 18 WC tested up to: 7.8 9 Stable tag: 1.6.2 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 65 65 66 66 == Changelog == 67 = 1.6.1 =67 = 1.6.1 - 1.6.2 = 68 68 * Add support for High-Performance Order Storage. 69 * Minor Bug Fixes 69 70 70 71 = 1.6.0 = -
woo-custom-gateway/trunk/src/Controller/Site.php
r2924371 r3427539 50 50 if ($gateway !== null) { 51 51 52 $email_statuses = (array) $gateway->get_option("email_order_stat", array ($gateway->get_default_order_status()));52 $email_statuses = (array) $gateway->get_option("email_order_stat", array_keys(wc_get_order_statuses())); 53 53 54 54 if (in_array(Functions::prefix_order_status($order->get_status()), $email_statuses)){ -
woo-custom-gateway/trunk/tests/src/ControllerLoaderTest.php
r2922480 r3427539 42 42 43 43 // constants loaded 44 self::assertTrue(WOO_CUSTOM_GATEWAY_VERSION !== null );45 self::assertTrue(WOO_CUSTOM_GATEWAY_NAME !== null );46 self::assertTrue(WOO_CUSTOM_GATEWAY_FILE !== null );47 self::assertTrue(WOO_CUSTOM_GATEWAY_SLUG !== null );44 self::assertTrue(WOO_CUSTOM_GATEWAY_VERSION !== null, "WOO_CUSTOM_GATEWAY_VERSION is null"); 45 self::assertTrue(WOO_CUSTOM_GATEWAY_NAME !== null, "WOO_CUSTOM_GATEWAY_NAME is null"); 46 self::assertTrue(WOO_CUSTOM_GATEWAY_FILE !== null, "WOO_CUSTOM_GATEWAY_FILE is null"); 47 self::assertTrue(WOO_CUSTOM_GATEWAY_SLUG !== null, "WOO_CUSTOM_GATEWAY_SLUG is null"); 48 48 49 49 // assert added 50 self::assertNotFalse(has_action('init', '__return_true') );51 self::assertNotFalse(has_filter('the_title', '__return_true') );50 self::assertNotFalse(has_action('init', '__return_true'), "init action not added"); 51 self::assertNotFalse(has_filter('the_title', '__return_true'), "the_title filter not added"); 52 52 53 53 // assert priority 54 self::assertSame(25, has_action('init', '__return_true') );55 self::assertSame(25, has_filter('the_title', '__return_true') );54 self::assertSame(25, has_action('init', '__return_true'), "init action priority not 25"); 55 self::assertSame(25, has_filter('the_title', '__return_true'), "the_title filter priority not 25"); 56 56 } 57 57 -
woo-custom-gateway/trunk/vendor/autoload.php
r2924446 r3427539 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 23 20 require_once __DIR__ . '/composer/autoload_real.php'; 24 21 25 return ComposerAutoloaderInit37 c3cff7acb5415e9532dce37a70ff96::getLoader();22 return ComposerAutoloaderInit37bc351e96686cf0cf7948f30c21524d::getLoader(); -
woo-custom-gateway/trunk/vendor/composer/InstalledVersions.php
r2922480 r3427539 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null 32 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 363 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 332 364 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 335 self::$installed = $installed[count($installed) - 1]; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 336 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 337 374 } 338 375 } … … 351 388 } 352 389 353 if (self::$installed !== array() ) {390 if (self::$installed !== array() && !$copiedLocalDir) { 354 391 $installed[] = self::$installed; 355 392 } -
woo-custom-gateway/trunk/vendor/composer/autoload_classmap.php
r2872617 r3427539 16 16 'WooCustomGateway_AllowDynamicProperties' => $vendorDir . '/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php', 17 17 'WooCustomGateway_Attribute' => $vendorDir . '/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/Attribute.php', 18 'WooCustomGateway_CURLStringFile' => $vendorDir . '/woo-custom-gateway/classes/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php', 18 19 'WooCustomGateway_ClientIP' => $vendorDir . '/woo-custom-gateway/classes/yidas/client-ip/src/ClientIP.php', 19 20 'WooCustomGateway_PhpToken' => $vendorDir . '/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/PhpToken.php', -
woo-custom-gateway/trunk/vendor/composer/autoload_real.php
r2924446 r3427539 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit37 c3cff7acb5415e9532dce37a70ff965 class ComposerAutoloaderInit37bc351e96686cf0cf7948f30c21524d 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit37 c3cff7acb5415e9532dce37a70ff96', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit37bc351e96686cf0cf7948f30c21524d', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit37 c3cff7acb5415e9532dce37a70ff96', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit37bc351e96686cf0cf7948f30c21524d', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit37 c3cff7acb5415e9532dce37a70ff96::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit37bc351e96686cf0cf7948f30c21524d::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
woo-custom-gateway/trunk/vendor/composer/autoload_static.php
r2924446 r3427539 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit37 c3cff7acb5415e9532dce37a70ff967 class ComposerStaticInit37bc351e96686cf0cf7948f30c21524d 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( 10 'R' => 10 'R' => 11 11 array ( 12 12 'RichardMuvirimi\\WooCustomGateway\\Vendor\\' => 40, … … 16 16 17 17 public static $prefixDirsPsr4 = array ( 18 'RichardMuvirimi\\WooCustomGateway\\Vendor\\' => 18 'RichardMuvirimi\\WooCustomGateway\\Vendor\\' => 19 19 array ( 20 20 0 => __DIR__ . '/..' . '/woo-custom-gateway/psr-4', 21 21 ), 22 'RichardMuvirimi\\WooCustomGateway\\' => 22 'RichardMuvirimi\\WooCustomGateway\\' => 23 23 array ( 24 24 0 => __DIR__ . '/../..' . '/src', … … 36 36 'WooCustomGateway_AllowDynamicProperties' => __DIR__ . '/..' . '/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php', 37 37 'WooCustomGateway_Attribute' => __DIR__ . '/..' . '/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/Attribute.php', 38 'WooCustomGateway_CURLStringFile' => __DIR__ . '/..' . '/woo-custom-gateway/classes/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php', 38 39 'WooCustomGateway_ClientIP' => __DIR__ . '/..' . '/woo-custom-gateway/classes/yidas/client-ip/src/ClientIP.php', 39 40 'WooCustomGateway_PhpToken' => __DIR__ . '/..' . '/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/PhpToken.php', … … 49 50 { 50 51 return \Closure::bind(function () use ($loader) { 51 $loader->prefixLengthsPsr4 = ComposerStaticInit37 c3cff7acb5415e9532dce37a70ff96::$prefixLengthsPsr4;52 $loader->prefixDirsPsr4 = ComposerStaticInit37 c3cff7acb5415e9532dce37a70ff96::$prefixDirsPsr4;53 $loader->classMap = ComposerStaticInit37 c3cff7acb5415e9532dce37a70ff96::$classMap;52 $loader->prefixLengthsPsr4 = ComposerStaticInit37bc351e96686cf0cf7948f30c21524d::$prefixLengthsPsr4; 53 $loader->prefixDirsPsr4 = ComposerStaticInit37bc351e96686cf0cf7948f30c21524d::$prefixDirsPsr4; 54 $loader->classMap = ComposerStaticInit37bc351e96686cf0cf7948f30c21524d::$classMap; 54 55 55 56 }, null, ClassLoader::class); -
woo-custom-gateway/trunk/vendor/composer/installed.json
r2922480 r3427539 3 3 { 4 4 "name": "br33f/php-ga4-mp", 5 "version": "v0.1. 3",6 "version_normalized": "0.1. 3.0",5 "version": "v0.1.4", 6 "version_normalized": "0.1.4.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/br33f/php-GA4-Measurement-Protocol.git", 10 "reference": " 7fd3d60213e5955886e05a628c972b3291c0be31"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/br33f/php-GA4-Measurement-Protocol/zipball/ 7fd3d60213e5955886e05a628c972b3291c0be31",15 "reference": " 7fd3d60213e5955886e05a628c972b3291c0be31",10 "reference": "c305dd78c36408b053ac8e62fc214d704121473a" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/br33f/php-GA4-Measurement-Protocol/zipball/c305dd78c36408b053ac8e62fc214d704121473a", 15 "reference": "c305dd78c36408b053ac8e62fc214d704121473a", 16 16 "shasum": "" 17 17 }, … … 26 26 "phpunit/phpunit": "^9.5" 27 27 }, 28 "time": "2023- 03-20T20:12:12+00:00",28 "time": "2023-12-12T18:16:11+00:00", 29 29 "type": "library", 30 30 "installation-source": "dist", … … 47 47 "support": { 48 48 "issues": "https://github.com/br33f/php-GA4-Measurement-Protocol/issues", 49 "source": "https://github.com/br33f/php-GA4-Measurement-Protocol/tree/v0.1. 3"49 "source": "https://github.com/br33f/php-GA4-Measurement-Protocol/tree/v0.1.4" 50 50 }, 51 51 "install-path": "../br33f/php-ga4-mp" … … 53 53 { 54 54 "name": "guzzlehttp/guzzle", 55 "version": "7. 7.0",56 "version_normalized": "7. 7.0.0",55 "version": "7.8.1", 56 "version_normalized": "7.8.1.0", 57 57 "source": { 58 58 "type": "git", 59 59 "url": "https://github.com/guzzle/guzzle.git", 60 "reference": " fb7566caccf22d74d1ab270de3551f72a58399f5"61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ fb7566caccf22d74d1ab270de3551f72a58399f5",65 "reference": " fb7566caccf22d74d1ab270de3551f72a58399f5",60 "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" 61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", 65 "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", 66 66 "shasum": "" 67 67 }, 68 68 "require": { 69 69 "ext-json": "*", 70 "guzzlehttp/promises": "^1.5.3 || ^2.0 ",71 "guzzlehttp/psr7": "^1.9.1 || ^2. 4.5",70 "guzzlehttp/promises": "^1.5.3 || ^2.0.1", 71 "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", 72 72 "php": "^7.2.5 || ^8.0", 73 73 "psr/http-client": "^1.0", … … 78 78 }, 79 79 "require-dev": { 80 "bamarni/composer-bin-plugin": "^1.8. 1",80 "bamarni/composer-bin-plugin": "^1.8.2", 81 81 "ext-curl": "*", 82 82 "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", 83 83 "php-http/message-factory": "^1.1", 84 "phpunit/phpunit": "^8.5. 29 || ^9.5.23",84 "phpunit/phpunit": "^8.5.36 || ^9.6.15", 85 85 "psr/log": "^1.1 || ^2.0 || ^3.0" 86 86 }, … … 90 90 "psr/log": "Required for using the Log middleware" 91 91 }, 92 "time": "2023- 05-21T14:04:53+00:00",92 "time": "2023-12-03T20:35:24+00:00", 93 93 "type": "library", 94 94 "extra": { … … 162 162 "support": { 163 163 "issues": "https://github.com/guzzle/guzzle/issues", 164 "source": "https://github.com/guzzle/guzzle/tree/7. 7.0"164 "source": "https://github.com/guzzle/guzzle/tree/7.8.1" 165 165 }, 166 166 "funding": [ … … 182 182 { 183 183 "name": "guzzlehttp/promises", 184 "version": "2.0. 0",185 "version_normalized": "2.0. 0.0",184 "version": "2.0.2", 185 "version_normalized": "2.0.2.0", 186 186 "source": { 187 187 "type": "git", 188 188 "url": "https://github.com/guzzle/promises.git", 189 "reference": " 3a494dc7dc1d7d12e511890177ae2d0e6c107da6"190 }, 191 "dist": { 192 "type": "zip", 193 "url": "https://api.github.com/repos/guzzle/promises/zipball/ 3a494dc7dc1d7d12e511890177ae2d0e6c107da6",194 "reference": " 3a494dc7dc1d7d12e511890177ae2d0e6c107da6",189 "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" 190 }, 191 "dist": { 192 "type": "zip", 193 "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", 194 "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", 195 195 "shasum": "" 196 196 }, … … 199 199 }, 200 200 "require-dev": { 201 "bamarni/composer-bin-plugin": "^1.8. 1",202 "phpunit/phpunit": "^8.5. 29 || ^9.5.23"203 }, 204 "time": "2023- 05-21T13:50:22+00:00",201 "bamarni/composer-bin-plugin": "^1.8.2", 202 "phpunit/phpunit": "^8.5.36 || ^9.6.15" 203 }, 204 "time": "2023-12-03T20:19:20+00:00", 205 205 "type": "library", 206 206 "extra": { … … 248 248 "support": { 249 249 "issues": "https://github.com/guzzle/promises/issues", 250 "source": "https://github.com/guzzle/promises/tree/2.0. 0"250 "source": "https://github.com/guzzle/promises/tree/2.0.2" 251 251 }, 252 252 "funding": [ … … 268 268 { 269 269 "name": "guzzlehttp/psr7", 270 "version": "2. 5.0",271 "version_normalized": "2. 5.0.0",270 "version": "2.6.2", 271 "version_normalized": "2.6.2.0", 272 272 "source": { 273 273 "type": "git", 274 274 "url": "https://github.com/guzzle/psr7.git", 275 "reference": " b635f279edd83fc275f822a1188157ffea568ff6"276 }, 277 "dist": { 278 "type": "zip", 279 "url": "https://api.github.com/repos/guzzle/psr7/zipball/ b635f279edd83fc275f822a1188157ffea568ff6",280 "reference": " b635f279edd83fc275f822a1188157ffea568ff6",275 "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" 276 }, 277 "dist": { 278 "type": "zip", 279 "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", 280 "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", 281 281 "shasum": "" 282 282 }, … … 292 292 }, 293 293 "require-dev": { 294 "bamarni/composer-bin-plugin": "^1.8. 1",294 "bamarni/composer-bin-plugin": "^1.8.2", 295 295 "http-interop/http-factory-tests": "^0.9", 296 "phpunit/phpunit": "^8.5. 29 || ^9.5.23"296 "phpunit/phpunit": "^8.5.36 || ^9.6.15" 297 297 }, 298 298 "suggest": { 299 299 "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" 300 300 }, 301 "time": "2023- 04-17T16:11:26+00:00",301 "time": "2023-12-03T20:05:35+00:00", 302 302 "type": "library", 303 303 "extra": { … … 367 367 "support": { 368 368 "issues": "https://github.com/guzzle/psr7/issues", 369 "source": "https://github.com/guzzle/psr7/tree/2. 5.0"369 "source": "https://github.com/guzzle/psr7/tree/2.6.2" 370 370 }, 371 371 "funding": [ … … 387 387 { 388 388 "name": "psr/http-client", 389 "version": "1.0. 2",390 "version_normalized": "1.0. 2.0",389 "version": "1.0.3", 390 "version_normalized": "1.0.3.0", 391 391 "source": { 392 392 "type": "git", 393 393 "url": "https://github.com/php-fig/http-client.git", 394 "reference": " 0955afe48220520692d2d09f7ab7e0f93ffd6a31"395 }, 396 "dist": { 397 "type": "zip", 398 "url": "https://api.github.com/repos/php-fig/http-client/zipball/ 0955afe48220520692d2d09f7ab7e0f93ffd6a31",399 "reference": " 0955afe48220520692d2d09f7ab7e0f93ffd6a31",394 "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" 395 }, 396 "dist": { 397 "type": "zip", 398 "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", 399 "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", 400 400 "shasum": "" 401 401 }, … … 404 404 "psr/http-message": "^1.0 || ^2.0" 405 405 }, 406 "time": "2023-0 4-10T20:12:12+00:00",406 "time": "2023-09-23T14:17:50+00:00", 407 407 "type": "library", 408 408 "extra": { … … 436 436 ], 437 437 "support": { 438 "source": "https://github.com/php-fig/http-client /tree/1.0.2"438 "source": "https://github.com/php-fig/http-client" 439 439 }, 440 440 "install-path": "../psr/http-client" … … 673 673 { 674 674 "name": "symfony/polyfill-php74", 675 "version": "v1.2 7.0",676 "version_normalized": "1.2 7.0.0",675 "version": "v1.29.0", 676 "version_normalized": "1.29.0.0", 677 677 "source": { 678 678 "type": "git", 679 679 "url": "https://github.com/symfony/polyfill-php74.git", 680 "reference": " aa7f1231a1aa56d695e626043252b7be6a90c4ce"681 }, 682 "dist": { 683 "type": "zip", 684 "url": "https://api.github.com/repos/symfony/polyfill-php74/zipball/ aa7f1231a1aa56d695e626043252b7be6a90c4ce",685 "reference": " aa7f1231a1aa56d695e626043252b7be6a90c4ce",680 "reference": "da301202eb63b838aed1e62134e2302f826ca600" 681 }, 682 "dist": { 683 "type": "zip", 684 "url": "https://api.github.com/repos/symfony/polyfill-php74/zipball/da301202eb63b838aed1e62134e2302f826ca600", 685 "reference": "da301202eb63b838aed1e62134e2302f826ca600", 686 686 "shasum": "" 687 687 }, … … 689 689 "php": ">=7.1" 690 690 }, 691 "time": "202 2-11-03T14:55:06+00:00",691 "time": "2024-01-29T20:11:03+00:00", 692 692 "type": "library", 693 693 "extra": { 694 "branch-alias": {695 "dev-main": "1.27-dev"696 },697 694 "thanks": { 698 695 "name": "symfony/polyfill", … … 736 733 ], 737 734 "support": { 738 "source": "https://github.com/symfony/polyfill-php74/tree/v1.2 7.0"735 "source": "https://github.com/symfony/polyfill-php74/tree/v1.29.0" 739 736 }, 740 737 "funding": [ … … 756 753 { 757 754 "name": "symfony/polyfill-php80", 758 "version": "v1.2 7.0",759 "version_normalized": "1.2 7.0.0",755 "version": "v1.29.0", 756 "version_normalized": "1.29.0.0", 760 757 "source": { 761 758 "type": "git", 762 759 "url": "https://github.com/symfony/polyfill-php80.git", 763 "reference": " 7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936"764 }, 765 "dist": { 766 "type": "zip", 767 "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/ 7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",768 "reference": " 7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",760 "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" 761 }, 762 "dist": { 763 "type": "zip", 764 "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", 765 "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", 769 766 "shasum": "" 770 767 }, … … 772 769 "php": ">=7.1" 773 770 }, 774 "time": "202 2-11-03T14:55:06+00:00",771 "time": "2024-01-29T20:11:03+00:00", 775 772 "type": "library", 776 773 "extra": { 777 "branch-alias": {778 "dev-main": "1.27-dev"779 },780 774 "thanks": { 781 775 "name": "symfony/polyfill", … … 822 816 ], 823 817 "support": { 824 "source": "https://github.com/symfony/polyfill-php80/tree/v1.2 7.0"818 "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" 825 819 }, 826 820 "funding": [ … … 842 836 { 843 837 "name": "symfony/polyfill-php81", 844 "version": "v1.2 7.0",845 "version_normalized": "1.2 7.0.0",838 "version": "v1.29.0", 839 "version_normalized": "1.29.0.0", 846 840 "source": { 847 841 "type": "git", 848 842 "url": "https://github.com/symfony/polyfill-php81.git", 849 "reference": " 707403074c8ea6e2edaf8794b0157a0bfa52157a"850 }, 851 "dist": { 852 "type": "zip", 853 "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/ 707403074c8ea6e2edaf8794b0157a0bfa52157a",854 "reference": " 707403074c8ea6e2edaf8794b0157a0bfa52157a",843 "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d" 844 }, 845 "dist": { 846 "type": "zip", 847 "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/c565ad1e63f30e7477fc40738343c62b40bc672d", 848 "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d", 855 849 "shasum": "" 856 850 }, … … 858 852 "php": ">=7.1" 859 853 }, 860 "time": "202 2-11-03T14:55:06+00:00",854 "time": "2024-01-29T20:11:03+00:00", 861 855 "type": "library", 862 856 "extra": { 863 "branch-alias": {864 "dev-main": "1.27-dev"865 },866 857 "thanks": { 867 858 "name": "symfony/polyfill", … … 904 895 ], 905 896 "support": { 906 "source": "https://github.com/symfony/polyfill-php81/tree/v1.2 7.0"897 "source": "https://github.com/symfony/polyfill-php81/tree/v1.29.0" 907 898 }, 908 899 "funding": [ … … 924 915 { 925 916 "name": "symfony/polyfill-php82", 926 "version": "v1.2 7.0",927 "version_normalized": "1.2 7.0.0",917 "version": "v1.29.0", 918 "version_normalized": "1.29.0.0", 928 919 "source": { 929 920 "type": "git", 930 921 "url": "https://github.com/symfony/polyfill-php82.git", 931 "reference": " 80ddf7bfa17ef7b06db4e6d007a95bf584e07b44"932 }, 933 "dist": { 934 "type": "zip", 935 "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/ 80ddf7bfa17ef7b06db4e6d007a95bf584e07b44",936 "reference": " 80ddf7bfa17ef7b06db4e6d007a95bf584e07b44",922 "reference": "559d488c38784112c78b9bf17c5ce8366a265643" 923 }, 924 "dist": { 925 "type": "zip", 926 "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/559d488c38784112c78b9bf17c5ce8366a265643", 927 "reference": "559d488c38784112c78b9bf17c5ce8366a265643", 937 928 "shasum": "" 938 929 }, … … 940 931 "php": ">=7.1" 941 932 }, 942 "time": "202 2-11-10T10:10:54+00:00",933 "time": "2024-01-29T20:11:03+00:00", 943 934 "type": "library", 944 935 "extra": { 945 "branch-alias": {946 "dev-main": "1.27-dev"947 },948 936 "thanks": { 949 937 "name": "symfony/polyfill", … … 986 974 ], 987 975 "support": { 988 "source": "https://github.com/symfony/polyfill-php82/tree/v1.2 7.0"976 "source": "https://github.com/symfony/polyfill-php82/tree/v1.29.0" 989 977 }, 990 978 "funding": [ -
woo-custom-gateway/trunk/vendor/composer/installed.php
r2922480 r3427539 2 2 'root' => array( 3 3 'name' => 'richardmuvirimi/woo-custom-gateway', 4 'pretty_version' => '1. 0.0+no-version-set',5 'version' => '1. 0.0.0',6 'reference' => NULL,4 'pretty_version' => '1.6.2', 5 'version' => '1.6.2.0', 6 'reference' => 'a019da5ab58b09c33df07034ae9d0dcc34d0aed3', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'br33f/php-ga4-mp' => array( 14 'pretty_version' => 'v0.1. 3',15 'version' => '0.1. 3.0',16 'reference' => ' 7fd3d60213e5955886e05a628c972b3291c0be31',14 'pretty_version' => 'v0.1.4', 15 'version' => '0.1.4.0', 16 'reference' => 'c305dd78c36408b053ac8e62fc214d704121473a', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../br33f/php-ga4-mp', … … 21 21 ), 22 22 'guzzlehttp/guzzle' => array( 23 'pretty_version' => '7. 7.0',24 'version' => '7. 7.0.0',25 'reference' => ' fb7566caccf22d74d1ab270de3551f72a58399f5',23 'pretty_version' => '7.8.1', 24 'version' => '7.8.1.0', 25 'reference' => '41042bc7ab002487b876a0683fc8dce04ddce104', 26 26 'type' => 'library', 27 27 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', … … 30 30 ), 31 31 'guzzlehttp/promises' => array( 32 'pretty_version' => '2.0. 0',33 'version' => '2.0. 0.0',34 'reference' => ' 3a494dc7dc1d7d12e511890177ae2d0e6c107da6',32 'pretty_version' => '2.0.2', 33 'version' => '2.0.2.0', 34 'reference' => 'bbff78d96034045e58e13dedd6ad91b5d1253223', 35 35 'type' => 'library', 36 36 'install_path' => __DIR__ . '/../guzzlehttp/promises', … … 39 39 ), 40 40 'guzzlehttp/psr7' => array( 41 'pretty_version' => '2. 5.0',42 'version' => '2. 5.0.0',43 'reference' => ' b635f279edd83fc275f822a1188157ffea568ff6',41 'pretty_version' => '2.6.2', 42 'version' => '2.6.2.0', 43 'reference' => '45b30f99ac27b5ca93cb4831afe16285f57b8221', 44 44 'type' => 'library', 45 45 'install_path' => __DIR__ . '/../guzzlehttp/psr7', … … 48 48 ), 49 49 'psr/http-client' => array( 50 'pretty_version' => '1.0. 2',51 'version' => '1.0. 2.0',52 'reference' => ' 0955afe48220520692d2d09f7ab7e0f93ffd6a31',50 'pretty_version' => '1.0.3', 51 'version' => '1.0.3.0', 52 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 53 53 'type' => 'library', 54 54 'install_path' => __DIR__ . '/../psr/http-client', … … 102 102 ), 103 103 'richardmuvirimi/woo-custom-gateway' => array( 104 'pretty_version' => '1. 0.0+no-version-set',105 'version' => '1. 0.0.0',106 'reference' => NULL,104 'pretty_version' => '1.6.2', 105 'version' => '1.6.2.0', 106 'reference' => 'a019da5ab58b09c33df07034ae9d0dcc34d0aed3', 107 107 'type' => 'wordpress-plugin', 108 108 'install_path' => __DIR__ . '/../../', … … 120 120 ), 121 121 'symfony/polyfill-php74' => array( 122 'pretty_version' => 'v1.2 7.0',123 'version' => '1.2 7.0.0',124 'reference' => ' aa7f1231a1aa56d695e626043252b7be6a90c4ce',122 'pretty_version' => 'v1.29.0', 123 'version' => '1.29.0.0', 124 'reference' => 'da301202eb63b838aed1e62134e2302f826ca600', 125 125 'type' => 'library', 126 126 'install_path' => __DIR__ . '/../symfony/polyfill-php74', … … 129 129 ), 130 130 'symfony/polyfill-php80' => array( 131 'pretty_version' => 'v1.2 7.0',132 'version' => '1.2 7.0.0',133 'reference' => ' 7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936',131 'pretty_version' => 'v1.29.0', 132 'version' => '1.29.0.0', 133 'reference' => '87b68208d5c1188808dd7839ee1e6c8ec3b02f1b', 134 134 'type' => 'library', 135 135 'install_path' => __DIR__ . '/../symfony/polyfill-php80', … … 138 138 ), 139 139 'symfony/polyfill-php81' => array( 140 'pretty_version' => 'v1.2 7.0',141 'version' => '1.2 7.0.0',142 'reference' => ' 707403074c8ea6e2edaf8794b0157a0bfa52157a',140 'pretty_version' => 'v1.29.0', 141 'version' => '1.29.0.0', 142 'reference' => 'c565ad1e63f30e7477fc40738343c62b40bc672d', 143 143 'type' => 'library', 144 144 'install_path' => __DIR__ . '/../symfony/polyfill-php81', … … 147 147 ), 148 148 'symfony/polyfill-php82' => array( 149 'pretty_version' => 'v1.2 7.0',150 'version' => '1.2 7.0.0',151 'reference' => ' 80ddf7bfa17ef7b06db4e6d007a95bf584e07b44',149 'pretty_version' => 'v1.29.0', 150 'version' => '1.29.0.0', 151 'reference' => '559d488c38784112c78b9bf17c5ce8366a265643', 152 152 'type' => 'library', 153 153 'install_path' => __DIR__ . '/../symfony/polyfill-php82', -
woo-custom-gateway/trunk/vendor/composer/platform_check.php
r2871350 r3427539 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/HttpClient.php
r2922480 r3427539 56 56 /** 57 57 * @param Client $client 58 * @return self 58 59 */ 59 public function setClient(Client $client) 60 public function setClient(Client $client): self 60 61 { 61 62 $this->client = $client; 63 return $this; 62 64 } 63 65 -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Service.php
r2922480 r3427539 134 134 /** 135 135 * @param HttpClient $httpClient 136 */ 137 public function setHttpClient(HttpClient $httpClient) 136 * @return self 137 */ 138 public function setHttpClient(HttpClient $httpClient): self 138 139 { 139 140 $this->httpClient = $httpClient; 141 return $this; 140 142 } 141 143 … … 162 164 /** 163 165 * @param bool $useSsl 164 */ 165 public function setUseSsl(bool $useSsl) 166 * @return self 167 */ 168 public function setUseSsl(bool $useSsl): self 166 169 { 167 170 $this->useSsl = $useSsl; 171 return $this; 168 172 } 169 173 … … 178 182 /** 179 183 * @param bool $useWww 180 */ 181 public function setUseWww(bool $useWww) 184 * @return self 185 */ 186 public function setUseWww(bool $useWww): self 182 187 { 183 188 $this->useWww = $useWww; 189 return $this; 184 190 } 185 191 … … 194 200 /** 195 201 * @param string $collectDebugEndpoint 196 */ 197 public function setCollectDebugEndpoint(string $collectDebugEndpoint) 202 * @return self 203 */ 204 public function setCollectDebugEndpoint(string $collectDebugEndpoint): self 198 205 { 199 206 $this->collectDebugEndpoint = $collectDebugEndpoint; 207 return $this; 200 208 } 201 209 … … 210 218 /** 211 219 * @param string $collectEndpoint 212 */ 213 public function setCollectEndpoint(string $collectEndpoint) 220 * @return self 221 */ 222 public function setCollectEndpoint(string $collectEndpoint): self 214 223 { 215 224 $this->collectEndpoint = $collectEndpoint; 225 return $this; 216 226 } 217 227 … … 291 301 /** 292 302 * @param string $apiSecret 293 */ 294 public function setApiSecret(string $apiSecret) 303 * @return self 304 */ 305 public function setApiSecret(string $apiSecret): self 295 306 { 296 307 $this->apiSecret = $apiSecret; 308 return $this; 297 309 } 298 310 … … 307 319 /** 308 320 * @param string $ipOverride 309 */ 310 public function setIpOverride(string $ipOverride) 321 * @return self 322 */ 323 public function setIpOverride(string $ipOverride): self 311 324 { 312 325 $this->ipOverride = $ipOverride; 326 return $this; 313 327 } 314 328 … … 323 337 /** 324 338 * @param array|null $options 325 */ 326 public function setOptions(?array $options) 339 * @return self 340 */ 341 public function setOptions(?array $options): self 327 342 { 328 343 $this->options = $options; 344 return $this; 329 345 } 330 346 -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Client.php
r2922480 r3427539 203 203 * @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:8.0. 204 204 */ 205 public function getConfig( ?string $option = null)205 public function getConfig(string $option = null) 206 206 { 207 207 return $option === null -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/ClientInterface.php
r2922480 r3427539 81 81 * @deprecated ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0. 82 82 */ 83 public function getConfig( ?string $option = null);83 public function getConfig(string $option = null); 84 84 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/CookieJar.php
r2922480 r3427539 97 97 } 98 98 99 /**100 * {@inheritDoc}101 */102 99 public function toArray(): array 103 100 { … … 107 104 } 108 105 109 /** 110 * {@inheritDoc} 111 */ 112 public function clear(?string $domain = null, ?string $path = null, ?string $name = null): void 106 public function clear(string $domain = null, string $path = null, string $name = null): void 113 107 { 114 108 if (!$domain) { … … 127 121 $this->cookies, 128 122 static function (SetCookie $cookie) use ($path, $domain): bool { 129 return !($cookie->matchesPath($path) &&130 $cookie->matchesDomain($domain));123 return !($cookie->matchesPath($path) 124 && $cookie->matchesDomain($domain)); 131 125 } 132 126 ); … … 135 129 $this->cookies, 136 130 static function (SetCookie $cookie) use ($path, $domain, $name) { 137 return !($cookie->getName() == $name &&138 $cookie->matchesPath($path) &&139 $cookie->matchesDomain($domain));131 return !($cookie->getName() == $name 132 && $cookie->matchesPath($path) 133 && $cookie->matchesDomain($domain)); 140 134 } 141 135 ); … … 143 137 } 144 138 145 /**146 * {@inheritDoc}147 */148 139 public function clearSessionCookies(): void 149 140 { … … 156 147 } 157 148 158 /**159 * {@inheritDoc}160 */161 149 public function setCookie(SetCookie $cookie): bool 162 150 { … … 183 171 // Two cookies are identical, when their path, and domain are 184 172 // identical. 185 if ($c->getPath() != $cookie->getPath() ||186 $c->getDomain() != $cookie->getDomain() ||187 $c->getName() != $cookie->getName()173 if ($c->getPath() != $cookie->getPath() 174 || $c->getDomain() != $cookie->getDomain() 175 || $c->getName() != $cookie->getName() 188 176 ) { 189 177 continue; … … 256 244 * Computes cookie path following RFC 6265 section 5.1.4 257 245 * 258 * @see https:// tools.ietf.org/html/rfc6265#section-5.1.4246 * @see https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.4 259 247 */ 260 248 private function getCookiePathFromRequest(RequestInterface $request): string … … 287 275 288 276 foreach ($this->cookies as $cookie) { 289 if ($cookie->matchesPath($path) &&290 $cookie->matchesDomain($host) &&291 !$cookie->isExpired() &&292 (!$cookie->getSecure() || $scheme === 'https')277 if ($cookie->matchesPath($path) 278 && $cookie->matchesDomain($host) 279 && !$cookie->isExpired() 280 && (!$cookie->getSecure() || $scheme === 'https') 293 281 ) { 294 282 $values[] = $cookie->getName().'=' -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/CookieJarInterface.php
r2922480 r3427539 15 15 * 16 16 * @see https://docs.python.org/2/library/cookielib.html Inspiration 17 * 17 18 * @extends \IteratorAggregate<SetCookie> 18 19 */ … … 62 63 * @param string|null $name Clears cookies matching a domain, path, and name 63 64 */ 64 public function clear( ?string $domain = null, ?string $path = null, ?string $name = null): void;65 public function clear(string $domain = null, string $path = null, string $name = null): void; 65 66 66 67 /** -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/SetCookie.php
r2922480 r3427539 421 421 422 422 // Remove the leading '.' as per spec in RFC 6265. 423 // https:// tools.ietf.org/html/rfc6265#section-5.2.3423 // https://datatracker.ietf.org/doc/html/rfc6265#section-5.2.3 424 424 $cookieDomain = \ltrim(\strtolower($cookieDomain), '.'); 425 425 … … 432 432 433 433 // Matching the subdomain according to RFC 6265. 434 // https:// tools.ietf.org/html/rfc6265#section-5.1.3434 // https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.3 435 435 if (\filter_var($domain, \FILTER_VALIDATE_IP)) { 436 436 return false; -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlFactory.php
r2922480 r3427539 257 257 $method = $easy->request->getMethod(); 258 258 if ($method === 'PUT' || $method === 'POST') { 259 // See https:// tools.ietf.org/html/rfc7230#section-3.3.2259 // See https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2 260 260 if (!$easy->request->hasHeader('Content-Length')) { 261 261 $conf[\CURLOPT_HTTPHEADER][] = 'Content-Length: 0'; … … 368 368 // If not, it's probably a file, or a link to a file, so use CURLOPT_CAINFO. 369 369 if ( 370 \is_dir($options['verify']) ||371 (372 \is_link($options['verify']) === true &&373 ($verifyLink = \readlink($options['verify'])) !== false &&374 \is_dir($verifyLink)370 \is_dir($options['verify']) 371 || ( 372 \is_link($options['verify']) === true 373 && ($verifyLink = \readlink($options['verify'])) !== false 374 && \is_dir($verifyLink) 375 375 ) 376 376 ) { … … 628 628 }; 629 629 } 630 631 public function __destruct() 632 { 633 foreach ($this->handles as $id => $handle) { 634 \curl_close($handle); 635 unset($this->handles[$id]); 636 } 637 } 630 638 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlMultiHandler.php
r2922480 r3427539 16 16 * **curl** key of the provided request options. 17 17 * 18 * @property resource|\CurlMultiHandle $_mh Internal use only. Lazy loaded multi-handle.19 *20 18 * @final 21 19 */ 22 #[\AllowDynamicProperties]23 20 class CurlMultiHandler 24 21 { … … 56 53 */ 57 54 private $options = []; 55 56 /** @var resource|\CurlMultiHandle */ 57 private $_mh; 58 58 59 59 /** … … 80 80 81 81 $this->options = $options['options'] ?? []; 82 83 // unsetting the property forces the first access to go through 84 // __get(). 85 unset($this->_mh); 82 86 } 83 87 -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/HandlerStack.php
r2922480 r3427539 45 45 * system will be utilized. 46 46 */ 47 public static function create( ?callable $handler = null): self47 public static function create(callable $handler = null): self 48 48 { 49 49 $stack = new self($handler ?: Utils::chooseHandler()); … … 132 132 * @param string $name Name to register for this middleware. 133 133 */ 134 public function unshift(callable $middleware, ?string $name = null): void134 public function unshift(callable $middleware, string $name = null): void 135 135 { 136 136 \array_unshift($this->stack, [$middleware, $name]); -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/MessageFormatter.php
r2922480 r3427539 69 69 * @param \Throwable|null $error Exception that was received 70 70 */ 71 public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string71 public function format(RequestInterface $request, ResponseInterface $response = null, \Throwable $error = null): string 72 72 { 73 73 $cache = []; -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/MessageFormatterInterface.php
r2922480 r3427539 15 15 * @param \Throwable|null $error Exception that was received 16 16 */ 17 public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string;17 public function format(RequestInterface $request, ResponseInterface $response = null, \Throwable $error = null): string; 18 18 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/Each.php
r2922480 r3427539 20 20 * side effects and choose to resolve or reject the aggregate if needed. 21 21 * 22 * @param mixed $iterable Iterator or array to iterate over. 23 * @param callable $onFulfilled 24 * @param callable $onRejected 22 * @param mixed $iterable Iterator or array to iterate over. 25 23 */ 26 24 public static function of( … … 45 43 * @param mixed $iterable 46 44 * @param int|callable $concurrency 47 * @param callable $onFulfilled48 * @param callable $onRejected49 45 */ 50 46 public static function ofLimit( … … 68 64 * @param mixed $iterable 69 65 * @param int|callable $concurrency 70 * @param callable $onFulfilled71 66 */ 72 67 public static function ofLimitAll( -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/EachPromise.php
r2922480 r3427539 136 136 // Add only up to N pending promises. 137 137 $concurrency = is_callable($this->concurrency) 138 ? call_user_func($this->concurrency,count($this->pending))138 ? ($this->concurrency)(count($this->pending)) 139 139 : $this->concurrency; 140 140 $concurrency = max($concurrency - count($this->pending), 0); … … 171 171 function ($value) use ($idx, $key): void { 172 172 if ($this->onFulfilled) { 173 call_user_func( 174 $this->onFulfilled, 173 ($this->onFulfilled)( 175 174 $value, 176 175 $key, … … 182 181 function ($reason) use ($idx, $key): void { 183 182 if ($this->onRejected) { 184 call_user_func( 185 $this->onRejected, 183 ($this->onRejected)( 186 184 $reason, 187 185 $key, -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/RejectionException.php
r2922480 r3427539 19 19 * @param string|null $description Optional description. 20 20 */ 21 public function __construct($reason, $description = null)21 public function __construct($reason, string $description = null) 22 22 { 23 23 $this->reason = $reason; -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/AppendStream.php
r2922480 r3427539 41 41 try { 42 42 $this->rewind(); 43 43 44 return $this->getContents(); 44 45 } catch (\Throwable $e) { … … 47 48 } 48 49 trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); 50 49 51 return ''; 50 52 } … … 139 141 public function eof(): bool 140 142 { 141 return !$this->streams ||142 ($this->current >= count($this->streams) - 1 &&143 $this->streams[$this->current]->eof());143 return !$this->streams 144 || ($this->current >= count($this->streams) - 1 145 && $this->streams[$this->current]->eof()); 144 146 } 145 147 … … 168 170 } catch (\Exception $e) { 169 171 throw new \RuntimeException('Unable to seek stream ' 170 . $i .' of the AppendStream', 0, $e);172 .$i.' of the AppendStream', 0, $e); 171 173 } 172 174 } … … 198 200 break; 199 201 } 200 $this->current++;202 ++$this->current; 201 203 } 202 204 … … 238 240 239 241 /** 240 * {@inheritdoc}241 *242 242 * @return mixed 243 243 */ -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/BufferStream.php
r2922480 r3427539 135 135 136 136 /** 137 * {@inheritdoc}138 *139 137 * @return mixed 140 138 */ -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/FnStream.php
r2922480 r3427539 19 19 '__toString', 'close', 'detach', 'rewind', 20 20 'getSize', 'tell', 'eof', 'isSeekable', 'seek', 'isWritable', 'write', 21 'isReadable', 'read', 'getContents', 'getMetadata' 21 'isReadable', 'read', 'getContents', 'getMetadata', 22 22 ]; 23 23 … … 34 34 // Create the functions on the class 35 35 foreach ($methods as $name => $fn) { 36 $this->{'_fn_' .$name} = $fn;36 $this->{'_fn_'.$name} = $fn; 37 37 } 38 38 } … … 46 46 { 47 47 throw new \BadMethodCallException(str_replace('_fn_', '', $name) 48 . '() is not implemented in the FnStream');48 .'() is not implemented in the FnStream'); 49 49 } 50 50 … … 55 55 { 56 56 if (isset($this->_fn_close)) { 57 call_user_func($this->_fn_close);57 ($this->_fn_close)(); 58 58 } 59 59 } … … 94 94 { 95 95 try { 96 return call_user_func($this->_fn___toString); 96 /** @var string */ 97 return ($this->_fn___toString)(); 97 98 } catch (\Throwable $e) { 98 99 if (\PHP_VERSION_ID >= 70400) { … … 100 101 } 101 102 trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); 103 102 104 return ''; 103 105 } … … 106 108 public function close(): void 107 109 { 108 call_user_func($this->_fn_close);110 ($this->_fn_close)(); 109 111 } 110 112 111 113 public function detach() 112 114 { 113 return call_user_func($this->_fn_detach);115 return ($this->_fn_detach)(); 114 116 } 115 117 116 118 public function getSize(): ?int 117 119 { 118 return call_user_func($this->_fn_getSize);120 return ($this->_fn_getSize)(); 119 121 } 120 122 121 123 public function tell(): int 122 124 { 123 return call_user_func($this->_fn_tell);125 return ($this->_fn_tell)(); 124 126 } 125 127 126 128 public function eof(): bool 127 129 { 128 return call_user_func($this->_fn_eof);130 return ($this->_fn_eof)(); 129 131 } 130 132 131 133 public function isSeekable(): bool 132 134 { 133 return call_user_func($this->_fn_isSeekable);135 return ($this->_fn_isSeekable)(); 134 136 } 135 137 136 138 public function rewind(): void 137 139 { 138 call_user_func($this->_fn_rewind);140 ($this->_fn_rewind)(); 139 141 } 140 142 141 143 public function seek($offset, $whence = SEEK_SET): void 142 144 { 143 call_user_func($this->_fn_seek,$offset, $whence);145 ($this->_fn_seek)($offset, $whence); 144 146 } 145 147 146 148 public function isWritable(): bool 147 149 { 148 return call_user_func($this->_fn_isWritable);150 return ($this->_fn_isWritable)(); 149 151 } 150 152 151 153 public function write($string): int 152 154 { 153 return call_user_func($this->_fn_write,$string);155 return ($this->_fn_write)($string); 154 156 } 155 157 156 158 public function isReadable(): bool 157 159 { 158 return call_user_func($this->_fn_isReadable);160 return ($this->_fn_isReadable)(); 159 161 } 160 162 161 163 public function read($length): string 162 164 { 163 return call_user_func($this->_fn_read,$length);165 return ($this->_fn_read)($length); 164 166 } 165 167 166 168 public function getContents(): string 167 169 { 168 return call_user_func($this->_fn_getContents);170 return ($this->_fn_getContents)(); 169 171 } 170 172 171 173 /** 172 * {@inheritdoc}173 *174 174 * @return mixed 175 175 */ 176 176 public function getMetadata($key = null) 177 177 { 178 return call_user_func($this->_fn_getMetadata,$key);178 return ($this->_fn_getMetadata)($key); 179 179 } 180 180 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Header.php
r2922480 r3427539 23 23 foreach (self::splitList($value) as $val) { 24 24 $part = []; 25 foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) {25 foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) ?: [] as $kvp) { 26 26 if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) { 27 27 $m = $matches[0]; … … 90 90 $isQuoted = false; 91 91 $isEscaped = false; 92 for ($i = 0, $max = \strlen($value); $i < $max; $i++) {92 for ($i = 0, $max = \strlen($value); $i < $max; ++$i) { 93 93 if ($isEscaped) { 94 94 $v .= $value[$i]; -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/HttpFactory.php
r2922480 r3427539 24 24 * and inject the instance of this class multiple times. 25 25 */ 26 final class HttpFactory implements 27 RequestFactoryInterface, 28 ResponseFactoryInterface, 29 ServerRequestFactoryInterface, 30 StreamFactoryInterface, 31 UploadedFileFactoryInterface, 32 UriFactoryInterface 26 final class HttpFactory implements RequestFactoryInterface, ResponseFactoryInterface, ServerRequestFactoryInterface, StreamFactoryInterface, UploadedFileFactoryInterface, UriFactoryInterface 33 27 { 34 28 public function createUploadedFile( -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/InflateStream.php
r2922480 r3427539 14 14 * to a Guzzle stream resource to be used as a Guzzle stream. 15 15 * 16 * @ link http://tools.ietf.org/html/rfc195017 * @ link http://tools.ietf.org/html/rfc195218 * @ link http://php.net/manual/en/filters.compression.php16 * @see https://datatracker.ietf.org/doc/html/rfc1950 17 * @see https://datatracker.ietf.org/doc/html/rfc1952 18 * @see https://www.php.net/manual/en/filters.compression.php 19 19 */ 20 20 final class InflateStream implements StreamInterface … … 29 29 $resource = StreamWrapper::getResource($stream); 30 30 // Specify window=15+32, so zlib will use header detection to both gzip (with header) and zlib data 31 // See http ://www.zlib.net/manual.html#Advanced definition of inflateInit231 // See https://www.zlib.net/manual.html#Advanced definition of inflateInit2 32 32 // "Add 32 to windowBits to enable zlib and gzip decoding with automatic header detection" 33 33 // Default window size is 15. -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Message.php
r2922480 r3427539 19 19 { 20 20 if ($message instanceof RequestInterface) { 21 $msg = trim($message->getMethod() .' '22 . $message->getRequestTarget())23 . ' HTTP/' .$message->getProtocolVersion();21 $msg = trim($message->getMethod().' ' 22 .$message->getRequestTarget()) 23 .' HTTP/'.$message->getProtocolVersion(); 24 24 if (!$message->hasHeader('host')) { 25 $msg .= "\r\nHost: " .$message->getUri()->getHost();25 $msg .= "\r\nHost: ".$message->getUri()->getHost(); 26 26 } 27 27 } elseif ($message instanceof ResponseInterface) { 28 $msg = 'HTTP/' . $message->getProtocolVersion() .' '29 . $message->getStatusCode() .' '30 . $message->getReasonPhrase();28 $msg = 'HTTP/'.$message->getProtocolVersion().' ' 29 .$message->getStatusCode().' ' 30 .$message->getReasonPhrase(); 31 31 } else { 32 32 throw new \InvalidArgumentException('Unknown message type'); … … 34 34 35 35 foreach ($message->getHeaders() as $name => $values) { 36 if ( strtolower($name) === 'set-cookie') {36 if (is_string($name) && strtolower($name) === 'set-cookie') { 37 37 foreach ($values as $value) { 38 $msg .= "\r\n{$name}: " .$value;38 $msg .= "\r\n{$name}: ".$value; 39 39 } 40 40 } else { 41 $msg .= "\r\n{$name}: " .implode(', ', $values);41 $msg .= "\r\n{$name}: ".implode(', ', $values); 42 42 } 43 43 } 44 44 45 return "{$msg}\r\n\r\n" .$message->getBody();45 return "{$msg}\r\n\r\n".$message->getBody(); 46 46 } 47 47 … … 147 147 // If these aren't the same, then one line didn't match and there's an invalid header. 148 148 if ($count !== substr_count($rawHeaders, "\n")) { 149 // Folding is deprecated, see https:// tools.ietf.org/html/rfc7230#section-3.2.4149 // Folding is deprecated, see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 150 150 if (preg_match(Rfc7230::HEADER_FOLD_REGEX, $rawHeaders)) { 151 151 throw new \InvalidArgumentException('Invalid header syntax: Obsolete line folding'); … … 191 191 $scheme = substr($host, -4) === ':443' ? 'https' : 'http'; 192 192 193 return $scheme . '://' . $host . '/' .ltrim($path, '/');193 return $scheme.'://'.$host.'/'.ltrim($path, '/'); 194 194 } 195 195 … … 228 228 { 229 229 $data = self::parseMessage($message); 230 // According to https:// tools.ietf.org/html/rfc7230#section-3.1.2 the space231 // between status-code and reason-phrase is required. But browsers accept232 // responses without space and reason as well.230 // According to https://datatracker.ietf.org/doc/html/rfc7230#section-3.1.2 231 // the space between status-code and reason-phrase is required. But 232 // browsers accept responses without space and reason as well. 233 233 if (!preg_match('/^HTTP\/.* [0-9]{3}( .*|$)/', $data['start-line'])) { 234 throw new \InvalidArgumentException('Invalid response string: ' .$data['start-line']);234 throw new \InvalidArgumentException('Invalid response string: '.$data['start-line']); 235 235 } 236 236 $parts = explode(' ', $data['start-line'], 3); -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MessageTrait.php
r2922480 r3427539 13 13 trait MessageTrait 14 14 { 15 /** @var array<string, string[]>Map of all registered headers, as original name => array of values */15 /** @var string[][] Map of all registered headers, as original name => array of values */ 16 16 private $headers = []; 17 17 18 /** @var array<string, string>Map of lowercase header name => original name at registration */19 private $headerNames = [];18 /** @var string[] Map of lowercase header name => original name at registration */ 19 private $headerNames = []; 20 20 21 21 /** @var string */ … … 38 38 $new = clone $this; 39 39 $new->protocol = $version; 40 40 41 return $new; 41 42 } … … 136 137 $new = clone $this; 137 138 $new->stream = $body; 138 return $new; 139 } 140 141 /** 142 * @param array<string|int, string|string[]> $headers 139 140 return $new; 141 } 142 143 /** 144 * @param (string|string[])[] $headers 143 145 */ 144 146 private function setHeaders(array $headers): void … … 192 194 * @return string[] Trimmed header values 193 195 * 194 * @see https:// tools.ietf.org/html/rfc7230#section-3.2.4196 * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4 195 197 */ 196 198 private function trimAndValidateHeaderValues(array $values): array … … 212 214 213 215 /** 214 * @see https:// tools.ietf.org/html/rfc7230#section-3.2216 * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 215 217 * 216 218 * @param mixed $header … … 225 227 } 226 228 227 if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/D', $header)) {229 if (!preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/D', $header)) { 228 230 throw new \InvalidArgumentException( 229 231 sprintf('"%s" is not valid header name.', $header) … … 233 235 234 236 /** 235 * @see https:// tools.ietf.org/html/rfc7230#section-3.2237 * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 236 238 * 237 239 * field-value = *( field-content / obs-fold ) … … 255 257 // likely very rare. Line folding is a fairly obscure feature of HTTP/1.1 and thus not accepting 256 258 // folding is not likely to break any legitimate use case. 257 if (! preg_match('/^[\x20\x09\x21-\x7E\x80-\xFF]*$/D', $value)) {259 if (!preg_match('/^[\x20\x09\x21-\x7E\x80-\xFF]*$/D', $value)) { 258 260 throw new \InvalidArgumentException( 259 261 sprintf('"%s" is not valid header value.', $value) -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MimeType.php
r2922480 r3427539 19 19 '123' => 'application/vnd.lotus-1-2-3', 20 20 'aab' => 'application/x-authorware-bin', 21 'aac' => 'audio/ x-acc',21 'aac' => 'audio/aac', 22 22 'aam' => 'application/x-authorware-map', 23 23 'aas' => 'application/x-authorware-seg', … … 30 30 'acutc' => 'application/vnd.acucorp', 31 31 'adp' => 'audio/adpcm', 32 'adts' => 'audio/aac', 32 33 'aep' => 'application/vnd.audiograph', 33 34 'afm' => 'application/x-font-type1', … … 42 43 'ait' => 'application/vnd.dvb.ait', 43 44 'ami' => 'application/vnd.amiga.ami', 45 'aml' => 'application/automationml-aml+xml', 46 'amlx' => 'application/automationml-amlx+zip', 44 47 'amr' => 'audio/amr', 45 48 'apk' => 'application/vnd.android.package-archive', 46 49 'apng' => 'image/apng', 47 50 'appcache' => 'text/cache-manifest', 51 'appinstaller' => 'application/appinstaller', 48 52 'application' => 'application/x-ms-application', 53 'appx' => 'application/appx', 54 'appxbundle' => 'application/appxbundle', 49 55 'apr' => 'application/vnd.lotus-approach', 50 56 'arc' => 'application/x-freearc', … … 91 97 'bpmn' => 'application/octet-stream', 92 98 'bsp' => 'model/vnd.valve.source.compiled-map', 99 'btf' => 'image/prs.btif', 93 100 'btif' => 'image/prs.btif', 94 101 'buffer' => 'application/octet-stream', … … 142 149 'cla' => 'application/vnd.claymore', 143 150 'class' => 'application/octet-stream', 151 'cld' => 'model/vnd.cld', 144 152 'clkk' => 'application/vnd.crick.clicker.keyboard', 145 153 'clkp' => 'application/vnd.crick.clicker.palette', … … 176 184 'cu' => 'application/cu-seeme', 177 185 'curl' => 'text/vnd.curl', 186 'cwl' => 'application/cwl', 178 187 'cww' => 'application/prs.cww', 179 188 'cxt' => 'application/x-director', … … 198 207 'dfac' => 'application/vnd.dreamfactory', 199 208 'dgc' => 'application/x-dgc-compressed', 209 'dib' => 'image/bmp', 200 210 'dic' => 'text/x-c', 201 211 'dir' => 'application/x-director', … … 220 230 'dp' => 'application/vnd.osgi.dp', 221 231 'dpg' => 'application/vnd.dpgraph', 232 'dpx' => 'image/dpx', 222 233 'dra' => 'audio/vnd.dra', 223 234 'drle' => 'image/dicom-rle', … … 256 267 'eps' => 'application/postscript', 257 268 'epub' => 'application/epub+zip', 258 'es' => 'application/ecmascript',259 269 'es3' => 'application/vnd.eszigno3+xml', 260 270 'esa' => 'application/vnd.osgi.subsystem', … … 449 459 'jsonml' => 'application/jsonml+json', 450 460 'jsx' => 'text/jsx', 461 'jt' => 'model/jt', 451 462 'jxr' => 'image/jxr', 452 463 'jxra' => 'image/jxra', … … 553 564 'mj2' => 'video/mj2', 554 565 'mjp2' => 'video/mj2', 555 'mjs' => ' application/javascript',566 'mjs' => 'text/javascript', 556 567 'mk3d' => 'video/x-matroska', 557 568 'mka' => 'audio/x-matroska', … … 603 614 'msh' => 'model/mesh', 604 615 'msi' => 'application/x-msdownload', 616 'msix' => 'application/msix', 617 'msixbundle' => 'application/msixbundle', 605 618 'msl' => 'application/vnd.mobius.msl', 606 619 'msm' => 'application/octet-stream', … … 776 789 'pwn' => 'application/vnd.3m.post-it-notes', 777 790 'pya' => 'audio/vnd.ms-playready.media.pya', 791 'pyo' => 'model/vnd.pytha.pyox', 792 'pyox' => 'model/vnd.pytha.pyox', 778 793 'pyv' => 'video/vnd.ms-playready.media.pyv', 779 794 'qam' => 'application/vnd.epson.quickanime', … … 924 939 'stc' => 'application/vnd.sun.xml.calc.template', 925 940 'std' => 'application/vnd.sun.xml.draw.template', 941 'step' => 'application/STEP', 926 942 'stf' => 'application/vnd.wt.stf', 927 943 'sti' => 'application/vnd.sun.xml.impress.template', 928 944 'stk' => 'application/hyperstudio', 929 945 'stl' => 'model/stl', 946 'stp' => 'application/STEP', 930 947 'stpx' => 'model/step+xml', 931 948 'stpxz' => 'model/step-xml+zip', … … 1014 1031 'umj' => 'application/vnd.umajin', 1015 1032 'unityweb' => 'application/vnd.unity', 1033 'uo' => 'application/vnd.uoml+xml', 1016 1034 'uoml' => 'application/vnd.uoml+xml', 1017 1035 'uri' => 'text/uri-list', 1018 1036 'uris' => 'text/uri-list', 1019 1037 'urls' => 'text/uri-list', 1038 'usda' => 'model/vnd.usda', 1020 1039 'usdz' => 'model/vnd.usdz+zip', 1021 1040 'ustar' => 'application/x-ustar', … … 1097 1116 'webp' => 'image/webp', 1098 1117 'wg' => 'application/vnd.pmi.widget', 1118 'wgsl' => 'text/wgsl', 1099 1119 'wgt' => 'application/widget', 1100 1120 'wif' => 'application/watcherinfo+xml', … … 1151 1171 'xenc' => 'application/xenc+xml', 1152 1172 'xer' => 'application/patch-ops-error+xml', 1153 'xfdf' => 'application/ vnd.adobe.xfdf',1173 'xfdf' => 'application/xfdf', 1154 1174 'xfdl' => 'application/vnd.xfdl', 1155 1175 'xht' => 'application/xhtml+xml', 1176 'xhtm' => 'application/vnd.pwg-xhtml-print+xml', 1156 1177 'xhtml' => 'application/xhtml+xml', 1157 1178 'xhvml' => 'application/xv+xml', … … 1184 1205 'xpx' => 'application/vnd.intercon.formnet', 1185 1206 'xsd' => 'application/xml', 1207 'xsf' => 'application/prs.xsf+xml', 1186 1208 'xsl' => 'application/xml', 1187 1209 'xslt' => 'application/xslt+xml', … … 1219 1241 * Determines the mimetype of a file by looking at its extension. 1220 1242 * 1221 * @ linkhttps://raw.githubusercontent.com/jshttp/mime-db/master/db.json1243 * @see https://raw.githubusercontent.com/jshttp/mime-db/master/db.json 1222 1244 */ 1223 1245 public static function fromFilename(string $filename): ?string … … 1229 1251 * Maps a file extensions to a mimetype. 1230 1252 * 1231 * @ linkhttps://raw.githubusercontent.com/jshttp/mime-db/master/db.json1253 * @see https://raw.githubusercontent.com/jshttp/mime-db/master/db.json 1232 1254 */ 1233 1255 public static function fromExtension(string $extension): ?string -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MultipartStream.php
r2922480 r3427539 52 52 * Get the headers needed before transferring the content of a POST file 53 53 * 54 * @param array<string, string>$headers54 * @param string[] $headers 55 55 */ 56 56 private function getHeaders(array $headers): string … … 61 61 } 62 62 63 return "--{$this->boundary}\r\n" . trim($str) ."\r\n\r\n";63 return "--{$this->boundary}\r\n".trim($str)."\r\n\r\n"; 64 64 } 65 65 … … 73 73 foreach ($elements as $element) { 74 74 if (!is_array($element)) { 75 throw new \UnexpectedValueException( "An array is expected");75 throw new \UnexpectedValueException('An array is expected'); 76 76 } 77 77 $this->addElement($stream, $element); … … 113 113 } 114 114 115 /** 116 * @param string[] $headers 117 * 118 * @return array{0: StreamInterface, 1: string[]} 119 */ 115 120 private function createElement(string $name, StreamInterface $stream, ?string $filename, array $headers): array 116 121 { 117 122 // Set a default content-disposition header if one was no provided 118 $disposition = $this->getHeader($headers, 'content-disposition');123 $disposition = self::getHeader($headers, 'content-disposition'); 119 124 if (!$disposition) { 120 125 $headers['Content-Disposition'] = ($filename === '0' || $filename) … … 128 133 129 134 // Set a default content-length header if one was no provided 130 $length = $this->getHeader($headers, 'content-length');135 $length = self::getHeader($headers, 'content-length'); 131 136 if (!$length) { 132 137 if ($length = $stream->getSize()) { … … 136 141 137 142 // Set a default Content-Type if one was not supplied 138 $type = $this->getHeader($headers, 'content-type');143 $type = self::getHeader($headers, 'content-type'); 139 144 if (!$type && ($filename === '0' || $filename)) { 140 if ($type = MimeType::fromFilename($filename)) { 141 $headers['Content-Type'] = $type; 142 } 145 $headers['Content-Type'] = MimeType::fromFilename($filename) ?? 'application/octet-stream'; 143 146 } 144 147 … … 146 149 } 147 150 148 private function getHeader(array $headers, string $key) 151 /** 152 * @param string[] $headers 153 */ 154 private static function getHeader(array $headers, string $key): ?string 149 155 { 150 156 $lowercaseHeader = strtolower($key); 151 157 foreach ($headers as $k => $v) { 152 if (strtolower( $k) === $lowercaseHeader) {158 if (strtolower((string) $k) === $lowercaseHeader) { 153 159 return $v; 154 160 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/PumpStream.php
r2922480 r3427539 19 19 final class PumpStream implements StreamInterface 20 20 { 21 /** @var callable |null */21 /** @var callable(int): (string|false|null)|null */ 22 22 private $source; 23 23 … … 35 35 36 36 /** 37 * @param callable(int): (string| null|false) $source Source of the stream data. The callable MAY37 * @param callable(int): (string|false|null) $source Source of the stream data. The callable MAY 38 38 * accept an integer argument used to control the 39 39 * amount of data to return. The callable MUST … … 61 61 } 62 62 trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); 63 63 64 return ''; 64 65 } … … 150 151 151 152 /** 152 * {@inheritdoc}153 *154 153 * @return mixed 155 154 */ … … 165 164 private function pump(int $length): void 166 165 { 167 if ($this->source ) {166 if ($this->source !== null) { 168 167 do { 169 $data = call_user_func($this->source,$length);168 $data = ($this->source)($length); 170 169 if ($data === false || $data === null) { 171 170 $this->source = null; 171 172 172 return; 173 173 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Query.php
r2922480 r3427539 94 94 $v = is_bool($v) ? (int) $v : $v; 95 95 if ($v !== null) { 96 $qs .= '=' .$encoder((string) $v);96 $qs .= '='.$encoder((string) $v); 97 97 } 98 98 $qs .= '&'; … … 102 102 $vv = is_bool($vv) ? (int) $vv : $vv; 103 103 if ($vv !== null) { 104 $qs .= '=' .$encoder((string) $vv);104 $qs .= '='.$encoder((string) $vv); 105 105 } 106 106 $qs .= '&'; -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Request.php
r2922480 r3427539 29 29 * @param string $method HTTP method 30 30 * @param string|UriInterface $uri URI 31 * @param array<string, string|string[]>$headers Request headers31 * @param (string|string[])[] $headers Request headers 32 32 * @param string|resource|StreamInterface|null $body Request body 33 33 * @param string $version Protocol version … … 70 70 } 71 71 if ($this->uri->getQuery() != '') { 72 $target .= '?' .$this->uri->getQuery();72 $target .= '?'.$this->uri->getQuery(); 73 73 } 74 74 … … 86 86 $new = clone $this; 87 87 $new->requestTarget = $requestTarget; 88 88 89 return $new; 89 90 } … … 99 100 $new = clone $this; 100 101 $new->method = strtoupper($method); 102 101 103 return $new; 102 104 } … … 132 134 133 135 if (($port = $this->uri->getPort()) !== null) { 134 $host .= ':' .$port;136 $host .= ':'.$port; 135 137 } 136 138 … … 142 144 } 143 145 // Ensure Host is the first header. 144 // See: http ://tools.ietf.org/html/rfc7230#section-5.4146 // See: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4 145 147 $this->headers = [$header => [$host]] + $this->headers; 146 148 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Response.php
r2922480 r3427539 87 87 /** 88 88 * @param int $status Status code 89 * @param array<string, string|string[]>$headers Response headers89 * @param (string|string[])[] $headers Response headers 90 90 * @param string|resource|StreamInterface|null $body Response body 91 91 * @param string $version Protocol version … … 139 139 } 140 140 $new->reasonPhrase = (string) $reasonPhrase; 141 141 142 return $new; 142 143 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Rfc7230.php
r2922480 r3427539 15 15 * Note: header delimiter (\r\n) is modified to \r?\n to accept line feed only delimiters for BC reasons. 16 16 * 17 * @ linkhttps://github.com/amphp/http/blob/v1.0.1/src/Rfc7230.php#L12-L1517 * @see https://github.com/amphp/http/blob/v1.0.1/src/Rfc7230.php#L12-L15 18 18 * 19 19 * @license https://github.com/amphp/http/blob/v1.0.1/LICENSE -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/ServerRequest.php
r2922480 r3427539 60 60 * @param string $method HTTP method 61 61 * @param string|UriInterface $uri URI 62 * @param array<string, string|string[]>$headers Request headers62 * @param (string|string[])[] $headers Request headers 63 63 * @param string|resource|StreamInterface|null $body Request body 64 64 * @param string $version Protocol version … … 145 145 $spec = [ 146 146 'tmp_name' => $files['tmp_name'][$key], 147 'size' => $files['size'][$key] ?? null,148 'error' => $files['error'][$key] ?? null,149 'name' => $files['name'][$key] ?? null,150 'type' => $files['type'][$key] ?? null,147 'size' => $files['size'][$key] ?? null, 148 'error' => $files['error'][$key] ?? null, 149 'name' => $files['name'][$key] ?? null, 150 'type' => $files['type'][$key] ?? null, 151 151 ]; 152 152 $normalizedFiles[$key] = self::createUploadedFileFromSpec($spec); … … 183 183 private static function extractHostAndPortFromAuthority(string $authority): array 184 184 { 185 $uri = 'http://' .$authority;185 $uri = 'http://'.$authority; 186 186 $parts = parse_url($uri); 187 187 if (false === $parts) { … … 287 287 288 288 /** 289 * {@inheritdoc}290 *291 289 * @return array|object|null 292 290 */ … … 310 308 311 309 /** 312 * {@inheritdoc}313 *314 310 * @return mixed 315 311 */ -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Stream.php
r2922480 r3427539 13 13 { 14 14 /** 15 * @see http ://php.net/manual/function.fopen.php16 * @see http ://php.net/manual/en/function.gzopen.php15 * @see https://www.php.net/manual/en/function.fopen.php 16 * @see https://www.php.net/manual/en/function.gzopen.php 17 17 */ 18 18 private const READABLE_MODES = '/r|a\+|ab\+|w\+|wb\+|x\+|xb\+|c\+|cb\+/'; … … 62 62 $meta = stream_get_meta_data($this->stream); 63 63 $this->seekable = $meta['seekable']; 64 $this->readable = (bool) preg_match(self::READABLE_MODES, $meta['mode']);65 $this->writable = (bool) preg_match(self::WRITABLE_MODES, $meta['mode']);64 $this->readable = (bool) preg_match(self::READABLE_MODES, $meta['mode']); 65 $this->writable = (bool) preg_match(self::WRITABLE_MODES, $meta['mode']); 66 66 $this->uri = $this->getMetadata('uri'); 67 67 } … … 81 81 $this->seek(0); 82 82 } 83 83 84 return $this->getContents(); 84 85 } catch (\Throwable $e) { … … 87 88 } 88 89 trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); 90 89 91 return ''; 90 92 } … … 146 148 if (is_array($stats) && isset($stats['size'])) { 147 149 $this->size = $stats['size']; 150 148 151 return $this->size; 149 152 } … … 208 211 if (fseek($this->stream, $offset, $whence) === -1) { 209 212 throw new \RuntimeException('Unable to seek to stream position ' 210 . $offset . ' with whence ' .var_export($whence, true));213 .$offset.' with whence '.var_export($whence, true)); 211 214 } 212 215 } … … 262 265 263 266 /** 264 * {@inheritdoc}265 *266 267 * @return mixed 267 268 */ -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/StreamDecoratorTrait.php
r2922480 r3427539 32 32 if ($name === 'stream') { 33 33 $this->stream = $this->createStream(); 34 34 35 return $this->stream; 35 36 } … … 44 45 $this->seek(0); 45 46 } 47 46 48 return $this->getContents(); 47 49 } catch (\Throwable $e) { … … 50 52 } 51 53 trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); 54 52 55 return ''; 53 56 } … … 68 71 /** @var callable $callable */ 69 72 $callable = [$this->stream, $method]; 70 $result = call_user_func_array($callable,$args);73 $result = ($callable)(...$args); 71 74 72 75 // Always return the wrapped object if the result is a return $this … … 80 83 81 84 /** 82 * {@inheritdoc}83 *84 85 * @return mixed 85 86 */ -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/StreamWrapper.php
r2922480 r3427539 42 42 } else { 43 43 throw new \InvalidArgumentException('The stream must be readable, ' 44 . 'writable, or both.');44 .'writable, or both.'); 45 45 } 46 46 … … 56 56 { 57 57 return stream_context_create([ 58 'guzzle' => ['stream' => $stream] 58 'guzzle' => ['stream' => $stream], 59 59 ]); 60 60 } … … 116 116 public function stream_cast(int $cast_as) 117 117 { 118 $stream = clone ($this->stream);118 $stream = clone $this->stream; 119 119 $resource = $stream->detach(); 120 120 … … 123 123 124 124 /** 125 * @return array<int|string, int> 125 * @return array{ 126 * dev: int, 127 * ino: int, 128 * mode: int, 129 * nlink: int, 130 * uid: int, 131 * gid: int, 132 * rdev: int, 133 * size: int, 134 * atime: int, 135 * mtime: int, 136 * ctime: int, 137 * blksize: int, 138 * blocks: int 139 * } 126 140 */ 127 141 public function stream_stat(): array 128 142 { 129 143 static $modeMap = [ 130 'r' => 33060,144 'r' => 33060, 131 145 'rb' => 33060, 132 146 'r+' => 33206, 133 'w' => 33188,134 'wb' => 33188 147 'w' => 33188, 148 'wb' => 33188, 135 149 ]; 136 150 137 151 return [ 138 'dev' => 0,139 'ino' => 0,140 'mode' => $modeMap[$this->mode],141 'nlink' => 0,142 'uid' => 0,143 'gid' => 0,144 'rdev' => 0,145 'size' => $this->stream->getSize() ?: 0,146 'atime' => 0,147 'mtime' => 0,148 'ctime' => 0,152 'dev' => 0, 153 'ino' => 0, 154 'mode' => $modeMap[$this->mode], 155 'nlink' => 0, 156 'uid' => 0, 157 'gid' => 0, 158 'rdev' => 0, 159 'size' => $this->stream->getSize() ?: 0, 160 'atime' => 0, 161 'mtime' => 0, 162 'ctime' => 0, 149 163 'blksize' => 0, 150 'blocks' => 0164 'blocks' => 0, 151 165 ]; 152 166 } 153 167 154 168 /** 155 * @return array<int|string, int> 169 * @return array{ 170 * dev: int, 171 * ino: int, 172 * mode: int, 173 * nlink: int, 174 * uid: int, 175 * gid: int, 176 * rdev: int, 177 * size: int, 178 * atime: int, 179 * mtime: int, 180 * ctime: int, 181 * blksize: int, 182 * blocks: int 183 * } 156 184 */ 157 185 public function url_stat(string $path, int $flags): array 158 186 { 159 187 return [ 160 'dev' => 0,161 'ino' => 0,162 'mode' => 0,163 'nlink' => 0,164 'uid' => 0,165 'gid' => 0,166 'rdev' => 0,167 'size' => 0,168 'atime' => 0,169 'mtime' => 0,170 'ctime' => 0,188 'dev' => 0, 189 'ino' => 0, 190 'mode' => 0, 191 'nlink' => 0, 192 'uid' => 0, 193 'gid' => 0, 194 'rdev' => 0, 195 'size' => 0, 196 'atime' => 0, 197 'mtime' => 0, 198 'ctime' => 0, 171 199 'blksize' => 0, 172 'blocks' => 0200 'blocks' => 0, 173 201 ]; 174 202 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UploadedFile.php
r2922480 r3427539 114 114 } 115 115 116 private function isStringNotEmpty($param): bool116 private static function isStringNotEmpty($param): bool 117 117 { 118 118 return is_string($param) && false === empty($param); … … 164 164 $this->validateActive(); 165 165 166 if (false === $this->isStringNotEmpty($targetPath)) {166 if (false === self::isStringNotEmpty($targetPath)) { 167 167 throw new InvalidArgumentException( 168 168 'Invalid path provided for move operation; must be a non-empty string' -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Uri.php
r2922480 r3427539 26 26 27 27 private const DEFAULT_PORTS = [ 28 'http' => 80,28 'http' => 80, 29 29 'https' => 443, 30 30 'ftp' => 21, … … 42 42 * Unreserved characters for use in a regex. 43 43 * 44 * @ link https://tools.ietf.org/html/rfc3986#section-2.344 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.3 45 45 */ 46 46 private const CHAR_UNRESERVED = 'a-zA-Z0-9_\-\.~'; … … 49 49 * Sub-delims for use in a regex. 50 50 * 51 * @ link https://tools.ietf.org/html/rfc3986#section-2.251 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.2 52 52 */ 53 53 private const CHAR_SUB_DELIMS = '!\$&\'\(\)\*\+,;='; … … 88 88 } 89 89 } 90 90 91 /** 91 92 * UTF-8 aware \parse_url() replacement. … … 122 123 ); 123 124 124 $result = parse_url($prefix .$encodedUrl);125 $result = parse_url($prefix.$encodedUrl); 125 126 126 127 if ($result === false) { … … 162 163 * that format). 163 164 * 164 * @ link https://tools.ietf.org/html/rfc3986#section-5.3165 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.3 165 166 */ 166 167 public static function composeComponents(?string $scheme, ?string $authority, string $path, ?string $query, ?string $fragment): string … … 170 171 // weak type checks to also accept null until we can add scalar type hints 171 172 if ($scheme != '') { 172 $uri .= $scheme .':';173 $uri .= $scheme.':'; 173 174 } 174 175 175 176 if ($authority != '' || $scheme === 'file') { 176 $uri .= '//' .$authority;177 $uri .= '//'.$authority; 177 178 } 178 179 179 180 if ($authority != '' && $path != '' && $path[0] != '/') { 180 $path = '/' .$path;181 $path = '/'.$path; 181 182 } 182 183 … … 184 185 185 186 if ($query != '') { 186 $uri .= '?' .$query;187 $uri .= '?'.$query; 187 188 } 188 189 189 190 if ($fragment != '') { 190 $uri .= '#' .$fragment;191 $uri .= '#'.$fragment; 191 192 } 192 193 … … 219 220 * @see Uri::isAbsolutePathReference 220 221 * @see Uri::isRelativePathReference 221 * @ link https://tools.ietf.org/html/rfc3986#section-4222 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4 222 223 */ 223 224 public static function isAbsolute(UriInterface $uri): bool … … 231 232 * A relative reference that begins with two slash characters is termed an network-path reference. 232 233 * 233 * @ link https://tools.ietf.org/html/rfc3986#section-4.2234 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 234 235 */ 235 236 public static function isNetworkPathReference(UriInterface $uri): bool … … 243 244 * A relative reference that begins with a single slash character is termed an absolute-path reference. 244 245 * 245 * @ link https://tools.ietf.org/html/rfc3986#section-4.2246 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 246 247 */ 247 248 public static function isAbsolutePathReference(UriInterface $uri): bool … … 258 259 * A relative reference that does not begin with a slash character is termed a relative-path reference. 259 260 * 260 * @ link https://tools.ietf.org/html/rfc3986#section-4.2261 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2 261 262 */ 262 263 public static function isRelativePathReference(UriInterface $uri): bool … … 277 278 * @param UriInterface|null $base An optional base URI to compare against 278 279 * 279 * @ link https://tools.ietf.org/html/rfc3986#section-4.4280 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.4 280 281 */ 281 282 public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool … … 336 337 * It has the same behavior as withQueryValue() but for an associative array of key => value. 337 338 * 338 * @param UriInterface $uri URI to use as a base.339 * @param array<string, string|null>$keyValueArray Associative array of key and values339 * @param UriInterface $uri URI to use as a base. 340 * @param (string|null)[] $keyValueArray Associative array of key and values 340 341 */ 341 342 public static function withQueryValues(UriInterface $uri, array $keyValueArray): UriInterface … … 353 354 * Creates a URI from a hash of `parse_url` components. 354 355 * 355 * @ link http://php.net/manual/en/function.parse-url.php356 * @see https://www.php.net/manual/en/function.parse-url.php 356 357 * 357 358 * @throws MalformedUriException If the components do not form a valid URI. … … 375 376 $authority = $this->host; 376 377 if ($this->userInfo !== '') { 377 $authority = $this->userInfo . '@' .$authority;378 $authority = $this->userInfo.'@'.$authority; 378 379 } 379 380 380 381 if ($this->port !== null) { 381 $authority .= ':' .$this->port;382 $authority .= ':'.$this->port; 382 383 } 383 384 … … 436 437 $info = $this->filterUserInfoComponent($user); 437 438 if ($password !== null) { 438 $info .= ':' .$this->filterUserInfoComponent($password);439 $info .= ':'.$this->filterUserInfoComponent($password); 439 440 } 440 441 … … 564 565 : ''; 565 566 if (isset($parts['pass'])) { 566 $this->userInfo .= ':' .$this->filterUserInfoComponent($parts['pass']);567 $this->userInfo .= ':'.$this->filterUserInfoComponent($parts['pass']); 567 568 } 568 569 … … 596 597 597 598 return preg_replace_callback( 598 '/(?:[^%' . self::CHAR_UNRESERVED . self::CHAR_SUB_DELIMS .']+|%(?![A-Fa-f0-9]{2}))/',599 '/(?:[^%'.self::CHAR_UNRESERVED.self::CHAR_SUB_DELIMS.']+|%(?![A-Fa-f0-9]{2}))/', 599 600 [$this, 'rawurlencodeMatchZero'], 600 601 $component … … 628 629 629 630 $port = (int) $port; 630 if (0 > $port || 0x ffff< $port) {631 if (0 > $port || 0xFFFF < $port) { 631 632 throw new \InvalidArgumentException( 632 633 sprintf('Invalid port: %d. Must be between 0 and 65535', $port) … … 638 639 639 640 /** 640 * @param string[] $keys641 * @param (string|int)[] $keys 641 642 * 642 643 * @return string[] … … 650 651 } 651 652 652 $decodedKeys = array_map('rawurldecode', $keys); 653 $decodedKeys = array_map(function ($k): string { 654 return rawurldecode((string) $k); 655 }, $keys); 653 656 654 657 return array_filter(explode('&', $current), function ($part) use ($decodedKeys) { … … 665 668 666 669 if ($value !== null) { 667 $queryString .= '=' .strtr($value, self::QUERY_SEPARATORS_REPLACEMENT);670 $queryString .= '='.strtr($value, self::QUERY_SEPARATORS_REPLACEMENT); 668 671 } 669 672 … … 692 695 693 696 return preg_replace_callback( 694 '/(?:[^' . self::CHAR_UNRESERVED . self::CHAR_SUB_DELIMS .'%:@\/]++|%(?![A-Fa-f0-9]{2}))/',697 '/(?:[^'.self::CHAR_UNRESERVED.self::CHAR_SUB_DELIMS.'%:@\/]++|%(?![A-Fa-f0-9]{2}))/', 695 698 [$this, 'rawurlencodeMatchZero'], 696 699 $path … … 712 715 713 716 return preg_replace_callback( 714 '/(?:[^' . self::CHAR_UNRESERVED . self::CHAR_SUB_DELIMS .'%:@\/\?]++|%(?![A-Fa-f0-9]{2}))/',717 '/(?:[^'.self::CHAR_UNRESERVED.self::CHAR_SUB_DELIMS.'%:@\/\?]++|%(?![A-Fa-f0-9]{2}))/', 715 718 [$this, 'rawurlencodeMatchZero'], 716 719 $str -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UriNormalizer.php
r2922480 r3427539 12 12 * @author Tobias Schultze 13 13 * 14 * @ link https://tools.ietf.org/html/rfc3986#section-614 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6 15 15 */ 16 16 final class UriNormalizer … … 120 120 * @param int $flags A bitmask of normalizations to apply, see constants 121 121 * 122 * @ link https://tools.ietf.org/html/rfc3986#section-6.2122 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6.2 123 123 */ 124 124 public static function normalize(UriInterface $uri, int $flags = self::PRESERVING_NORMALIZATIONS): UriInterface … … 132 132 } 133 133 134 if ($flags & self::CONVERT_EMPTY_PATH && $uri->getPath() === '' &&135 ($uri->getScheme() === 'http' || $uri->getScheme() === 'https')134 if ($flags & self::CONVERT_EMPTY_PATH && $uri->getPath() === '' 135 && ($uri->getScheme() === 'http' || $uri->getScheme() === 'https') 136 136 ) { 137 137 $uri = $uri->withPath('/'); … … 175 175 * @param int $normalizations A bitmask of normalizations to apply, see constants 176 176 * 177 * @ link https://tools.ietf.org/html/rfc3986#section-6.1177 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6.1 178 178 */ 179 179 public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, int $normalizations = self::PRESERVING_NORMALIZATIONS): bool … … 186 186 $regex = '/(?:%[A-Fa-f0-9]{2})++/'; 187 187 188 $callback = function (array $match) {188 $callback = function (array $match): string { 189 189 return strtoupper($match[0]); 190 190 }; … … 202 202 $regex = '/%(?:2D|2E|5F|7E|3[0-9]|[46][1-9A-F]|[57][0-9A])/i'; 203 203 204 $callback = function (array $match) {204 $callback = function (array $match): string { 205 205 return rawurldecode($match[0]); 206 206 }; -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UriResolver.php
r2922480 r3427539 12 12 * @author Tobias Schultze 13 13 * 14 * @ link https://tools.ietf.org/html/rfc3986#section-514 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5 15 15 */ 16 16 final class UriResolver … … 19 19 * Removes dot segments from a path and returns the new path. 20 20 * 21 * @ link http://tools.ietf.org/html/rfc3986#section-5.2.421 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4 22 22 */ 23 23 public static function removeDotSegments(string $path): string … … 41 41 if ($path[0] === '/' && (!isset($newPath[0]) || $newPath[0] !== '/')) { 42 42 // Re-add the leading slash if necessary for cases like "/.." 43 $newPath = '/' .$newPath;43 $newPath = '/'.$newPath; 44 44 } elseif ($newPath !== '' && ($segment === '.' || $segment === '..')) { 45 45 // Add the trailing slash if necessary … … 54 54 * Converts the relative URI into a new URI that is resolved against the base URI. 55 55 * 56 * @ link http://tools.ietf.org/html/rfc3986#section-5.256 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.2 57 57 */ 58 58 public static function resolve(UriInterface $base, UriInterface $rel): UriInterface … … 81 81 } else { 82 82 if ($targetAuthority != '' && $base->getPath() === '') { 83 $targetPath = '/' .$rel->getPath();83 $targetPath = '/'.$rel->getPath(); 84 84 } else { 85 85 $lastSlashPos = strrpos($base->getPath(), '/'); … … 87 87 $targetPath = $rel->getPath(); 88 88 } else { 89 $targetPath = substr($base->getPath(), 0, $lastSlashPos + 1) .$rel->getPath();89 $targetPath = substr($base->getPath(), 0, $lastSlashPos + 1).$rel->getPath(); 90 90 } 91 91 } … … 128 128 public static function relativize(UriInterface $base, UriInterface $target): UriInterface 129 129 { 130 if ($target->getScheme() !== '' &&131 ($base->getScheme() !== $target->getScheme() || $target->getAuthority() === '' && $base->getAuthority() !== '')130 if ($target->getScheme() !== '' 131 && ($base->getScheme() !== $target->getScheme() || $target->getAuthority() === '' && $base->getAuthority() !== '') 132 132 ) { 133 133 return $target; … … 186 186 } 187 187 $targetSegments[] = $targetLastSegment; 188 $relativePath = str_repeat('../', count($sourceSegments)) .implode('/', $targetSegments);188 $relativePath = str_repeat('../', count($sourceSegments)).implode('/', $targetSegments); 189 189 190 190 // A reference to am empty last segment or an empty first sub-segment must be prefixed with "./". -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Utils.php
r2922480 r3427539 15 15 * Remove the items given by the keys, case insensitively from the data. 16 16 * 17 * @param string[] $keys17 * @param (string|int)[] $keys 18 18 */ 19 19 public static function caselessRemove(array $keys, array $data): array … … 22 22 23 23 foreach ($keys as &$key) { 24 $key = strtolower( $key);24 $key = strtolower((string) $key); 25 25 } 26 26 27 27 foreach ($data as $k => $v) { 28 if (!i s_string($k) || !in_array(strtolower($k), $keys)) {28 if (!in_array(strtolower((string) $k), $keys)) { 29 29 $result[$k] = $v; 30 30 } … … 91 91 $buffer .= $buf; 92 92 } 93 93 94 return $buffer; 94 95 } … … 175 176 $scheme = $changes['uri']->getScheme(); 176 177 if (isset($standardPorts[$scheme]) && $port != $standardPorts[$scheme]) { 177 $changes['set_headers']['Host'] .= ':' .$port;178 $changes['set_headers']['Host'] .= ':'.$port; 178 179 } 179 180 } … … 231 232 * @param int|null $maxLength Maximum buffer length 232 233 */ 233 public static function readLine(StreamInterface $stream, ?int $maxLength = null): string234 public static function readLine(StreamInterface $stream, int $maxLength = null): string 234 235 { 235 236 $buffer = ''; … … 292 293 fseek($stream, 0); 293 294 } 295 294 296 return new Stream($stream, $options); 295 297 } … … 309 311 $resource = $stream; 310 312 } 313 311 314 return new Stream($resource, $options); 312 315 case 'object': … … 321 324 $result = $resource->current(); 322 325 $resource->next(); 326 323 327 return $result; 324 328 }, $options); … … 335 339 } 336 340 337 throw new \InvalidArgumentException('Invalid resource type: ' .gettype($resource));341 throw new \InvalidArgumentException('Invalid resource type: '.gettype($resource)); 338 342 } 339 343 -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/RedirectMiddleware.php
r2922480 r3427539 167 167 // would do. 168 168 $statusCode = $response->getStatusCode(); 169 if ($statusCode == 303 ||170 ($statusCode <= 302 && !$options['allow_redirects']['strict'])169 if ($statusCode == 303 170 || ($statusCode <= 302 && !$options['allow_redirects']['strict']) 171 171 ) { 172 172 $safeMethods = ['GET', 'HEAD', 'OPTIONS']; -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/RequestOptions.php
r2922480 r3427539 6 6 * This class contains a list of built-in Guzzle request options. 7 7 * 8 * More documentation for each option can be found at http://guzzlephp.org/. 9 * 10 * @see http://docs.guzzlephp.org/en/v6/request-options.html 8 * @see https://docs.guzzlephp.org/en/latest/request-options.html 11 9 */ 12 10 final class RequestOptions -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/TransferStats.php
r2922480 r3427539 47 47 public function __construct( 48 48 RequestInterface $request, 49 ?ResponseInterface $response = null,50 ?float $transferTime = null,49 ResponseInterface $response = null, 50 float $transferTime = null, 51 51 $handlerErrorData = null, 52 52 array $handlerStats = [] -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Utils.php
r2922480 r3427539 177 177 CA bundle by default. In order to verify peer certificates, you will need to 178 178 supply the path on disk to a certificate bundle to the 'verify' request 179 option: http://docs.guzzlephp.org/en/latest/clients.html#verify. If you do not 180 need a specific certificate bundle, then Mozilla provides a commonly used CA 181 bundle which can be downloaded here (provided by the maintainer of cURL): 182 https://curl.haxx.se/ca/cacert.pem. Once 183 you have a CA bundle available on disk, you can set the 'openssl.cafile' PHP 184 ini setting to point to the path to the file, allowing you to omit the 'verify' 185 request option. See https://curl.haxx.se/docs/sslcerts.html for more 186 information. 179 option: https://docs.guzzlephp.org/en/latest/request-options.html#verify. If 180 you do not need a specific certificate bundle, then Mozilla provides a commonly 181 used CA bundle which can be downloaded here (provided by the maintainer of 182 cURL): https://curl.haxx.se/ca/cacert.pem. Once you have a CA bundle available 183 on disk, you can set the 'openssl.cafile' PHP ini setting to point to the path 184 to the file, allowing you to omit the 'verify' request option. See 185 https://curl.haxx.se/docs/sslcerts.html for more information. 187 186 EOT 188 187 ); -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/LICENSE
r2872617 r3427539 1 Copyright (c) 2019 Fabien Potencier1 Copyright (c) 2019-present Fabien Potencier 2 2 3 3 Permission is hereby granted, free of charge, to any person obtaining a copy -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/composer.json
r2872617 r3427539 29 29 "minimum-stability": "dev", 30 30 "extra": { 31 "branch-alias": {32 "dev-main": "1.27-dev"33 },34 31 "thanks": { 35 32 "name": "symfony/polyfill", -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/LICENSE
r2872617 r3427539 1 Copyright (c) 2020 Fabien Potencier1 Copyright (c) 2020-present Fabien Potencier 2 2 3 3 Permission is hereby granted, free of charge, to any person obtaining a copy -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/composer.json
r2872617 r3427539 30 30 "minimum-stability": "dev", 31 31 "extra": { 32 "branch-alias": {33 "dev-main": "1.27-dev"34 },35 32 "thanks": { 36 33 "name": "symfony/polyfill", -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/LICENSE
r2872617 r3427539 1 Copyright (c) 2021 Fabien Potencier1 Copyright (c) 2021-present Fabien Potencier 2 2 3 3 Permission is hereby granted, free of charge, to any person obtaining a copy -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/README.md
r2872617 r3427539 8 8 - [`MYSQLI_REFRESH_REPLICA`](https://php.net/mysqli.constants#constantmysqli-refresh-replica) constant 9 9 - [`ReturnTypeWillChange`](https://wiki.php.net/rfc/internal_method_return_types) 10 - [`CURLStringFile`](https://php.net/CURLStringFile) (but only if PHP >= 7.4 is used) 10 11 11 12 More information can be found in the -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/composer.json
r2872617 r3427539 26 26 "minimum-stability": "dev", 27 27 "extra": { 28 "branch-alias": {29 "dev-main": "1.27-dev"30 },31 28 "thanks": { 32 29 "name": "symfony/polyfill", -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/LICENSE
r2872617 r3427539 1 Copyright (c) 2022 Fabien Potencier1 Copyright (c) 2022-present Fabien Potencier 2 2 3 3 Permission is hereby granted, free of charge, to any person obtaining a copy -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/README.md
r2872617 r3427539 10 10 - [`Random\Engine\CryptoSafeEngine`](https://wiki.php.net/rfc/rng_extension) 11 11 - [`Random\Engine\Secure`](https://wiki.php.net/rfc/rng_extension) (check [arokettu/random-polyfill](https://packagist.org/packages/arokettu/random-polyfill) for more engines) 12 - [`odbc_connection_string_is_quoted()`](https://php.net/odbc_connection_string_is_quoted) 13 - [`odbc_connection_string_should_quote()`](https://php.net/odbc_connection_string_should_quote) 14 - [`odbc_connection_string_quote()`](https://php.net/odbc_connection_string_quote) 15 - [`ini_parse_quantity()`](https://php.net/ini_parse_quantity) 12 16 13 17 More information can be found in the -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/bootstrap.php
r2872617 r3427539 10 10 */ 11 11 12 use RichardMuvirimi\WooCustomGateway\Vendor\Symfony\Polyfill\Php82 as p; 13 12 14 if (\PHP_VERSION_ID >= 80200) { 13 15 return; 14 16 } 17 18 if (extension_loaded('odbc')) { 19 if (!function_exists('odbc_connection_string_is_quoted')) { 20 function odbc_connection_string_is_quoted(string $str): bool { return p\Php82::odbc_connection_string_is_quoted($str); } 21 } 22 23 if (!function_exists('odbc_connection_string_should_quote')) { 24 function odbc_connection_string_should_quote(string $str): bool { return p\Php82::odbc_connection_string_should_quote($str); } 25 } 26 27 if (!function_exists('odbc_connection_string_quote')) { 28 function odbc_connection_string_quote(string $str): string { return p\Php82::odbc_connection_string_quote($str); } 29 } 30 } 31 32 if (!function_exists('ini_parse_quantity')) { 33 function ini_parse_quantity(string $shorthand): int { return p\Php82::ini_parse_quantity($shorthand); } 34 } -
woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/composer.json
r2872617 r3427539 26 26 "minimum-stability": "dev", 27 27 "extra": { 28 "branch-alias": {29 "dev-main": "1.27-dev"30 },31 28 "thanks": { 32 29 "name": "symfony/polyfill", -
woo-custom-gateway/trunk/woo-custom-gateway.php
r2924446 r3427539 8 8 * Plugin URI: https://github.com/richard-muvirimi/wp-plugin-woo-custom-gateway 9 9 * Description: Add multiple custom payment gateways to WooCommerce e-commerce plugin. 10 * Version: 1.6. 110 * Version: 1.6.2 11 11 * Author: Richard Muvirimi 12 12 * Author URI: https://richard.co.zw … … 16 16 * Domain Path: /languages 17 17 * WC requires at least: 3.0.0 18 * WC tested up to: 7. 718 * WC tested up to: 7.8 19 19 * 20 20 * @package WooCustomGateway … … 47 47 * Plugin version number 48 48 */ 49 const WOO_CUSTOM_GATEWAY_VERSION = '1.6. 1';49 const WOO_CUSTOM_GATEWAY_VERSION = '1.6.2'; 50 50 51 51 /**
Note: See TracChangeset
for help on using the changeset viewer.