Plugin Directory

Changeset 3427539


Ignore:
Timestamp:
12/26/2025 05:44:54 AM (8 weeks ago)
Author:
tygalive
Message:

Release 1.6.2

Location:
woo-custom-gateway
Files:
349 added
67 edited

Legend:

Unmodified
Added
Removed
  • woo-custom-gateway/trunk/readme.md

    r3426472 r3427539  
    77- **_ Tested up to: _** 6.2
    88- **_ Requires PHP: _** 7.3
    9 - **_ WC tested up to: _** 7.7
    10 - **_ Stable tag: _** 1.6.1
     9- **_ WC tested up to: _** 7.8
     10- **_ Stable tag: _** 1.6.2
    1111- **_ License: _** GPLv2 or later
    1212- **_ License URI: _** [GPL-2.0](http://www.gnu.org/licenses/gpl-2.0.html)
     
    7777## Changelog
    7878
    79 **_ 1.6.1 _**
     79**_ 1.6.1 - 1.6.2 _**
    8080
    8181- Add support for High-Performance Order Storage.
     82- Minor Bug Fixes
    8283
    8384**_ 1.6.0 _**
  • woo-custom-gateway/trunk/readme.txt

    r3426472 r3427539  
    66Tested up to: 6.2
    77Requires PHP: 7.3
    8 WC tested up to: 7.7
    9 Stable tag: 1.6.1
     8WC tested up to: 7.8
     9Stable tag: 1.6.2
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6565
    6666== Changelog ==
    67 = 1.6.1 =
     67= 1.6.1 - 1.6.2 =
    6868* Add support for High-Performance Order Storage.
     69* Minor Bug Fixes
    6970
    7071= 1.6.0 =
  • woo-custom-gateway/trunk/src/Controller/Site.php

    r2924371 r3427539  
    5050        if ($gateway !== null) {
    5151
    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()));
    5353
    5454            if (in_array(Functions::prefix_order_status($order->get_status()), $email_statuses)){
  • woo-custom-gateway/trunk/tests/src/ControllerLoaderTest.php

    r2922480 r3427539  
    4242
    4343        // 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");
    4848
    4949        // 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");
    5252
    5353        // 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");
    5656    }
    5757
  • woo-custom-gateway/trunk/vendor/autoload.php

    r2924446 r3427539  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
    2320require_once __DIR__ . '/composer/autoload_real.php';
    2421
    25 return ComposerAutoloaderInit37c3cff7acb5415e9532dce37a70ff96::getLoader();
     22return ComposerAutoloaderInit37bc351e96686cf0cf7948f30c21524d::getLoader();
  • woo-custom-gateway/trunk/vendor/composer/InstalledVersions.php

    r2922480 r3427539  
    2828{
    2929    /**
     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    /**
    3036     * @var mixed[]|null
    3137     * @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
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        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;
    312341    }
    313342
     
    323352
    324353        $installed = array();
     354        $copiedLocalDir = false;
    325355
    326356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    327358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    328360                if (isset(self::$installedByVendor[$vendorDir])) {
    329361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331363                    /** @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 */
    332364                    $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;
    336370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    337374                }
    338375            }
     
    351388        }
    352389
    353         if (self::$installed !== array()) {
     390        if (self::$installed !== array() && !$copiedLocalDir) {
    354391            $installed[] = self::$installed;
    355392        }
  • woo-custom-gateway/trunk/vendor/composer/autoload_classmap.php

    r2872617 r3427539  
    1616    'WooCustomGateway_AllowDynamicProperties' => $vendorDir . '/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php',
    1717    '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',
    1819    'WooCustomGateway_ClientIP' => $vendorDir . '/woo-custom-gateway/classes/yidas/client-ip/src/ClientIP.php',
    1920    '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  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit37c3cff7acb5415e9532dce37a70ff96
     5class ComposerAutoloaderInit37bc351e96686cf0cf7948f30c21524d
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit37c3cff7acb5415e9532dce37a70ff96', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit37bc351e96686cf0cf7948f30c21524d', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit37c3cff7acb5415e9532dce37a70ff96', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit37bc351e96686cf0cf7948f30c21524d', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit37c3cff7acb5415e9532dce37a70ff96::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit37bc351e96686cf0cf7948f30c21524d::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • woo-custom-gateway/trunk/vendor/composer/autoload_static.php

    r2924446 r3427539  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit37c3cff7acb5415e9532dce37a70ff96
     7class ComposerStaticInit37bc351e96686cf0cf7948f30c21524d
    88{
    99    public static $prefixLengthsPsr4 = array (
    10         'R' => 
     10        'R' =>
    1111        array (
    1212            'RichardMuvirimi\\WooCustomGateway\\Vendor\\' => 40,
     
    1616
    1717    public static $prefixDirsPsr4 = array (
    18         'RichardMuvirimi\\WooCustomGateway\\Vendor\\' => 
     18        'RichardMuvirimi\\WooCustomGateway\\Vendor\\' =>
    1919        array (
    2020            0 => __DIR__ . '/..' . '/woo-custom-gateway/psr-4',
    2121        ),
    22         'RichardMuvirimi\\WooCustomGateway\\' => 
     22        'RichardMuvirimi\\WooCustomGateway\\' =>
    2323        array (
    2424            0 => __DIR__ . '/../..' . '/src',
     
    3636        'WooCustomGateway_AllowDynamicProperties' => __DIR__ . '/..' . '/woo-custom-gateway/classes/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php',
    3737        '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',
    3839        'WooCustomGateway_ClientIP' => __DIR__ . '/..' . '/woo-custom-gateway/classes/yidas/client-ip/src/ClientIP.php',
    3940        'WooCustomGateway_PhpToken' => __DIR__ . '/..' . '/woo-custom-gateway/classes/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
     
    4950    {
    5051        return \Closure::bind(function () use ($loader) {
    51             $loader->prefixLengthsPsr4 = ComposerStaticInit37c3cff7acb5415e9532dce37a70ff96::$prefixLengthsPsr4;
    52             $loader->prefixDirsPsr4 = ComposerStaticInit37c3cff7acb5415e9532dce37a70ff96::$prefixDirsPsr4;
    53             $loader->classMap = ComposerStaticInit37c3cff7acb5415e9532dce37a70ff96::$classMap;
     52            $loader->prefixLengthsPsr4 = ComposerStaticInit37bc351e96686cf0cf7948f30c21524d::$prefixLengthsPsr4;
     53            $loader->prefixDirsPsr4 = ComposerStaticInit37bc351e96686cf0cf7948f30c21524d::$prefixDirsPsr4;
     54            $loader->classMap = ComposerStaticInit37bc351e96686cf0cf7948f30c21524d::$classMap;
    5455
    5556        }, null, ClassLoader::class);
  • woo-custom-gateway/trunk/vendor/composer/installed.json

    r2922480 r3427539  
    33        {
    44            "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",
    77            "source": {
    88                "type": "git",
    99                "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",
    1616                "shasum": ""
    1717            },
     
    2626                "phpunit/phpunit": "^9.5"
    2727            },
    28             "time": "2023-03-20T20:12:12+00:00",
     28            "time": "2023-12-12T18:16:11+00:00",
    2929            "type": "library",
    3030            "installation-source": "dist",
     
    4747            "support": {
    4848                "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"
    5050            },
    5151            "install-path": "../br33f/php-ga4-mp"
     
    5353        {
    5454            "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",
    5757            "source": {
    5858                "type": "git",
    5959                "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",
    6666                "shasum": ""
    6767            },
    6868            "require": {
    6969                "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",
    7272                "php": "^7.2.5 || ^8.0",
    7373                "psr/http-client": "^1.0",
     
    7878            },
    7979            "require-dev": {
    80                 "bamarni/composer-bin-plugin": "^1.8.1",
     80                "bamarni/composer-bin-plugin": "^1.8.2",
    8181                "ext-curl": "*",
    8282                "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999",
    8383                "php-http/message-factory": "^1.1",
    84                 "phpunit/phpunit": "^8.5.29 || ^9.5.23",
     84                "phpunit/phpunit": "^8.5.36 || ^9.6.15",
    8585                "psr/log": "^1.1 || ^2.0 || ^3.0"
    8686            },
     
    9090                "psr/log": "Required for using the Log middleware"
    9191            },
    92             "time": "2023-05-21T14:04:53+00:00",
     92            "time": "2023-12-03T20:35:24+00:00",
    9393            "type": "library",
    9494            "extra": {
     
    162162            "support": {
    163163                "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"
    165165            },
    166166            "funding": [
     
    182182        {
    183183            "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",
    186186            "source": {
    187187                "type": "git",
    188188                "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",
    195195                "shasum": ""
    196196            },
     
    199199            },
    200200            "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",
    205205            "type": "library",
    206206            "extra": {
     
    248248            "support": {
    249249                "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"
    251251            },
    252252            "funding": [
     
    268268        {
    269269            "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",
    272272            "source": {
    273273                "type": "git",
    274274                "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",
    281281                "shasum": ""
    282282            },
     
    292292            },
    293293            "require-dev": {
    294                 "bamarni/composer-bin-plugin": "^1.8.1",
     294                "bamarni/composer-bin-plugin": "^1.8.2",
    295295                "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"
    297297            },
    298298            "suggest": {
    299299                "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
    300300            },
    301             "time": "2023-04-17T16:11:26+00:00",
     301            "time": "2023-12-03T20:05:35+00:00",
    302302            "type": "library",
    303303            "extra": {
     
    367367            "support": {
    368368                "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"
    370370            },
    371371            "funding": [
     
    387387        {
    388388            "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",
    391391            "source": {
    392392                "type": "git",
    393393                "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",
    400400                "shasum": ""
    401401            },
     
    404404                "psr/http-message": "^1.0 || ^2.0"
    405405            },
    406             "time": "2023-04-10T20:12:12+00:00",
     406            "time": "2023-09-23T14:17:50+00:00",
    407407            "type": "library",
    408408            "extra": {
     
    436436            ],
    437437            "support": {
    438                 "source": "https://github.com/php-fig/http-client/tree/1.0.2"
     438                "source": "https://github.com/php-fig/http-client"
    439439            },
    440440            "install-path": "../psr/http-client"
     
    673673        {
    674674            "name": "symfony/polyfill-php74",
    675             "version": "v1.27.0",
    676             "version_normalized": "1.27.0.0",
     675            "version": "v1.29.0",
     676            "version_normalized": "1.29.0.0",
    677677            "source": {
    678678                "type": "git",
    679679                "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",
    686686                "shasum": ""
    687687            },
     
    689689                "php": ">=7.1"
    690690            },
    691             "time": "2022-11-03T14:55:06+00:00",
     691            "time": "2024-01-29T20:11:03+00:00",
    692692            "type": "library",
    693693            "extra": {
    694                 "branch-alias": {
    695                     "dev-main": "1.27-dev"
    696                 },
    697694                "thanks": {
    698695                    "name": "symfony/polyfill",
     
    736733            ],
    737734            "support": {
    738                 "source": "https://github.com/symfony/polyfill-php74/tree/v1.27.0"
     735                "source": "https://github.com/symfony/polyfill-php74/tree/v1.29.0"
    739736            },
    740737            "funding": [
     
    756753        {
    757754            "name": "symfony/polyfill-php80",
    758             "version": "v1.27.0",
    759             "version_normalized": "1.27.0.0",
     755            "version": "v1.29.0",
     756            "version_normalized": "1.29.0.0",
    760757            "source": {
    761758                "type": "git",
    762759                "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",
    769766                "shasum": ""
    770767            },
     
    772769                "php": ">=7.1"
    773770            },
    774             "time": "2022-11-03T14:55:06+00:00",
     771            "time": "2024-01-29T20:11:03+00:00",
    775772            "type": "library",
    776773            "extra": {
    777                 "branch-alias": {
    778                     "dev-main": "1.27-dev"
    779                 },
    780774                "thanks": {
    781775                    "name": "symfony/polyfill",
     
    822816            ],
    823817            "support": {
    824                 "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0"
     818                "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0"
    825819            },
    826820            "funding": [
     
    842836        {
    843837            "name": "symfony/polyfill-php81",
    844             "version": "v1.27.0",
    845             "version_normalized": "1.27.0.0",
     838            "version": "v1.29.0",
     839            "version_normalized": "1.29.0.0",
    846840            "source": {
    847841                "type": "git",
    848842                "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",
    855849                "shasum": ""
    856850            },
     
    858852                "php": ">=7.1"
    859853            },
    860             "time": "2022-11-03T14:55:06+00:00",
     854            "time": "2024-01-29T20:11:03+00:00",
    861855            "type": "library",
    862856            "extra": {
    863                 "branch-alias": {
    864                     "dev-main": "1.27-dev"
    865                 },
    866857                "thanks": {
    867858                    "name": "symfony/polyfill",
     
    904895            ],
    905896            "support": {
    906                 "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0"
     897                "source": "https://github.com/symfony/polyfill-php81/tree/v1.29.0"
    907898            },
    908899            "funding": [
     
    924915        {
    925916            "name": "symfony/polyfill-php82",
    926             "version": "v1.27.0",
    927             "version_normalized": "1.27.0.0",
     917            "version": "v1.29.0",
     918            "version_normalized": "1.29.0.0",
    928919            "source": {
    929920                "type": "git",
    930921                "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",
    937928                "shasum": ""
    938929            },
     
    940931                "php": ">=7.1"
    941932            },
    942             "time": "2022-11-10T10:10:54+00:00",
     933            "time": "2024-01-29T20:11:03+00:00",
    943934            "type": "library",
    944935            "extra": {
    945                 "branch-alias": {
    946                     "dev-main": "1.27-dev"
    947                 },
    948936                "thanks": {
    949937                    "name": "symfony/polyfill",
     
    986974            ],
    987975            "support": {
    988                 "source": "https://github.com/symfony/polyfill-php82/tree/v1.27.0"
     976                "source": "https://github.com/symfony/polyfill-php82/tree/v1.29.0"
    989977            },
    990978            "funding": [
  • woo-custom-gateway/trunk/vendor/composer/installed.php

    r2922480 r3427539  
    22    'root' => array(
    33        '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',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        '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',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../br33f/php-ga4-mp',
     
    2121        ),
    2222        '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',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
     
    3030        ),
    3131        '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',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../guzzlehttp/promises',
     
    3939        ),
    4040        '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',
    4444            'type' => 'library',
    4545            'install_path' => __DIR__ . '/../guzzlehttp/psr7',
     
    4848        ),
    4949        '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',
    5353            'type' => 'library',
    5454            'install_path' => __DIR__ . '/../psr/http-client',
     
    102102        ),
    103103        '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',
    107107            'type' => 'wordpress-plugin',
    108108            'install_path' => __DIR__ . '/../../',
     
    120120        ),
    121121        'symfony/polyfill-php74' => array(
    122             'pretty_version' => 'v1.27.0',
    123             'version' => '1.27.0.0',
    124             'reference' => 'aa7f1231a1aa56d695e626043252b7be6a90c4ce',
     122            'pretty_version' => 'v1.29.0',
     123            'version' => '1.29.0.0',
     124            'reference' => 'da301202eb63b838aed1e62134e2302f826ca600',
    125125            'type' => 'library',
    126126            'install_path' => __DIR__ . '/../symfony/polyfill-php74',
     
    129129        ),
    130130        'symfony/polyfill-php80' => array(
    131             'pretty_version' => 'v1.27.0',
    132             'version' => '1.27.0.0',
    133             'reference' => '7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936',
     131            'pretty_version' => 'v1.29.0',
     132            'version' => '1.29.0.0',
     133            'reference' => '87b68208d5c1188808dd7839ee1e6c8ec3b02f1b',
    134134            'type' => 'library',
    135135            'install_path' => __DIR__ . '/../symfony/polyfill-php80',
     
    138138        ),
    139139        'symfony/polyfill-php81' => array(
    140             'pretty_version' => 'v1.27.0',
    141             'version' => '1.27.0.0',
    142             'reference' => '707403074c8ea6e2edaf8794b0157a0bfa52157a',
     140            'pretty_version' => 'v1.29.0',
     141            'version' => '1.29.0.0',
     142            'reference' => 'c565ad1e63f30e7477fc40738343c62b40bc672d',
    143143            'type' => 'library',
    144144            'install_path' => __DIR__ . '/../symfony/polyfill-php81',
     
    147147        ),
    148148        'symfony/polyfill-php82' => array(
    149             'pretty_version' => 'v1.27.0',
    150             'version' => '1.27.0.0',
    151             'reference' => '80ddf7bfa17ef7b06db4e6d007a95bf584e07b44',
     149            'pretty_version' => 'v1.29.0',
     150            'version' => '1.29.0.0',
     151            'reference' => '559d488c38784112c78b9bf17c5ce8366a265643',
    152152            'type' => 'library',
    153153            'install_path' => __DIR__ . '/../symfony/polyfill-php82',
  • woo-custom-gateway/trunk/vendor/composer/platform_check.php

    r2871350 r3427539  
    2020        }
    2121    }
    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)
    2524    );
    2625}
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/HttpClient.php

    r2922480 r3427539  
    5656    /**
    5757     * @param Client $client
     58     * @return self
    5859     */
    59     public function setClient(Client $client)
     60    public function setClient(Client $client): self
    6061    {
    6162        $this->client = $client;
     63        return $this;
    6264    }
    6365
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Br33f/Ga4/MeasurementProtocol/Service.php

    r2922480 r3427539  
    134134    /**
    135135     * @param HttpClient $httpClient
    136      */
    137     public function setHttpClient(HttpClient $httpClient)
     136     * @return self
     137     */
     138    public function setHttpClient(HttpClient $httpClient): self
    138139    {
    139140        $this->httpClient = $httpClient;
     141        return $this;
    140142    }
    141143
     
    162164    /**
    163165     * @param bool $useSsl
    164      */
    165     public function setUseSsl(bool $useSsl)
     166     * @return self
     167     */
     168    public function setUseSsl(bool $useSsl): self
    166169    {
    167170        $this->useSsl = $useSsl;
     171        return $this;
    168172    }
    169173
     
    178182    /**
    179183     * @param bool $useWww
    180      */
    181     public function setUseWww(bool $useWww)
     184     * @return self
     185     */
     186    public function setUseWww(bool $useWww): self
    182187    {
    183188        $this->useWww = $useWww;
     189        return $this;
    184190    }
    185191
     
    194200    /**
    195201     * @param string $collectDebugEndpoint
    196      */
    197     public function setCollectDebugEndpoint(string $collectDebugEndpoint)
     202     * @return self
     203     */
     204    public function setCollectDebugEndpoint(string $collectDebugEndpoint): self
    198205    {
    199206        $this->collectDebugEndpoint = $collectDebugEndpoint;
     207        return $this;
    200208    }
    201209
     
    210218    /**
    211219     * @param string $collectEndpoint
    212      */
    213     public function setCollectEndpoint(string $collectEndpoint)
     220     * @return self
     221     */
     222    public function setCollectEndpoint(string $collectEndpoint): self
    214223    {
    215224        $this->collectEndpoint = $collectEndpoint;
     225        return $this;
    216226    }
    217227
     
    291301    /**
    292302     * @param string $apiSecret
    293      */
    294     public function setApiSecret(string $apiSecret)
     303     * @return self
     304     */
     305    public function setApiSecret(string $apiSecret): self
    295306    {
    296307        $this->apiSecret = $apiSecret;
     308        return $this;
    297309    }
    298310
     
    307319    /**
    308320     * @param string $ipOverride
    309      */
    310     public function setIpOverride(string $ipOverride)
     321     * @return self
     322     */
     323    public function setIpOverride(string $ipOverride): self
    311324    {
    312325        $this->ipOverride = $ipOverride;
     326        return $this;
    313327    }
    314328
     
    323337    /**
    324338     * @param array|null $options
    325      */
    326     public function setOptions(?array $options)
     339     * @return self
     340     */
     341    public function setOptions(?array $options): self
    327342    {
    328343        $this->options = $options;
     344        return $this;
    329345    }
    330346   
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Client.php

    r2922480 r3427539  
    203203     * @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:8.0.
    204204     */
    205     public function getConfig(?string $option = null)
     205    public function getConfig(string $option = null)
    206206    {
    207207        return $option === null
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/ClientInterface.php

    r2922480 r3427539  
    8181     * @deprecated ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0.
    8282     */
    83     public function getConfig(?string $option = null);
     83    public function getConfig(string $option = null);
    8484}
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/CookieJar.php

    r2922480 r3427539  
    9797    }
    9898
    99     /**
    100      * {@inheritDoc}
    101      */
    10299    public function toArray(): array
    103100    {
     
    107104    }
    108105
    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
    113107    {
    114108        if (!$domain) {
     
    127121                $this->cookies,
    128122                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));
    131125                }
    132126            );
     
    135129                $this->cookies,
    136130                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));
    140134                }
    141135            );
     
    143137    }
    144138
    145     /**
    146      * {@inheritDoc}
    147      */
    148139    public function clearSessionCookies(): void
    149140    {
     
    156147    }
    157148
    158     /**
    159      * {@inheritDoc}
    160      */
    161149    public function setCookie(SetCookie $cookie): bool
    162150    {
     
    183171            // Two cookies are identical, when their path, and domain are
    184172            // 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()
    188176            ) {
    189177                continue;
     
    256244     * Computes cookie path following RFC 6265 section 5.1.4
    257245     *
    258      * @see https://tools.ietf.org/html/rfc6265#section-5.1.4
     246     * @see https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.4
    259247     */
    260248    private function getCookiePathFromRequest(RequestInterface $request): string
     
    287275
    288276        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')
    293281            ) {
    294282                $values[] = $cookie->getName().'='
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/CookieJarInterface.php

    r2922480 r3427539  
    1515 *
    1616 * @see https://docs.python.org/2/library/cookielib.html Inspiration
     17 *
    1718 * @extends \IteratorAggregate<SetCookie>
    1819 */
     
    6263     * @param string|null $name   Clears cookies matching a domain, path, and name
    6364     */
    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;
    6566
    6667    /**
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Cookie/SetCookie.php

    r2922480 r3427539  
    421421
    422422        // Remove the leading '.' as per spec in RFC 6265.
    423         // https://tools.ietf.org/html/rfc6265#section-5.2.3
     423        // https://datatracker.ietf.org/doc/html/rfc6265#section-5.2.3
    424424        $cookieDomain = \ltrim(\strtolower($cookieDomain), '.');
    425425
     
    432432
    433433        // Matching the subdomain according to RFC 6265.
    434         // https://tools.ietf.org/html/rfc6265#section-5.1.3
     434        // https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.3
    435435        if (\filter_var($domain, \FILTER_VALIDATE_IP)) {
    436436            return false;
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlFactory.php

    r2922480 r3427539  
    257257        $method = $easy->request->getMethod();
    258258        if ($method === 'PUT' || $method === 'POST') {
    259             // See https://tools.ietf.org/html/rfc7230#section-3.3.2
     259            // See https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2
    260260            if (!$easy->request->hasHeader('Content-Length')) {
    261261                $conf[\CURLOPT_HTTPHEADER][] = 'Content-Length: 0';
     
    368368                    // If not, it's probably a file, or a link to a file, so use CURLOPT_CAINFO.
    369369                    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)
    375375                        )
    376376                    ) {
     
    628628        };
    629629    }
     630
     631    public function __destruct()
     632    {
     633        foreach ($this->handles as $id => $handle) {
     634            \curl_close($handle);
     635            unset($this->handles[$id]);
     636        }
     637    }
    630638}
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Handler/CurlMultiHandler.php

    r2922480 r3427539  
    1616 * **curl** key of the provided request options.
    1717 *
    18  * @property resource|\CurlMultiHandle $_mh Internal use only. Lazy loaded multi-handle.
    19  *
    2018 * @final
    2119 */
    22 #[\AllowDynamicProperties]
    2320class CurlMultiHandler
    2421{
     
    5653     */
    5754    private $options = [];
     55
     56    /** @var resource|\CurlMultiHandle */
     57    private $_mh;
    5858
    5959    /**
     
    8080
    8181        $this->options = $options['options'] ?? [];
     82
     83        // unsetting the property forces the first access to go through
     84        // __get().
     85        unset($this->_mh);
    8286    }
    8387
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/HandlerStack.php

    r2922480 r3427539  
    4545     *                                                                            system will be utilized.
    4646     */
    47     public static function create(?callable $handler = null): self
     47    public static function create(callable $handler = null): self
    4848    {
    4949        $stack = new self($handler ?: Utils::chooseHandler());
     
    132132     * @param string                       $name       Name to register for this middleware.
    133133     */
    134     public function unshift(callable $middleware, ?string $name = null): void
     134    public function unshift(callable $middleware, string $name = null): void
    135135    {
    136136        \array_unshift($this->stack, [$middleware, $name]);
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/MessageFormatter.php

    r2922480 r3427539  
    6969     * @param \Throwable|null        $error    Exception that was received
    7070     */
    71     public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string
     71    public function format(RequestInterface $request, ResponseInterface $response = null, \Throwable $error = null): string
    7272    {
    7373        $cache = [];
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/MessageFormatterInterface.php

    r2922480 r3427539  
    1515     * @param \Throwable|null        $error    Exception that was received
    1616     */
    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;
    1818}
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/Each.php

    r2922480 r3427539  
    2020     * side effects and choose to resolve or reject the aggregate if needed.
    2121     *
    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.
    2523     */
    2624    public static function of(
     
    4543     * @param mixed        $iterable
    4644     * @param int|callable $concurrency
    47      * @param callable     $onFulfilled
    48      * @param callable     $onRejected
    4945     */
    5046    public static function ofLimit(
     
    6864     * @param mixed        $iterable
    6965     * @param int|callable $concurrency
    70      * @param callable     $onFulfilled
    7166     */
    7267    public static function ofLimitAll(
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/EachPromise.php

    r2922480 r3427539  
    136136        // Add only up to N pending promises.
    137137        $concurrency = is_callable($this->concurrency)
    138             ? call_user_func($this->concurrency, count($this->pending))
     138            ? ($this->concurrency)(count($this->pending))
    139139            : $this->concurrency;
    140140        $concurrency = max($concurrency - count($this->pending), 0);
     
    171171            function ($value) use ($idx, $key): void {
    172172                if ($this->onFulfilled) {
    173                     call_user_func(
    174                         $this->onFulfilled,
     173                    ($this->onFulfilled)(
    175174                        $value,
    176175                        $key,
     
    182181            function ($reason) use ($idx, $key): void {
    183182                if ($this->onRejected) {
    184                     call_user_func(
    185                         $this->onRejected,
     183                    ($this->onRejected)(
    186184                        $reason,
    187185                        $key,
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Promise/RejectionException.php

    r2922480 r3427539  
    1919     * @param string|null $description Optional description.
    2020     */
    21     public function __construct($reason, $description = null)
     21    public function __construct($reason, string $description = null)
    2222    {
    2323        $this->reason = $reason;
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/AppendStream.php

    r2922480 r3427539  
    4141        try {
    4242            $this->rewind();
     43
    4344            return $this->getContents();
    4445        } catch (\Throwable $e) {
     
    4748            }
    4849            trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR);
     50
    4951            return '';
    5052        }
     
    139141    public function eof(): bool
    140142    {
    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());
    144146    }
    145147
     
    168170            } catch (\Exception $e) {
    169171                throw new \RuntimeException('Unable to seek stream '
    170                     . $i . ' of the AppendStream', 0, $e);
     172                    .$i.' of the AppendStream', 0, $e);
    171173            }
    172174        }
     
    198200                    break;
    199201                }
    200                 $this->current++;
     202                ++$this->current;
    201203            }
    202204
     
    238240
    239241    /**
    240      * {@inheritdoc}
    241      *
    242242     * @return mixed
    243243     */
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/BufferStream.php

    r2922480 r3427539  
    135135
    136136    /**
    137      * {@inheritdoc}
    138      *
    139137     * @return mixed
    140138     */
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/FnStream.php

    r2922480 r3427539  
    1919        '__toString', 'close', 'detach', 'rewind',
    2020        'getSize', 'tell', 'eof', 'isSeekable', 'seek', 'isWritable', 'write',
    21         'isReadable', 'read', 'getContents', 'getMetadata'
     21        'isReadable', 'read', 'getContents', 'getMetadata',
    2222    ];
    2323
     
    3434        // Create the functions on the class
    3535        foreach ($methods as $name => $fn) {
    36             $this->{'_fn_' . $name} = $fn;
     36            $this->{'_fn_'.$name} = $fn;
    3737        }
    3838    }
     
    4646    {
    4747        throw new \BadMethodCallException(str_replace('_fn_', '', $name)
    48             . '() is not implemented in the FnStream');
     48            .'() is not implemented in the FnStream');
    4949    }
    5050
     
    5555    {
    5656        if (isset($this->_fn_close)) {
    57             call_user_func($this->_fn_close);
     57            ($this->_fn_close)();
    5858        }
    5959    }
     
    9494    {
    9595        try {
    96             return call_user_func($this->_fn___toString);
     96            /** @var string */
     97            return ($this->_fn___toString)();
    9798        } catch (\Throwable $e) {
    9899            if (\PHP_VERSION_ID >= 70400) {
     
    100101            }
    101102            trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR);
     103
    102104            return '';
    103105        }
     
    106108    public function close(): void
    107109    {
    108         call_user_func($this->_fn_close);
     110        ($this->_fn_close)();
    109111    }
    110112
    111113    public function detach()
    112114    {
    113         return call_user_func($this->_fn_detach);
     115        return ($this->_fn_detach)();
    114116    }
    115117
    116118    public function getSize(): ?int
    117119    {
    118         return call_user_func($this->_fn_getSize);
     120        return ($this->_fn_getSize)();
    119121    }
    120122
    121123    public function tell(): int
    122124    {
    123         return call_user_func($this->_fn_tell);
     125        return ($this->_fn_tell)();
    124126    }
    125127
    126128    public function eof(): bool
    127129    {
    128         return call_user_func($this->_fn_eof);
     130        return ($this->_fn_eof)();
    129131    }
    130132
    131133    public function isSeekable(): bool
    132134    {
    133         return call_user_func($this->_fn_isSeekable);
     135        return ($this->_fn_isSeekable)();
    134136    }
    135137
    136138    public function rewind(): void
    137139    {
    138         call_user_func($this->_fn_rewind);
     140        ($this->_fn_rewind)();
    139141    }
    140142
    141143    public function seek($offset, $whence = SEEK_SET): void
    142144    {
    143         call_user_func($this->_fn_seek, $offset, $whence);
     145        ($this->_fn_seek)($offset, $whence);
    144146    }
    145147
    146148    public function isWritable(): bool
    147149    {
    148         return call_user_func($this->_fn_isWritable);
     150        return ($this->_fn_isWritable)();
    149151    }
    150152
    151153    public function write($string): int
    152154    {
    153         return call_user_func($this->_fn_write, $string);
     155        return ($this->_fn_write)($string);
    154156    }
    155157
    156158    public function isReadable(): bool
    157159    {
    158         return call_user_func($this->_fn_isReadable);
     160        return ($this->_fn_isReadable)();
    159161    }
    160162
    161163    public function read($length): string
    162164    {
    163         return call_user_func($this->_fn_read, $length);
     165        return ($this->_fn_read)($length);
    164166    }
    165167
    166168    public function getContents(): string
    167169    {
    168         return call_user_func($this->_fn_getContents);
     170        return ($this->_fn_getContents)();
    169171    }
    170172
    171173    /**
    172      * {@inheritdoc}
    173      *
    174174     * @return mixed
    175175     */
    176176    public function getMetadata($key = null)
    177177    {
    178         return call_user_func($this->_fn_getMetadata, $key);
     178        return ($this->_fn_getMetadata)($key);
    179179    }
    180180}
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Header.php

    r2922480 r3427539  
    2323            foreach (self::splitList($value) as $val) {
    2424                $part = [];
    25                 foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) {
     25                foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) ?: [] as $kvp) {
    2626                    if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) {
    2727                        $m = $matches[0];
     
    9090            $isQuoted = false;
    9191            $isEscaped = false;
    92             for ($i = 0, $max = \strlen($value); $i < $max; $i++) {
     92            for ($i = 0, $max = \strlen($value); $i < $max; ++$i) {
    9393                if ($isEscaped) {
    9494                    $v .= $value[$i];
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/HttpFactory.php

    r2922480 r3427539  
    2424 * and inject the instance of this class multiple times.
    2525 */
    26 final class HttpFactory implements
    27     RequestFactoryInterface,
    28     ResponseFactoryInterface,
    29     ServerRequestFactoryInterface,
    30     StreamFactoryInterface,
    31     UploadedFileFactoryInterface,
    32     UriFactoryInterface
     26final class HttpFactory implements RequestFactoryInterface, ResponseFactoryInterface, ServerRequestFactoryInterface, StreamFactoryInterface, UploadedFileFactoryInterface, UriFactoryInterface
    3327{
    3428    public function createUploadedFile(
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/InflateStream.php

    r2922480 r3427539  
    1414 * to a Guzzle stream resource to be used as a Guzzle stream.
    1515 *
    16  * @link http://tools.ietf.org/html/rfc1950
    17  * @link http://tools.ietf.org/html/rfc1952
    18  * @link http://php.net/manual/en/filters.compression.php
     16 * @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
    1919 */
    2020final class InflateStream implements StreamInterface
     
    2929        $resource = StreamWrapper::getResource($stream);
    3030        // 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 inflateInit2
     31        // See https://www.zlib.net/manual.html#Advanced definition of inflateInit2
    3232        // "Add 32 to windowBits to enable zlib and gzip decoding with automatic header detection"
    3333        // Default window size is 15.
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Message.php

    r2922480 r3427539  
    1919    {
    2020        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();
    2424            if (!$message->hasHeader('host')) {
    25                 $msg .= "\r\nHost: " . $message->getUri()->getHost();
     25                $msg .= "\r\nHost: ".$message->getUri()->getHost();
    2626            }
    2727        } 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();
    3131        } else {
    3232            throw new \InvalidArgumentException('Unknown message type');
     
    3434
    3535        foreach ($message->getHeaders() as $name => $values) {
    36             if (strtolower($name) === 'set-cookie') {
     36            if (is_string($name) && strtolower($name) === 'set-cookie') {
    3737                foreach ($values as $value) {
    38                     $msg .= "\r\n{$name}: " . $value;
     38                    $msg .= "\r\n{$name}: ".$value;
    3939                }
    4040            } else {
    41                 $msg .= "\r\n{$name}: " . implode(', ', $values);
     41                $msg .= "\r\n{$name}: ".implode(', ', $values);
    4242            }
    4343        }
    4444
    45         return "{$msg}\r\n\r\n" . $message->getBody();
     45        return "{$msg}\r\n\r\n".$message->getBody();
    4646    }
    4747
     
    147147        // If these aren't the same, then one line didn't match and there's an invalid header.
    148148        if ($count !== substr_count($rawHeaders, "\n")) {
    149             // Folding is deprecated, see https://tools.ietf.org/html/rfc7230#section-3.2.4
     149            // Folding is deprecated, see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4
    150150            if (preg_match(Rfc7230::HEADER_FOLD_REGEX, $rawHeaders)) {
    151151                throw new \InvalidArgumentException('Invalid header syntax: Obsolete line folding');
     
    191191        $scheme = substr($host, -4) === ':443' ? 'https' : 'http';
    192192
    193         return $scheme . '://' . $host . '/' . ltrim($path, '/');
     193        return $scheme.'://'.$host.'/'.ltrim($path, '/');
    194194    }
    195195
     
    228228    {
    229229        $data = self::parseMessage($message);
    230         // According to https://tools.ietf.org/html/rfc7230#section-3.1.2 the space
    231         // between status-code and reason-phrase is required. But browsers accept
    232         // 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.
    233233        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']);
    235235        }
    236236        $parts = explode(' ', $data['start-line'], 3);
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MessageTrait.php

    r2922480 r3427539  
    1313trait MessageTrait
    1414{
    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 */
    1616    private $headers = [];
    1717
    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 = [];
    2020
    2121    /** @var string */
     
    3838        $new = clone $this;
    3939        $new->protocol = $version;
     40
    4041        return $new;
    4142    }
     
    136137        $new = clone $this;
    137138        $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
    143145     */
    144146    private function setHeaders(array $headers): void
     
    192194     * @return string[] Trimmed header values
    193195     *
    194      * @see https://tools.ietf.org/html/rfc7230#section-3.2.4
     196     * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.4
    195197     */
    196198    private function trimAndValidateHeaderValues(array $values): array
     
    212214
    213215    /**
    214      * @see https://tools.ietf.org/html/rfc7230#section-3.2
     216     * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2
    215217     *
    216218     * @param mixed $header
     
    225227        }
    226228
    227         if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/D', $header)) {
     229        if (!preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/D', $header)) {
    228230            throw new \InvalidArgumentException(
    229231                sprintf('"%s" is not valid header name.', $header)
     
    233235
    234236    /**
    235      * @see https://tools.ietf.org/html/rfc7230#section-3.2
     237     * @see https://datatracker.ietf.org/doc/html/rfc7230#section-3.2
    236238     *
    237239     * field-value    = *( field-content / obs-fold )
     
    255257        // likely very rare. Line folding is a fairly obscure feature of HTTP/1.1 and thus not accepting
    256258        // 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)) {
    258260            throw new \InvalidArgumentException(
    259261                sprintf('"%s" is not valid header value.', $value)
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MimeType.php

    r2922480 r3427539  
    1919        '123' => 'application/vnd.lotus-1-2-3',
    2020        'aab' => 'application/x-authorware-bin',
    21         'aac' => 'audio/x-acc',
     21        'aac' => 'audio/aac',
    2222        'aam' => 'application/x-authorware-map',
    2323        'aas' => 'application/x-authorware-seg',
     
    3030        'acutc' => 'application/vnd.acucorp',
    3131        'adp' => 'audio/adpcm',
     32        'adts' => 'audio/aac',
    3233        'aep' => 'application/vnd.audiograph',
    3334        'afm' => 'application/x-font-type1',
     
    4243        'ait' => 'application/vnd.dvb.ait',
    4344        'ami' => 'application/vnd.amiga.ami',
     45        'aml' => 'application/automationml-aml+xml',
     46        'amlx' => 'application/automationml-amlx+zip',
    4447        'amr' => 'audio/amr',
    4548        'apk' => 'application/vnd.android.package-archive',
    4649        'apng' => 'image/apng',
    4750        'appcache' => 'text/cache-manifest',
     51        'appinstaller' => 'application/appinstaller',
    4852        'application' => 'application/x-ms-application',
     53        'appx' => 'application/appx',
     54        'appxbundle' => 'application/appxbundle',
    4955        'apr' => 'application/vnd.lotus-approach',
    5056        'arc' => 'application/x-freearc',
     
    9197        'bpmn' => 'application/octet-stream',
    9298        'bsp' => 'model/vnd.valve.source.compiled-map',
     99        'btf' => 'image/prs.btif',
    93100        'btif' => 'image/prs.btif',
    94101        'buffer' => 'application/octet-stream',
     
    142149        'cla' => 'application/vnd.claymore',
    143150        'class' => 'application/octet-stream',
     151        'cld' => 'model/vnd.cld',
    144152        'clkk' => 'application/vnd.crick.clicker.keyboard',
    145153        'clkp' => 'application/vnd.crick.clicker.palette',
     
    176184        'cu' => 'application/cu-seeme',
    177185        'curl' => 'text/vnd.curl',
     186        'cwl' => 'application/cwl',
    178187        'cww' => 'application/prs.cww',
    179188        'cxt' => 'application/x-director',
     
    198207        'dfac' => 'application/vnd.dreamfactory',
    199208        'dgc' => 'application/x-dgc-compressed',
     209        'dib' => 'image/bmp',
    200210        'dic' => 'text/x-c',
    201211        'dir' => 'application/x-director',
     
    220230        'dp' => 'application/vnd.osgi.dp',
    221231        'dpg' => 'application/vnd.dpgraph',
     232        'dpx' => 'image/dpx',
    222233        'dra' => 'audio/vnd.dra',
    223234        'drle' => 'image/dicom-rle',
     
    256267        'eps' => 'application/postscript',
    257268        'epub' => 'application/epub+zip',
    258         'es' => 'application/ecmascript',
    259269        'es3' => 'application/vnd.eszigno3+xml',
    260270        'esa' => 'application/vnd.osgi.subsystem',
     
    449459        'jsonml' => 'application/jsonml+json',
    450460        'jsx' => 'text/jsx',
     461        'jt' => 'model/jt',
    451462        'jxr' => 'image/jxr',
    452463        'jxra' => 'image/jxra',
     
    553564        'mj2' => 'video/mj2',
    554565        'mjp2' => 'video/mj2',
    555         'mjs' => 'application/javascript',
     566        'mjs' => 'text/javascript',
    556567        'mk3d' => 'video/x-matroska',
    557568        'mka' => 'audio/x-matroska',
     
    603614        'msh' => 'model/mesh',
    604615        'msi' => 'application/x-msdownload',
     616        'msix' => 'application/msix',
     617        'msixbundle' => 'application/msixbundle',
    605618        'msl' => 'application/vnd.mobius.msl',
    606619        'msm' => 'application/octet-stream',
     
    776789        'pwn' => 'application/vnd.3m.post-it-notes',
    777790        'pya' => 'audio/vnd.ms-playready.media.pya',
     791        'pyo' => 'model/vnd.pytha.pyox',
     792        'pyox' => 'model/vnd.pytha.pyox',
    778793        'pyv' => 'video/vnd.ms-playready.media.pyv',
    779794        'qam' => 'application/vnd.epson.quickanime',
     
    924939        'stc' => 'application/vnd.sun.xml.calc.template',
    925940        'std' => 'application/vnd.sun.xml.draw.template',
     941        'step' => 'application/STEP',
    926942        'stf' => 'application/vnd.wt.stf',
    927943        'sti' => 'application/vnd.sun.xml.impress.template',
    928944        'stk' => 'application/hyperstudio',
    929945        'stl' => 'model/stl',
     946        'stp' => 'application/STEP',
    930947        'stpx' => 'model/step+xml',
    931948        'stpxz' => 'model/step-xml+zip',
     
    10141031        'umj' => 'application/vnd.umajin',
    10151032        'unityweb' => 'application/vnd.unity',
     1033        'uo' => 'application/vnd.uoml+xml',
    10161034        'uoml' => 'application/vnd.uoml+xml',
    10171035        'uri' => 'text/uri-list',
    10181036        'uris' => 'text/uri-list',
    10191037        'urls' => 'text/uri-list',
     1038        'usda' => 'model/vnd.usda',
    10201039        'usdz' => 'model/vnd.usdz+zip',
    10211040        'ustar' => 'application/x-ustar',
     
    10971116        'webp' => 'image/webp',
    10981117        'wg' => 'application/vnd.pmi.widget',
     1118        'wgsl' => 'text/wgsl',
    10991119        'wgt' => 'application/widget',
    11001120        'wif' => 'application/watcherinfo+xml',
     
    11511171        'xenc' => 'application/xenc+xml',
    11521172        'xer' => 'application/patch-ops-error+xml',
    1153         'xfdf' => 'application/vnd.adobe.xfdf',
     1173        'xfdf' => 'application/xfdf',
    11541174        'xfdl' => 'application/vnd.xfdl',
    11551175        'xht' => 'application/xhtml+xml',
     1176        'xhtm' => 'application/vnd.pwg-xhtml-print+xml',
    11561177        'xhtml' => 'application/xhtml+xml',
    11571178        'xhvml' => 'application/xv+xml',
     
    11841205        'xpx' => 'application/vnd.intercon.formnet',
    11851206        'xsd' => 'application/xml',
     1207        'xsf' => 'application/prs.xsf+xml',
    11861208        'xsl' => 'application/xml',
    11871209        'xslt' => 'application/xslt+xml',
     
    12191241     * Determines the mimetype of a file by looking at its extension.
    12201242     *
    1221      * @link https://raw.githubusercontent.com/jshttp/mime-db/master/db.json
     1243     * @see https://raw.githubusercontent.com/jshttp/mime-db/master/db.json
    12221244     */
    12231245    public static function fromFilename(string $filename): ?string
     
    12291251     * Maps a file extensions to a mimetype.
    12301252     *
    1231      * @link https://raw.githubusercontent.com/jshttp/mime-db/master/db.json
     1253     * @see https://raw.githubusercontent.com/jshttp/mime-db/master/db.json
    12321254     */
    12331255    public static function fromExtension(string $extension): ?string
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/MultipartStream.php

    r2922480 r3427539  
    5252     * Get the headers needed before transferring the content of a POST file
    5353     *
    54      * @param array<string, string> $headers
     54     * @param string[] $headers
    5555     */
    5656    private function getHeaders(array $headers): string
     
    6161        }
    6262
    63         return "--{$this->boundary}\r\n" . trim($str) . "\r\n\r\n";
     63        return "--{$this->boundary}\r\n".trim($str)."\r\n\r\n";
    6464    }
    6565
     
    7373        foreach ($elements as $element) {
    7474            if (!is_array($element)) {
    75                 throw new \UnexpectedValueException("An array is expected");
     75                throw new \UnexpectedValueException('An array is expected');
    7676            }
    7777            $this->addElement($stream, $element);
     
    113113    }
    114114
     115    /**
     116     * @param string[] $headers
     117     *
     118     * @return array{0: StreamInterface, 1: string[]}
     119     */
    115120    private function createElement(string $name, StreamInterface $stream, ?string $filename, array $headers): array
    116121    {
    117122        // 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');
    119124        if (!$disposition) {
    120125            $headers['Content-Disposition'] = ($filename === '0' || $filename)
     
    128133
    129134        // 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');
    131136        if (!$length) {
    132137            if ($length = $stream->getSize()) {
     
    136141
    137142        // Set a default Content-Type if one was not supplied
    138         $type = $this->getHeader($headers, 'content-type');
     143        $type = self::getHeader($headers, 'content-type');
    139144        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';
    143146        }
    144147
     
    146149    }
    147150
    148     private function getHeader(array $headers, string $key)
     151    /**
     152     * @param string[] $headers
     153     */
     154    private static function getHeader(array $headers, string $key): ?string
    149155    {
    150156        $lowercaseHeader = strtolower($key);
    151157        foreach ($headers as $k => $v) {
    152             if (strtolower($k) === $lowercaseHeader) {
     158            if (strtolower((string) $k) === $lowercaseHeader) {
    153159                return $v;
    154160            }
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/PumpStream.php

    r2922480 r3427539  
    1919final class PumpStream implements StreamInterface
    2020{
    21     /** @var callable|null */
     21    /** @var callable(int): (string|false|null)|null */
    2222    private $source;
    2323
     
    3535
    3636    /**
    37      * @param callable(int): (string|null|false)  $source  Source of the stream data. The callable MAY
     37     * @param callable(int): (string|false|null)  $source  Source of the stream data. The callable MAY
    3838     *                                                     accept an integer argument used to control the
    3939     *                                                     amount of data to return. The callable MUST
     
    6161            }
    6262            trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR);
     63
    6364            return '';
    6465        }
     
    150151
    151152    /**
    152      * {@inheritdoc}
    153      *
    154153     * @return mixed
    155154     */
     
    165164    private function pump(int $length): void
    166165    {
    167         if ($this->source) {
     166        if ($this->source !== null) {
    168167            do {
    169                 $data = call_user_func($this->source, $length);
     168                $data = ($this->source)($length);
    170169                if ($data === false || $data === null) {
    171170                    $this->source = null;
     171
    172172                    return;
    173173                }
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Query.php

    r2922480 r3427539  
    9494                $v = is_bool($v) ? (int) $v : $v;
    9595                if ($v !== null) {
    96                     $qs .= '=' . $encoder((string) $v);
     96                    $qs .= '='.$encoder((string) $v);
    9797                }
    9898                $qs .= '&';
     
    102102                    $vv = is_bool($vv) ? (int) $vv : $vv;
    103103                    if ($vv !== null) {
    104                         $qs .= '=' . $encoder((string) $vv);
     104                        $qs .= '='.$encoder((string) $vv);
    105105                    }
    106106                    $qs .= '&';
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Request.php

    r2922480 r3427539  
    2929     * @param string                               $method  HTTP method
    3030     * @param string|UriInterface                  $uri     URI
    31      * @param array<string, string|string[]>       $headers Request headers
     31     * @param (string|string[])[]                  $headers Request headers
    3232     * @param string|resource|StreamInterface|null $body    Request body
    3333     * @param string                               $version Protocol version
     
    7070        }
    7171        if ($this->uri->getQuery() != '') {
    72             $target .= '?' . $this->uri->getQuery();
     72            $target .= '?'.$this->uri->getQuery();
    7373        }
    7474
     
    8686        $new = clone $this;
    8787        $new->requestTarget = $requestTarget;
     88
    8889        return $new;
    8990    }
     
    99100        $new = clone $this;
    100101        $new->method = strtoupper($method);
     102
    101103        return $new;
    102104    }
     
    132134
    133135        if (($port = $this->uri->getPort()) !== null) {
    134             $host .= ':' . $port;
     136            $host .= ':'.$port;
    135137        }
    136138
     
    142144        }
    143145        // Ensure Host is the first header.
    144         // See: http://tools.ietf.org/html/rfc7230#section-5.4
     146        // See: https://datatracker.ietf.org/doc/html/rfc7230#section-5.4
    145147        $this->headers = [$header => [$host]] + $this->headers;
    146148    }
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Response.php

    r2922480 r3427539  
    8787    /**
    8888     * @param int                                  $status  Status code
    89      * @param array<string, string|string[]>       $headers Response headers
     89     * @param (string|string[])[]                  $headers Response headers
    9090     * @param string|resource|StreamInterface|null $body    Response body
    9191     * @param string                               $version Protocol version
     
    139139        }
    140140        $new->reasonPhrase = (string) $reasonPhrase;
     141
    141142        return $new;
    142143    }
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Rfc7230.php

    r2922480 r3427539  
    1515     * Note: header delimiter (\r\n) is modified to \r?\n to accept line feed only delimiters for BC reasons.
    1616     *
    17      * @link    https://github.com/amphp/http/blob/v1.0.1/src/Rfc7230.php#L12-L15
     17     * @see https://github.com/amphp/http/blob/v1.0.1/src/Rfc7230.php#L12-L15
    1818     *
    1919     * @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  
    6060     * @param string                               $method       HTTP method
    6161     * @param string|UriInterface                  $uri          URI
    62      * @param array<string, string|string[]>       $headers      Request headers
     62     * @param (string|string[])[]                  $headers      Request headers
    6363     * @param string|resource|StreamInterface|null $body         Request body
    6464     * @param string                               $version      Protocol version
     
    145145            $spec = [
    146146                '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,
    151151            ];
    152152            $normalizedFiles[$key] = self::createUploadedFileFromSpec($spec);
     
    183183    private static function extractHostAndPortFromAuthority(string $authority): array
    184184    {
    185         $uri = 'http://' . $authority;
     185        $uri = 'http://'.$authority;
    186186        $parts = parse_url($uri);
    187187        if (false === $parts) {
     
    287287
    288288    /**
    289      * {@inheritdoc}
    290      *
    291289     * @return array|object|null
    292290     */
     
    310308
    311309    /**
    312      * {@inheritdoc}
    313      *
    314310     * @return mixed
    315311     */
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/Stream.php

    r2922480 r3427539  
    1313{
    1414    /**
    15      * @see http://php.net/manual/function.fopen.php
    16      * @see http://php.net/manual/en/function.gzopen.php
     15     * @see https://www.php.net/manual/en/function.fopen.php
     16     * @see https://www.php.net/manual/en/function.gzopen.php
    1717     */
    1818    private const READABLE_MODES = '/r|a\+|ab\+|w\+|wb\+|x\+|xb\+|c\+|cb\+/';
     
    6262        $meta = stream_get_meta_data($this->stream);
    6363        $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']);
    6666        $this->uri = $this->getMetadata('uri');
    6767    }
     
    8181                $this->seek(0);
    8282            }
     83
    8384            return $this->getContents();
    8485        } catch (\Throwable $e) {
     
    8788            }
    8889            trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR);
     90
    8991            return '';
    9092        }
     
    146148        if (is_array($stats) && isset($stats['size'])) {
    147149            $this->size = $stats['size'];
     150
    148151            return $this->size;
    149152        }
     
    208211        if (fseek($this->stream, $offset, $whence) === -1) {
    209212            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));
    211214        }
    212215    }
     
    262265
    263266    /**
    264      * {@inheritdoc}
    265      *
    266267     * @return mixed
    267268     */
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/StreamDecoratorTrait.php

    r2922480 r3427539  
    3232        if ($name === 'stream') {
    3333            $this->stream = $this->createStream();
     34
    3435            return $this->stream;
    3536        }
     
    4445                $this->seek(0);
    4546            }
     47
    4648            return $this->getContents();
    4749        } catch (\Throwable $e) {
     
    5052            }
    5153            trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR);
     54
    5255            return '';
    5356        }
     
    6871        /** @var callable $callable */
    6972        $callable = [$this->stream, $method];
    70         $result = call_user_func_array($callable, $args);
     73        $result = ($callable)(...$args);
    7174
    7275        // Always return the wrapped object if the result is a return $this
     
    8083
    8184    /**
    82      * {@inheritdoc}
    83      *
    8485     * @return mixed
    8586     */
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/StreamWrapper.php

    r2922480 r3427539  
    4242        } else {
    4343            throw new \InvalidArgumentException('The stream must be readable, '
    44                 . 'writable, or both.');
     44                .'writable, or both.');
    4545        }
    4646
     
    5656    {
    5757        return stream_context_create([
    58             'guzzle' => ['stream' => $stream]
     58            'guzzle' => ['stream' => $stream],
    5959        ]);
    6060    }
     
    116116    public function stream_cast(int $cast_as)
    117117    {
    118         $stream = clone($this->stream);
     118        $stream = clone $this->stream;
    119119        $resource = $stream->detach();
    120120
     
    123123
    124124    /**
    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     * }
    126140     */
    127141    public function stream_stat(): array
    128142    {
    129143        static $modeMap = [
    130             'r'  => 33060,
     144            'r' => 33060,
    131145            'rb' => 33060,
    132146            'r+' => 33206,
    133             'w'  => 33188,
    134             'wb' => 33188
     147            'w' => 33188,
     148            'wb' => 33188,
    135149        ];
    136150
    137151        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,
    149163            'blksize' => 0,
    150             'blocks'  => 0
     164            'blocks' => 0,
    151165        ];
    152166    }
    153167
    154168    /**
    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     * }
    156184     */
    157185    public function url_stat(string $path, int $flags): array
    158186    {
    159187        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,
    171199            'blksize' => 0,
    172             'blocks'  => 0
     200            'blocks' => 0,
    173201        ];
    174202    }
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UploadedFile.php

    r2922480 r3427539  
    114114    }
    115115
    116     private function isStringNotEmpty($param): bool
     116    private static function isStringNotEmpty($param): bool
    117117    {
    118118        return is_string($param) && false === empty($param);
     
    164164        $this->validateActive();
    165165
    166         if (false === $this->isStringNotEmpty($targetPath)) {
     166        if (false === self::isStringNotEmpty($targetPath)) {
    167167            throw new InvalidArgumentException(
    168168                '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  
    2626
    2727    private const DEFAULT_PORTS = [
    28         'http'  => 80,
     28        'http' => 80,
    2929        'https' => 443,
    3030        'ftp' => 21,
     
    4242     * Unreserved characters for use in a regex.
    4343     *
    44      * @link https://tools.ietf.org/html/rfc3986#section-2.3
     44     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.3
    4545     */
    4646    private const CHAR_UNRESERVED = 'a-zA-Z0-9_\-\.~';
     
    4949     * Sub-delims for use in a regex.
    5050     *
    51      * @link https://tools.ietf.org/html/rfc3986#section-2.2
     51     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.2
    5252     */
    5353    private const CHAR_SUB_DELIMS = '!\$&\'\(\)\*\+,;=';
     
    8888        }
    8989    }
     90
    9091    /**
    9192     * UTF-8 aware \parse_url() replacement.
     
    122123        );
    123124
    124         $result = parse_url($prefix . $encodedUrl);
     125        $result = parse_url($prefix.$encodedUrl);
    125126
    126127        if ($result === false) {
     
    162163     * that format).
    163164     *
    164      * @link https://tools.ietf.org/html/rfc3986#section-5.3
     165     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.3
    165166     */
    166167    public static function composeComponents(?string $scheme, ?string $authority, string $path, ?string $query, ?string $fragment): string
     
    170171        // weak type checks to also accept null until we can add scalar type hints
    171172        if ($scheme != '') {
    172             $uri .= $scheme . ':';
     173            $uri .= $scheme.':';
    173174        }
    174175
    175176        if ($authority != '' || $scheme === 'file') {
    176             $uri .= '//' . $authority;
     177            $uri .= '//'.$authority;
    177178        }
    178179
    179180        if ($authority != '' && $path != '' && $path[0] != '/') {
    180             $path = '/' . $path;
     181            $path = '/'.$path;
    181182        }
    182183
     
    184185
    185186        if ($query != '') {
    186             $uri .= '?' . $query;
     187            $uri .= '?'.$query;
    187188        }
    188189
    189190        if ($fragment != '') {
    190             $uri .= '#' . $fragment;
     191            $uri .= '#'.$fragment;
    191192        }
    192193
     
    219220     * @see Uri::isAbsolutePathReference
    220221     * @see Uri::isRelativePathReference
    221      * @link https://tools.ietf.org/html/rfc3986#section-4
     222     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4
    222223     */
    223224    public static function isAbsolute(UriInterface $uri): bool
     
    231232     * A relative reference that begins with two slash characters is termed an network-path reference.
    232233     *
    233      * @link https://tools.ietf.org/html/rfc3986#section-4.2
     234     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2
    234235     */
    235236    public static function isNetworkPathReference(UriInterface $uri): bool
     
    243244     * A relative reference that begins with a single slash character is termed an absolute-path reference.
    244245     *
    245      * @link https://tools.ietf.org/html/rfc3986#section-4.2
     246     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2
    246247     */
    247248    public static function isAbsolutePathReference(UriInterface $uri): bool
     
    258259     * A relative reference that does not begin with a slash character is termed a relative-path reference.
    259260     *
    260      * @link https://tools.ietf.org/html/rfc3986#section-4.2
     261     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.2
    261262     */
    262263    public static function isRelativePathReference(UriInterface $uri): bool
     
    277278     * @param UriInterface|null $base An optional base URI to compare against
    278279     *
    279      * @link https://tools.ietf.org/html/rfc3986#section-4.4
     280     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.4
    280281     */
    281282    public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool
     
    336337     * It has the same behavior as withQueryValue() but for an associative array of key => value.
    337338     *
    338      * @param UriInterface               $uri           URI to use as a base.
    339      * @param array<string, string|null> $keyValueArray Associative array of key and values
     339     * @param UriInterface    $uri           URI to use as a base.
     340     * @param (string|null)[] $keyValueArray Associative array of key and values
    340341     */
    341342    public static function withQueryValues(UriInterface $uri, array $keyValueArray): UriInterface
     
    353354     * Creates a URI from a hash of `parse_url` components.
    354355     *
    355      * @link http://php.net/manual/en/function.parse-url.php
     356     * @see https://www.php.net/manual/en/function.parse-url.php
    356357     *
    357358     * @throws MalformedUriException If the components do not form a valid URI.
     
    375376        $authority = $this->host;
    376377        if ($this->userInfo !== '') {
    377             $authority = $this->userInfo . '@' . $authority;
     378            $authority = $this->userInfo.'@'.$authority;
    378379        }
    379380
    380381        if ($this->port !== null) {
    381             $authority .= ':' . $this->port;
     382            $authority .= ':'.$this->port;
    382383        }
    383384
     
    436437        $info = $this->filterUserInfoComponent($user);
    437438        if ($password !== null) {
    438             $info .= ':' . $this->filterUserInfoComponent($password);
     439            $info .= ':'.$this->filterUserInfoComponent($password);
    439440        }
    440441
     
    564565            : '';
    565566        if (isset($parts['pass'])) {
    566             $this->userInfo .= ':' . $this->filterUserInfoComponent($parts['pass']);
     567            $this->userInfo .= ':'.$this->filterUserInfoComponent($parts['pass']);
    567568        }
    568569
     
    596597
    597598        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}))/',
    599600            [$this, 'rawurlencodeMatchZero'],
    600601            $component
     
    628629
    629630        $port = (int) $port;
    630         if (0 > $port || 0xffff < $port) {
     631        if (0 > $port || 0xFFFF < $port) {
    631632            throw new \InvalidArgumentException(
    632633                sprintf('Invalid port: %d. Must be between 0 and 65535', $port)
     
    638639
    639640    /**
    640      * @param string[] $keys
     641     * @param (string|int)[] $keys
    641642     *
    642643     * @return string[]
     
    650651        }
    651652
    652         $decodedKeys = array_map('rawurldecode', $keys);
     653        $decodedKeys = array_map(function ($k): string {
     654            return rawurldecode((string) $k);
     655        }, $keys);
    653656
    654657        return array_filter(explode('&', $current), function ($part) use ($decodedKeys) {
     
    665668
    666669        if ($value !== null) {
    667             $queryString .= '=' . strtr($value, self::QUERY_SEPARATORS_REPLACEMENT);
     670            $queryString .= '='.strtr($value, self::QUERY_SEPARATORS_REPLACEMENT);
    668671        }
    669672
     
    692695
    693696        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}))/',
    695698            [$this, 'rawurlencodeMatchZero'],
    696699            $path
     
    712715
    713716        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}))/',
    715718            [$this, 'rawurlencodeMatchZero'],
    716719            $str
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UriNormalizer.php

    r2922480 r3427539  
    1212 * @author Tobias Schultze
    1313 *
    14  * @link https://tools.ietf.org/html/rfc3986#section-6
     14 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6
    1515 */
    1616final class UriNormalizer
     
    120120     * @param int          $flags A bitmask of normalizations to apply, see constants
    121121     *
    122      * @link https://tools.ietf.org/html/rfc3986#section-6.2
     122     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6.2
    123123     */
    124124    public static function normalize(UriInterface $uri, int $flags = self::PRESERVING_NORMALIZATIONS): UriInterface
     
    132132        }
    133133
    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')
    136136        ) {
    137137            $uri = $uri->withPath('/');
     
    175175     * @param int          $normalizations A bitmask of normalizations to apply, see constants
    176176     *
    177      * @link https://tools.ietf.org/html/rfc3986#section-6.1
     177     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-6.1
    178178     */
    179179    public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, int $normalizations = self::PRESERVING_NORMALIZATIONS): bool
     
    186186        $regex = '/(?:%[A-Fa-f0-9]{2})++/';
    187187
    188         $callback = function (array $match) {
     188        $callback = function (array $match): string {
    189189            return strtoupper($match[0]);
    190190        };
     
    202202        $regex = '/%(?:2D|2E|5F|7E|3[0-9]|[46][1-9A-F]|[57][0-9A])/i';
    203203
    204         $callback = function (array $match) {
     204        $callback = function (array $match): string {
    205205            return rawurldecode($match[0]);
    206206        };
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Psr7/UriResolver.php

    r2922480 r3427539  
    1212 * @author Tobias Schultze
    1313 *
    14  * @link https://tools.ietf.org/html/rfc3986#section-5
     14 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5
    1515 */
    1616final class UriResolver
     
    1919     * Removes dot segments from a path and returns the new path.
    2020     *
    21      * @link http://tools.ietf.org/html/rfc3986#section-5.2.4
     21     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4
    2222     */
    2323    public static function removeDotSegments(string $path): string
     
    4141        if ($path[0] === '/' && (!isset($newPath[0]) || $newPath[0] !== '/')) {
    4242            // Re-add the leading slash if necessary for cases like "/.."
    43             $newPath = '/' . $newPath;
     43            $newPath = '/'.$newPath;
    4444        } elseif ($newPath !== '' && ($segment === '.' || $segment === '..')) {
    4545            // Add the trailing slash if necessary
     
    5454     * Converts the relative URI into a new URI that is resolved against the base URI.
    5555     *
    56      * @link http://tools.ietf.org/html/rfc3986#section-5.2
     56     * @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.2
    5757     */
    5858    public static function resolve(UriInterface $base, UriInterface $rel): UriInterface
     
    8181                } else {
    8282                    if ($targetAuthority != '' && $base->getPath() === '') {
    83                         $targetPath = '/' . $rel->getPath();
     83                        $targetPath = '/'.$rel->getPath();
    8484                    } else {
    8585                        $lastSlashPos = strrpos($base->getPath(), '/');
     
    8787                            $targetPath = $rel->getPath();
    8888                        } else {
    89                             $targetPath = substr($base->getPath(), 0, $lastSlashPos + 1) . $rel->getPath();
     89                            $targetPath = substr($base->getPath(), 0, $lastSlashPos + 1).$rel->getPath();
    9090                        }
    9191                    }
     
    128128    public static function relativize(UriInterface $base, UriInterface $target): UriInterface
    129129    {
    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() !== '')
    132132        ) {
    133133            return $target;
     
    186186        }
    187187        $targetSegments[] = $targetLastSegment;
    188         $relativePath = str_repeat('../', count($sourceSegments)) . implode('/', $targetSegments);
     188        $relativePath = str_repeat('../', count($sourceSegments)).implode('/', $targetSegments);
    189189
    190190        // 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  
    1515     * Remove the items given by the keys, case insensitively from the data.
    1616     *
    17      * @param string[] $keys
     17     * @param (string|int)[] $keys
    1818     */
    1919    public static function caselessRemove(array $keys, array $data): array
     
    2222
    2323        foreach ($keys as &$key) {
    24             $key = strtolower($key);
     24            $key = strtolower((string) $key);
    2525        }
    2626
    2727        foreach ($data as $k => $v) {
    28             if (!is_string($k) || !in_array(strtolower($k), $keys)) {
     28            if (!in_array(strtolower((string) $k), $keys)) {
    2929                $result[$k] = $v;
    3030            }
     
    9191                $buffer .= $buf;
    9292            }
     93
    9394            return $buffer;
    9495        }
     
    175176                    $scheme = $changes['uri']->getScheme();
    176177                    if (isset($standardPorts[$scheme]) && $port != $standardPorts[$scheme]) {
    177                         $changes['set_headers']['Host'] .= ':' . $port;
     178                        $changes['set_headers']['Host'] .= ':'.$port;
    178179                    }
    179180                }
     
    231232     * @param int|null        $maxLength Maximum buffer length
    232233     */
    233     public static function readLine(StreamInterface $stream, ?int $maxLength = null): string
     234    public static function readLine(StreamInterface $stream, int $maxLength = null): string
    234235    {
    235236        $buffer = '';
     
    292293                fseek($stream, 0);
    293294            }
     295
    294296            return new Stream($stream, $options);
    295297        }
     
    309311                    $resource = $stream;
    310312                }
     313
    311314                return new Stream($resource, $options);
    312315            case 'object':
     
    321324                        $result = $resource->current();
    322325                        $resource->next();
     326
    323327                        return $result;
    324328                    }, $options);
     
    335339        }
    336340
    337         throw new \InvalidArgumentException('Invalid resource type: ' . gettype($resource));
     341        throw new \InvalidArgumentException('Invalid resource type: '.gettype($resource));
    338342    }
    339343
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/RedirectMiddleware.php

    r2922480 r3427539  
    167167        // would do.
    168168        $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'])
    171171        ) {
    172172            $safeMethods = ['GET', 'HEAD', 'OPTIONS'];
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/RequestOptions.php

    r2922480 r3427539  
    66 * This class contains a list of built-in Guzzle request options.
    77 *
    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
    119 */
    1210final class RequestOptions
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/TransferStats.php

    r2922480 r3427539  
    4747    public function __construct(
    4848        RequestInterface $request,
    49         ?ResponseInterface $response = null,
    50         ?float $transferTime = null,
     49        ResponseInterface $response = null,
     50        float $transferTime = null,
    5151        $handlerErrorData = null,
    5252        array $handlerStats = []
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/GuzzleHttp/Utils.php

    r2922480 r3427539  
    177177CA bundle by default. In order to verify peer certificates, you will need to
    178178supply 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.
     179option: https://docs.guzzlephp.org/en/latest/request-options.html#verify. If
     180you do not need a specific certificate bundle, then Mozilla provides a commonly
     181used CA bundle which can be downloaded here (provided by the maintainer of
     182cURL): https://curl.haxx.se/ca/cacert.pem. Once you have a CA bundle available
     183on disk, you can set the 'openssl.cafile' PHP ini setting to point to the path
     184to the file, allowing you to omit the 'verify' request option. See
     185https://curl.haxx.se/docs/sslcerts.html for more information.
    187186EOT
    188187        );
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php74/LICENSE

    r2872617 r3427539  
    1 Copyright (c) 2019 Fabien Potencier
     1Copyright (c) 2019-present Fabien Potencier
    22
    33Permission 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  
    2929    "minimum-stability": "dev",
    3030    "extra": {
    31         "branch-alias": {
    32             "dev-main": "1.27-dev"
    33         },
    3431        "thanks": {
    3532            "name": "symfony/polyfill",
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php80/LICENSE

    r2872617 r3427539  
    1 Copyright (c) 2020 Fabien Potencier
     1Copyright (c) 2020-present Fabien Potencier
    22
    33Permission 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  
    3030    "minimum-stability": "dev",
    3131    "extra": {
    32         "branch-alias": {
    33             "dev-main": "1.27-dev"
    34         },
    3532        "thanks": {
    3633            "name": "symfony/polyfill",
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/LICENSE

    r2872617 r3427539  
    1 Copyright (c) 2021 Fabien Potencier
     1Copyright (c) 2021-present Fabien Potencier
    22
    33Permission 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  
    88- [`MYSQLI_REFRESH_REPLICA`](https://php.net/mysqli.constants#constantmysqli-refresh-replica) constant
    99- [`ReturnTypeWillChange`](https://wiki.php.net/rfc/internal_method_return_types)
     10- [`CURLStringFile`](https://php.net/CURLStringFile) (but only if PHP >= 7.4 is used)
    1011
    1112More information can be found in the
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php81/composer.json

    r2872617 r3427539  
    2626    "minimum-stability": "dev",
    2727    "extra": {
    28         "branch-alias": {
    29             "dev-main": "1.27-dev"
    30         },
    3128        "thanks": {
    3229            "name": "symfony/polyfill",
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/LICENSE

    r2872617 r3427539  
    1 Copyright (c) 2022 Fabien Potencier
     1Copyright (c) 2022-present Fabien Potencier
    22
    33Permission 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  
    1010- [`Random\Engine\CryptoSafeEngine`](https://wiki.php.net/rfc/rng_extension)
    1111- [`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)
    1216
    1317More information can be found in the
  • woo-custom-gateway/trunk/vendor/woo-custom-gateway/psr-4/Symfony/Polyfill/Php82/bootstrap.php

    r2872617 r3427539  
    1010 */
    1111
     12use RichardMuvirimi\WooCustomGateway\Vendor\Symfony\Polyfill\Php82 as p;
     13
    1214if (\PHP_VERSION_ID >= 80200) {
    1315    return;
    1416}
     17
     18if (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
     32if (!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  
    2626    "minimum-stability": "dev",
    2727    "extra": {
    28         "branch-alias": {
    29             "dev-main": "1.27-dev"
    30         },
    3128        "thanks": {
    3229            "name": "symfony/polyfill",
  • woo-custom-gateway/trunk/woo-custom-gateway.php

    r2924446 r3427539  
    88 * Plugin URI:        https://github.com/richard-muvirimi/wp-plugin-woo-custom-gateway
    99 * Description:       Add multiple custom payment gateways to WooCommerce e-commerce plugin.
    10  * Version:           1.6.1
     10 * Version:           1.6.2
    1111 * Author:            Richard Muvirimi
    1212 * Author URI:        https://richard.co.zw
     
    1616 * Domain Path:       /languages
    1717 * WC requires at least: 3.0.0
    18  * WC tested up to:   7.7
     18 * WC tested up to:   7.8
    1919 *
    2020 * @package WooCustomGateway
     
    4747 * Plugin version number
    4848 */
    49 const WOO_CUSTOM_GATEWAY_VERSION = '1.6.1';
     49const WOO_CUSTOM_GATEWAY_VERSION = '1.6.2';
    5050
    5151/**
Note: See TracChangeset for help on using the changeset viewer.