Plugin Directory

Changeset 3313862


Ignore:
Timestamp:
06/18/2025 12:56:31 PM (10 months ago)
Author:
benefitplus
Message:

Update to version 1.1.1

Location:
muzapay
Files:
46 edited
1 copied

Legend:

Unmodified
Added
Removed
  • muzapay/tags/1.1.1/muzapay.php

    r3253891 r3313862  
    33 * Plugin Name:          MúzaPay
    44 * Description:          Official MúzaPay plugin for WooCommerce.
    5  * Version:              1.1.0
     5 * Version:              1.1.1
    66 * Requires PHP:         8.0.0
    77 * Requires at least:    6.0.9
  • muzapay/tags/1.1.1/readme.txt

    r3253891 r3313862  
    33Tags: Benefit Plus, MuzaPay, payment, gateway, woocommerce
    44Requires at least: 6.0
    5 Tested up to: 6.7
     5Tested up to: 6.8
    66Requires PHP: 8.0
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828
    2929== Changelog ==
     30= 1.1.1=
     31* Add filter muzapay_product_category
     32
    3033= 1.1.0=
    3134* Add certificate generation to admin settings
  • muzapay/tags/1.1.1/src/Features/Gateway.php

    r3253891 r3313862  
    272272            }
    273273            $p = $repo->get( $item['product_id'] );
    274             if ( ! $p->muzapay_category ) {
     274            $category = $p->muzapay_category;
     275            $category = apply_filters('muzapay_product_category', $category, $item['product_id'], $item);
     276            if ( ! $category ) {
    275277                return false;
    276278            }
  • muzapay/tags/1.1.1/vendor/composer/installed.php

    r3253891 r3313862  
    22    'root' => array(
    33        'name' => 'wpify/muzapay',
    4         'pretty_version' => '1.1.0',
    5         'version' => '1.1.0.0',
    6         'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44',
     4        'pretty_version' => '1.1.1',
     5        'version' => '1.1.1.0',
     6        'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'wpify/muzapay' => array(
    14             'pretty_version' => '1.1.0',
    15             'version' => '1.1.0.0',
    16             'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44',
     14            'pretty_version' => '1.1.1',
     15            'version' => '1.1.1.0',
     16            'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
  • muzapay/tags/1.1.1/vendor/prefixed/composer/installed.json

    r3253891 r3313862  
    33        {
    44            "name": "guzzlehttp\/guzzle",
    5             "version": "7.9.2",
    6             "version_normalized": "7.9.2.0",
     5            "version": "7.9.3",
     6            "version_normalized": "7.9.3.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https:\/\/github.com\/guzzle\/guzzle.git",
    10                 "reference": "d281ed313b989f213357e3be1a179f02196ac99b"
    11             },
    12             "dist": {
    13                 "type": "zip",
    14                 "url": "https:\/\/api.github.com\/repos\/guzzle\/guzzle\/zipball\/d281ed313b989f213357e3be1a179f02196ac99b",
    15                 "reference": "d281ed313b989f213357e3be1a179f02196ac99b",
     10                "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77"
     11            },
     12            "dist": {
     13                "type": "zip",
     14                "url": "https:\/\/api.github.com\/repos\/guzzle\/guzzle\/zipball\/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
     15                "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
    1616                "shasum": ""
    1717            },
     
    4040                "psr\/log": "Required for using the Log middleware"
    4141            },
    42             "time": "2024-07-24T11:22:20+00:00",
     42            "time": "2025-03-27T13:37:11+00:00",
    4343            "type": "library",
    4444            "extra": {
     
    112112            "support": {
    113113                "issues": "https:\/\/github.com\/guzzle\/guzzle\/issues",
    114                 "source": "https:\/\/github.com\/guzzle\/guzzle\/tree\/7.9.2"
     114                "source": "https:\/\/github.com\/guzzle\/guzzle\/tree\/7.9.3"
    115115            },
    116116            "funding": [
     
    132132        {
    133133            "name": "guzzlehttp\/promises",
    134             "version": "2.0.4",
    135             "version_normalized": "2.0.4.0",
     134            "version": "2.2.0",
     135            "version_normalized": "2.2.0.0",
    136136            "source": {
    137137                "type": "git",
    138138                "url": "https:\/\/github.com\/guzzle\/promises.git",
    139                 "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455"
    140             },
    141             "dist": {
    142                 "type": "zip",
    143                 "url": "https:\/\/api.github.com\/repos\/guzzle\/promises\/zipball\/f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
    144                 "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
     139                "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c"
     140            },
     141            "dist": {
     142                "type": "zip",
     143                "url": "https:\/\/api.github.com\/repos\/guzzle\/promises\/zipball\/7c69f28996b0a6920945dd20b3857e499d9ca96c",
     144                "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c",
    145145                "shasum": ""
    146146            },
     
    152152                "phpunit\/phpunit": "^8.5.39 || ^9.6.20"
    153153            },
    154             "time": "2024-10-17T10:06:22+00:00",
     154            "time": "2025-03-27T13:27:01+00:00",
    155155            "type": "library",
    156156            "extra": {
     
    198198            "support": {
    199199                "issues": "https:\/\/github.com\/guzzle\/promises\/issues",
    200                 "source": "https:\/\/github.com\/guzzle\/promises\/tree\/2.0.4"
     200                "source": "https:\/\/github.com\/guzzle\/promises\/tree\/2.2.0"
    201201            },
    202202            "funding": [
     
    218218        {
    219219            "name": "guzzlehttp\/psr7",
    220             "version": "2.7.0",
    221             "version_normalized": "2.7.0.0",
     220            "version": "2.7.1",
     221            "version_normalized": "2.7.1.0",
    222222            "source": {
    223223                "type": "git",
    224224                "url": "https:\/\/github.com\/guzzle\/psr7.git",
    225                 "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
    226             },
    227             "dist": {
    228                 "type": "zip",
    229                 "url": "https:\/\/api.github.com\/repos\/guzzle\/psr7\/zipball\/a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
    230                 "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
     225                "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16"
     226            },
     227            "dist": {
     228                "type": "zip",
     229                "url": "https:\/\/api.github.com\/repos\/guzzle\/psr7\/zipball\/c2270caaabe631b3b44c85f99e5a04bbb8060d16",
     230                "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16",
    231231                "shasum": ""
    232232            },
     
    249249                "laminas\/laminas-httphandlerrunner": "Emit PSR-7 responses"
    250250            },
    251             "time": "2024-07-18T11:15:46+00:00",
     251            "time": "2025-03-27T12:30:47+00:00",
    252252            "type": "library",
    253253            "extra": {
     
    317317            "support": {
    318318                "issues": "https:\/\/github.com\/guzzle\/psr7\/issues",
    319                 "source": "https:\/\/github.com\/guzzle\/psr7\/tree\/2.7.0"
     319                "source": "https:\/\/github.com\/guzzle\/psr7\/tree\/2.7.1"
    320320            },
    321321            "funding": [
     
    11681168        {
    11691169            "name": "wpify\/log",
    1170             "version": "1.0.10",
    1171             "version_normalized": "1.0.10.0",
     1170            "version": "1.1.1",
     1171            "version_normalized": "1.1.1.0",
    11721172            "source": {
    11731173                "type": "git",
    11741174                "url": "https:\/\/github.com\/wpify\/log.git",
    1175                 "reference": "43bb35f12babe33b0343bb3d3f85239248c48701"
    1176             },
    1177             "dist": {
    1178                 "type": "zip",
    1179                 "url": "https:\/\/api.github.com\/repos\/wpify\/log\/zipball\/43bb35f12babe33b0343bb3d3f85239248c48701",
    1180                 "reference": "43bb35f12babe33b0343bb3d3f85239248c48701",
     1175                "reference": "5b856a623a574d3ba4f2138d5f4d94c0625329ff"
     1176            },
     1177            "dist": {
     1178                "type": "zip",
     1179                "url": "https:\/\/api.github.com\/repos\/wpify\/log\/zipball\/5b856a623a574d3ba4f2138d5f4d94c0625329ff",
     1180                "reference": "5b856a623a574d3ba4f2138d5f4d94c0625329ff",
    11811181                "shasum": ""
    11821182            },
     
    11851185                "psr\/log": "1.1.4"
    11861186            },
    1187             "time": "2022-11-15T20:50:07+00:00",
     1187            "time": "2025-06-04T15:03:26+00:00",
    11881188            "type": "library",
    11891189            "installation-source": "dist",
     
    12061206            "support": {
    12071207                "issues": "https:\/\/github.com\/wpify\/log\/issues",
    1208                 "source": "https:\/\/github.com\/wpify\/log\/tree\/1.0.10"
     1208                "source": "https:\/\/github.com\/wpify\/log\/tree\/1.1.1"
    12091209            },
    12101210            "install-path": "..\/wpify\/log"
     
    12121212        {
    12131213            "name": "wpify\/model",
    1214             "version": "4.1.21",
    1215             "version_normalized": "4.1.21.0",
     1214            "version": "4.1.24",
     1215            "version_normalized": "4.1.24.0",
    12161216            "source": {
    12171217                "type": "git",
    12181218                "url": "https:\/\/github.com\/wpify\/model.git",
    1219                 "reference": "64ece3dfe1431f8d353e38c2d40465f64040e0f9"
    1220             },
    1221             "dist": {
    1222                 "type": "zip",
    1223                 "url": "https:\/\/api.github.com\/repos\/wpify\/model\/zipball\/64ece3dfe1431f8d353e38c2d40465f64040e0f9",
    1224                 "reference": "64ece3dfe1431f8d353e38c2d40465f64040e0f9",
     1219                "reference": "ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec"
     1220            },
     1221            "dist": {
     1222                "type": "zip",
     1223                "url": "https:\/\/api.github.com\/repos\/wpify\/model\/zipball\/ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec",
     1224                "reference": "ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec",
    12251225                "shasum": ""
    12261226            },
     
    12281228                "php": ">=8.0.0"
    12291229            },
    1230             "time": "2025-01-24T09:07:27+00:00",
     1230            "time": "2025-05-21T09:30:57+00:00",
    12311231            "type": "library",
    12321232            "installation-source": "dist",
     
    12491249            "support": {
    12501250                "issues": "https:\/\/github.com\/wpify\/model\/issues",
    1251                 "source": "https:\/\/github.com\/wpify\/model\/tree\/4.1.21"
     1251                "source": "https:\/\/github.com\/wpify\/model\/tree\/4.1.24"
    12521252            },
    12531253            "install-path": "..\/wpify\/model"
  • muzapay/tags/1.1.1/vendor/prefixed/composer/installed.php

    r3253891 r3313862  
    33namespace MuzaPayDeps;
    44
    5 return array('root' => array('name' => 'wpify/muzapay', 'pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('guzzlehttp/guzzle' => array('pretty_version' => '7.9.2', 'version' => '7.9.2.0', 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.0', 'version' => '2.7.0.0', 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '7.0.0', 'version' => '7.0.0.0', 'reference' => 'f0ca9a0e0fb800974fcaf7b2f896ca1e840fd15b', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/benefit-plus-gateway-sdk' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'aacc448402d5e072e1616836b34f7a4d8098c272', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/benefit-plus-gateway-sdk', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '3.14.2', 'version' => '3.14.2.0', 'reference' => 'a04885848f045700cb1430becd41a82c9a711db2', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.0.10', 'version' => '1.0.10.0', 'reference' => '43bb35f12babe33b0343bb3d3f85239248c48701', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.21', 'version' => '4.1.21.0', 'reference' => '64ece3dfe1431f8d353e38c2d40465f64040e0f9', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/muzapay' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => 'wpify/muzapay', 'pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('guzzlehttp/guzzle' => array('pretty_version' => '7.9.3', 'version' => '7.9.3.0', 'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.2.0', 'version' => '2.2.0.0', 'reference' => '7c69f28996b0a6920945dd20b3857e499d9ca96c', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.1', 'version' => '2.7.1.0', 'reference' => 'c2270caaabe631b3b44c85f99e5a04bbb8060d16', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '7.0.0', 'version' => '7.0.0.0', 'reference' => 'f0ca9a0e0fb800974fcaf7b2f896ca1e840fd15b', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/benefit-plus-gateway-sdk' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'aacc448402d5e072e1616836b34f7a4d8098c272', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/benefit-plus-gateway-sdk', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '3.14.2', 'version' => '3.14.2.0', 'reference' => 'a04885848f045700cb1430becd41a82c9a711db2', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '5b856a623a574d3ba4f2138d5f4d94c0625329ff', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.24', 'version' => '4.1.24.0', 'reference' => 'ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/muzapay' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/CHANGELOG.md

    r3179972 r3313862  
    22
    33Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.
     4
     5
     6## 7.9.3 - 2025-03-27
     7
     8### Changed
     9
     10- Remove explicit content-length header for GET requests
     11- Improve compatibility with bad servers for boolean cookie values
    412
    513
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/SetCookie.php

    r3207002 r3313862  
    4747                                $data[$search] = (int) $value;
    4848                            }
     49                        } elseif ($search === 'Secure' || $search === 'Discard' || $search === 'HttpOnly') {
     50                            if ($value) {
     51                                $data[$search] = \true;
     52                            }
    4953                        } else {
    5054                            $data[$search] = $value;
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Handler/Proxy.php

    r3207002 r3313862  
    1717     * requests to another handler.
    1818     *
    19      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for normal responses
    20      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $sync    Handler used for synchronous responses.
     19     * @param callable(RequestInterface, array): PromiseInterface $default Handler used for normal responses
     20     * @param callable(RequestInterface, array): PromiseInterface $sync    Handler used for synchronous responses.
    2121     *
    22      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
     22     * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
    2323     */
    2424    public static function wrapSync(callable $default, callable $sync): callable
     
    3636     * through the StreamHandler.
    3737     *
    38      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default   Handler used for non-streaming responses
    39      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $streaming Handler used for streaming responses
     38     * @param callable(RequestInterface, array): PromiseInterface $default   Handler used for non-streaming responses
     39     * @param callable(RequestInterface, array): PromiseInterface $streaming Handler used for streaming responses
    4040     *
    41      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
     41     * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
    4242     */
    4343    public static function wrapStreaming(callable $default, callable $streaming): callable
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php

    r3207002 r3313862  
    4747            $request = $request->withoutHeader('Expect');
    4848            // Append a content-length header if body size is zero to match
    49             // cURL's behavior.
    50             if (0 === $request->getBody()->getSize()) {
     49            // the behavior of `CurlHandler`
     50            if ((0 === \strcasecmp('PUT', $request->getMethod()) || 0 === \strcasecmp('POST', $request->getMethod())) && 0 === $request->getBody()->getSize()) {
    5151                $request = $request->withHeader('Content-Length', '0');
    5252            }
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Pool.php

    r3207002 r3313862  
    8080     * @param array|\Iterator $requests Requests to send concurrently.
    8181     * @param array           $options  Passes through the options available in
    82      *                                  {@see \GuzzleHttp\Pool::__construct}
     82     *                                  {@see Pool::__construct}
    8383     *
    8484     * @return array Returns an array containing the response or an exception
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php

    r3207002 r3313862  
    7272     * The returned handler is not wrapped by any default middlewares.
    7373     *
    74      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
     74     * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
    7575     *
    7676     * @throws \RuntimeException if no viable Handler is available.
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/guzzle/src/functions.php

    r3207002 r3313862  
    4848 * The returned handler is not wrapped by any default middlewares.
    4949 *
    50  * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
     50 * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
    5151 *
    5252 * @throws \RuntimeException if no viable Handler is available.
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/promises/CHANGELOG.md

    r3207002 r3313862  
    11# CHANGELOG
     2
     3
     4## 2.2.0 - 2025-03-27
     5
     6### Fixed
     7
     8- Revert "Allow an empty EachPromise to be resolved by running the queue"
     9
     10
     11## 2.1.0 - 2025-03-27
     12
     13### Added
     14
     15- Allow an empty EachPromise to be resolved by running the queue
    216
    317
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/psr7/CHANGELOG.md

    r3179972 r3313862  
    55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    66and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     7
     8## 2.7.1 - 2025-03-27
     9
     10### Fixed
     11
     12- Fixed uppercase IPv6 addresses in URI
     13
     14### Changed
     15
     16- Improve uploaded file error message
    717
    818## 2.7.0 - 2024-07-18
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php

    r3207002 r3313862  
    1010class UploadedFile implements UploadedFileInterface
    1111{
    12     private const ERRORS = [\UPLOAD_ERR_OK, \UPLOAD_ERR_INI_SIZE, \UPLOAD_ERR_FORM_SIZE, \UPLOAD_ERR_PARTIAL, \UPLOAD_ERR_NO_FILE, \UPLOAD_ERR_NO_TMP_DIR, \UPLOAD_ERR_CANT_WRITE, \UPLOAD_ERR_EXTENSION];
     12    private const ERROR_MAP = [\UPLOAD_ERR_OK => 'UPLOAD_ERR_OK', \UPLOAD_ERR_INI_SIZE => 'UPLOAD_ERR_INI_SIZE', \UPLOAD_ERR_FORM_SIZE => 'UPLOAD_ERR_FORM_SIZE', \UPLOAD_ERR_PARTIAL => 'UPLOAD_ERR_PARTIAL', \UPLOAD_ERR_NO_FILE => 'UPLOAD_ERR_NO_FILE', \UPLOAD_ERR_NO_TMP_DIR => 'UPLOAD_ERR_NO_TMP_DIR', \UPLOAD_ERR_CANT_WRITE => 'UPLOAD_ERR_CANT_WRITE', \UPLOAD_ERR_EXTENSION => 'UPLOAD_ERR_EXTENSION'];
    1313    /**
    1414     * @var string|null
     
    7676    private function setError(int $error): void
    7777    {
    78         if (\false === in_array($error, UploadedFile::ERRORS, \true)) {
     78        if (!isset(UploadedFile::ERROR_MAP[$error])) {
    7979            throw new InvalidArgumentException('Invalid error status for UploadedFile');
    8080        }
     
    102102    {
    103103        if (\false === $this->isOk()) {
    104             throw new RuntimeException('Cannot retrieve stream due to upload error');
     104            throw new RuntimeException(\sprintf('Cannot retrieve stream due to upload error (%s)', self::ERROR_MAP[$this->error]));
    105105        }
    106106        if ($this->isMoved()) {
  • muzapay/tags/1.1.1/vendor/prefixed/guzzlehttp/psr7/src/Uri.php

    r3207002 r3313862  
    8181        // If IPv6
    8282        $prefix = '';
    83         if (preg_match('%^(.*://\[[0-9:a-f]+\])(.*?)$%', $url, $matches)) {
     83        if (preg_match('%^(.*://\[[0-9:a-fA-F]+\])(.*?)$%', $url, $matches)) {
    8484            /** @var array{0:string, 1:string, 2:string} $matches */
    8585            $prefix = $matches[1];
  • muzapay/tags/1.1.1/vendor/prefixed/scoper-autoload.php

    r3207002 r3313862  
    2323// Function aliases. For more information see:
    2424// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
    25 // if (!function_exists('getallheaders')) { function getallheaders() { return \MuzaPayDeps\getallheaders(...func_get_args()); } }
     25// if (!function_exists('getallheaders')) { function getallheaders() { return \MuzaPayDeps\getallheaders(...func_get_args()); } } // commented by WPify Scoper
    2626
    2727return $loader;
  • muzapay/tags/1.1.1/vendor/prefixed/wpify/log/src/Log.php

    r3207002 r3313862  
    1313    private $channel;
    1414    private $handlers;
     15    private $menu_args;
    1516    /**
    1617     * Detailed debug information
     
    5455     * @param  string  $channel
    5556     * @param  array  $handlers
     57     * @param  array  $menu_args
    5658     */
    57     public function __construct(string $channel, array $handlers = [])
     59    public function __construct(string $channel, array $handlers = [], array $menu_args = [])
    5860    {
    5961        $this->channel = $channel;
    6062        $this->handlers = $handlers;
     63        $this->menu_args = $menu_args;
    6164        $this->logger = new Logger($this->channel);
    6265        foreach ($handlers as $handler) {
     
    7376        if (!apply_filters('wpify_log_tools_initialized', \false)) {
    7477            add_filter('wpify_log_tools_initialized', '__return_true');
    75             new Tools();
     78            new Tools($this->menu_args);
    7679        }
    7780    }
  • muzapay/tags/1.1.1/vendor/prefixed/wpify/log/src/RotatingFileLog.php

    r3207002 r3313862  
    1212     * @param string                  $path
    1313     * @param FormatterInterface|null $formatter
     14     * @param array                   $menu_args
    1415     */
    15     public function __construct(string $channel, string $path = '', ?FormatterInterface $formatter = null)
     16    public function __construct(string $channel, string $path = '', ?FormatterInterface $formatter = null, array $menu_args = [])
    1617    {
    1718        $filename = sprintf('wpify_log_%s', $channel);
     
    2728        $handler = new RotatingFileHandler($path, 5, Logger::DEBUG, \true, 0660);
    2829        $handler->setFormatter($formatter ?? new JsonFormatter());
    29         parent::__construct($channel, [$handler]);
     30        parent::__construct($channel, [$handler], $menu_args);
    3031    }
    3132}
  • muzapay/tags/1.1.1/vendor/prefixed/wpify/log/src/Tools.php

    r3207002 r3313862  
    55class Tools
    66{
    7     public function __construct()
     7    private $menu_args;
     8    public function __construct(array $menu_args = [])
    89    {
    9         add_action('admin_menu', [$this, 'add_menu_page']);
     10        $this->menu_args = $menu_args;
     11        add_action('admin_menu', [$this, 'add_menu_page'], 99);
    1012    }
    1113    public function add_menu_page()
    1214    {
    13         add_submenu_page('tools.php', __('WPify Logs', 'muzapay'), __('WPify Logs', 'muzapay'), 'read', 'wpify-logs', [$this, 'logs_screen']);
     15        add_submenu_page($this->menu_args['parent_slug'] ?? 'tools.php', $this->menu_args['page_title'] ?? __('WPify Logs', 'muzapay'), $this->menu_args['menu_title'] ?? __('WPify Logs', 'muzapay'), $this->menu_args['capability'] ?? 'read', $this->menu_args['menu_slug'] ?? 'wpify-logs', [$this, 'logs_screen'], 109);
    1416    }
    1517    public function logs_screen()
     
    3133        _e('WPify Logs', 'muzapay');
    3234        ?></h2>
    33             <form action="">
     35            <form action="" style="justify-content: start; margin-bottom: 20px">
    3436                <select name="log-file" id="log-file" style="max-width: 300px;">
    3537                    <option value=""></option>
     
    4446            echo basename($file);
    4547            ?></option>
    46                     <?php
     48                        <?php
    4749        }
    4850        ?>
     
    5355        </div>
    5456
    55         <?php
     57        <div class="wrap">
     58            <?php
    5659        if (!empty($_GET['log-file'])) {
    5760            $file = str_replace('\\\\', '\\', $_GET['log-file']);
    5861            if (!\in_array($file, $files)) {
    5962                ?>
    60                 <p><?php
     63                    <p><?php
    6164                _e('File not found, cheating, huh?', 'muzapay');
    6265                ?></p>
    63                 <?php
     66                    <?php
    6467            } else {
    6568                $logs = array_map(function ($item) {
     
    7174                        $header[] = $key;
    7275                    }
     76                    echo '<pre>';
     77                    //                      var_dump( $logs );
     78                    echo '</pre>';
    7379                    ?>
    7480
    75                     <table class="wp-list-table widefat fixed striped table-view-list posts">
    76                         <thead>
    77                         <tr>
    78                             <?php
     81                        <table class="wp-list-table widefat fixed striped table-view-list posts">
     82                            <thead>
     83                            <tr>
     84                                <?php
    7985                    foreach ($header as $item) {
    8086                        ?>
    81                                 <th><?php
     87                                    <th style="width: <?php
     88                        echo $this->column_width($item);
     89                        ?>"><?php
    8290                        echo $item;
    8391                        ?></th>
    84                             <?php
     92                                    <?php
    8593                    }
    8694                    ?>
    87                         </tr>
    88                         </thead>
    89                         <tbody>
    90                         <?php
     95                            </tr>
     96                            </thead>
     97                            <tbody>
     98                            <?php
    9199                    foreach ($logs as $log) {
    92100                        ?>
    93                             <tr>
    94                                 <?php
    95                         foreach ($log as $item) {
     101                                <tr>
     102                                    <?php
     103                        foreach ($log as $key => $item) {
    96104                            ?>
    97                                     <td><?php
    98                             echo is_array($item) ? json_encode($item) : $item;
     105                                        <td style="width: <?php
     106                            echo $this->column_width($key);
     107                            ?>"><?php
     108                            $this->pretty_print_log_item($item);
    99109                            ?></td>
    100                                 <?php
     110                                        <?php
    101111                        }
    102112                        ?>
    103                             </tr>
    104                         <?php
     113                                </tr>
     114                                <?php
    105115                    }
    106116                    ?>
    107                         </tbody>
    108                     </table>
    109                     <?php
     117                            </tbody>
     118                        </table>
     119                        <?php
    110120                }
    111121            }
    112122        }
     123        ?>
     124        </div>
     125        <?php
     126    }
     127    public function column_width($key)
     128    {
     129        switch ($key) {
     130            case 'context':
     131                $width = '44%';
     132                break;
     133            case 'level':
     134            case 'level_name':
     135            case 'extra':
     136                $width = '7%';
     137                break;
     138            default:
     139                $width = '15%';
     140                break;
     141        }
     142        return $width;
     143    }
     144    public function pretty_print_log_item($item)
     145    {
     146        if (is_string($item) && ($item[0] === '{' && str_ends_with($item, '}') || $item[0] === '[' && str_ends_with($item, ']'))) {
     147            $decoded = json_decode($item, \true);
     148            if (json_last_error() === \JSON_ERROR_NONE) {
     149                $item = $decoded;
     150            }
     151        }
     152        if (is_array($item)) {
     153            $json = json_encode($item, \JSON_UNESCAPED_UNICODE | \JSON_PRETTY_PRINT);
     154            $body = trim($json);
     155            if ($body[0] === '{' && substr($body, -1) === '}') {
     156                $body = substr($body, 1, -1);
     157            }
     158            echo '<pre style="white-space: pre-wrap; word-break: break-all; font-size:13px; margin:0;">' . $body . '</pre>';
     159        } else {
     160            echo esc_html($item);
     161        }
    113162    }
    114163}
  • muzapay/tags/1.1.1/vendor/prefixed/wpify/model/src/OrderItem.php

    r3207002 r3313862  
    3131     * Order item tax total.
    3232     */
    33     #[AccessorObject]
     33    #[AccessorObject('total_tax')]
    3434    public float $tax_total;
    3535    /**
     
    118118            }
    119119        }
     120        if (!$rate && $this->tax_total && $this->unit_price_tax_excluded !== $this->unit_price_tax_included) {
     121            $rate = \round($this->tax_total / ($this->wc_order_item->get_total() / 100));
     122        }
    120123        return \floatval($rate);
    121124    }
  • muzapay/tags/1.1.1/vendor/prefixed/wpify/model/src/PostRepository.php

    r3207002 r3313862  
    1717class PostRepository extends Repository
    1818{
    19     private ?WP_Query $query;
     19    protected ?WP_Query $query;
    2020    /**
    2121     * Returns the model class name.
     
    116116                continue;
    117117            }
    118             $source = $prop['source'];
     118            $source = $prop['source'] ?? null;
    119119            $key = $source->key ?? $prop['name'];
    120120            if (method_exists($model, 'persist_' . $prop['name'])) {
  • muzapay/trunk/muzapay.php

    r3253891 r3313862  
    33 * Plugin Name:          MúzaPay
    44 * Description:          Official MúzaPay plugin for WooCommerce.
    5  * Version:              1.1.0
     5 * Version:              1.1.1
    66 * Requires PHP:         8.0.0
    77 * Requires at least:    6.0.9
  • muzapay/trunk/readme.txt

    r3253891 r3313862  
    33Tags: Benefit Plus, MuzaPay, payment, gateway, woocommerce
    44Requires at least: 6.0
    5 Tested up to: 6.7
     5Tested up to: 6.8
    66Requires PHP: 8.0
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828
    2929== Changelog ==
     30= 1.1.1=
     31* Add filter muzapay_product_category
     32
    3033= 1.1.0=
    3134* Add certificate generation to admin settings
  • muzapay/trunk/src/Features/Gateway.php

    r3253891 r3313862  
    272272            }
    273273            $p = $repo->get( $item['product_id'] );
    274             if ( ! $p->muzapay_category ) {
     274            $category = $p->muzapay_category;
     275            $category = apply_filters('muzapay_product_category', $category, $item['product_id'], $item);
     276            if ( ! $category ) {
    275277                return false;
    276278            }
  • muzapay/trunk/vendor/composer/installed.php

    r3253891 r3313862  
    22    'root' => array(
    33        'name' => 'wpify/muzapay',
    4         'pretty_version' => '1.1.0',
    5         'version' => '1.1.0.0',
    6         'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44',
     4        'pretty_version' => '1.1.1',
     5        'version' => '1.1.1.0',
     6        'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'wpify/muzapay' => array(
    14             'pretty_version' => '1.1.0',
    15             'version' => '1.1.0.0',
    16             'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44',
     14            'pretty_version' => '1.1.1',
     15            'version' => '1.1.1.0',
     16            'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
  • muzapay/trunk/vendor/prefixed/composer/installed.json

    r3253891 r3313862  
    33        {
    44            "name": "guzzlehttp\/guzzle",
    5             "version": "7.9.2",
    6             "version_normalized": "7.9.2.0",
     5            "version": "7.9.3",
     6            "version_normalized": "7.9.3.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https:\/\/github.com\/guzzle\/guzzle.git",
    10                 "reference": "d281ed313b989f213357e3be1a179f02196ac99b"
    11             },
    12             "dist": {
    13                 "type": "zip",
    14                 "url": "https:\/\/api.github.com\/repos\/guzzle\/guzzle\/zipball\/d281ed313b989f213357e3be1a179f02196ac99b",
    15                 "reference": "d281ed313b989f213357e3be1a179f02196ac99b",
     10                "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77"
     11            },
     12            "dist": {
     13                "type": "zip",
     14                "url": "https:\/\/api.github.com\/repos\/guzzle\/guzzle\/zipball\/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
     15                "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
    1616                "shasum": ""
    1717            },
     
    4040                "psr\/log": "Required for using the Log middleware"
    4141            },
    42             "time": "2024-07-24T11:22:20+00:00",
     42            "time": "2025-03-27T13:37:11+00:00",
    4343            "type": "library",
    4444            "extra": {
     
    112112            "support": {
    113113                "issues": "https:\/\/github.com\/guzzle\/guzzle\/issues",
    114                 "source": "https:\/\/github.com\/guzzle\/guzzle\/tree\/7.9.2"
     114                "source": "https:\/\/github.com\/guzzle\/guzzle\/tree\/7.9.3"
    115115            },
    116116            "funding": [
     
    132132        {
    133133            "name": "guzzlehttp\/promises",
    134             "version": "2.0.4",
    135             "version_normalized": "2.0.4.0",
     134            "version": "2.2.0",
     135            "version_normalized": "2.2.0.0",
    136136            "source": {
    137137                "type": "git",
    138138                "url": "https:\/\/github.com\/guzzle\/promises.git",
    139                 "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455"
    140             },
    141             "dist": {
    142                 "type": "zip",
    143                 "url": "https:\/\/api.github.com\/repos\/guzzle\/promises\/zipball\/f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
    144                 "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
     139                "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c"
     140            },
     141            "dist": {
     142                "type": "zip",
     143                "url": "https:\/\/api.github.com\/repos\/guzzle\/promises\/zipball\/7c69f28996b0a6920945dd20b3857e499d9ca96c",
     144                "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c",
    145145                "shasum": ""
    146146            },
     
    152152                "phpunit\/phpunit": "^8.5.39 || ^9.6.20"
    153153            },
    154             "time": "2024-10-17T10:06:22+00:00",
     154            "time": "2025-03-27T13:27:01+00:00",
    155155            "type": "library",
    156156            "extra": {
     
    198198            "support": {
    199199                "issues": "https:\/\/github.com\/guzzle\/promises\/issues",
    200                 "source": "https:\/\/github.com\/guzzle\/promises\/tree\/2.0.4"
     200                "source": "https:\/\/github.com\/guzzle\/promises\/tree\/2.2.0"
    201201            },
    202202            "funding": [
     
    218218        {
    219219            "name": "guzzlehttp\/psr7",
    220             "version": "2.7.0",
    221             "version_normalized": "2.7.0.0",
     220            "version": "2.7.1",
     221            "version_normalized": "2.7.1.0",
    222222            "source": {
    223223                "type": "git",
    224224                "url": "https:\/\/github.com\/guzzle\/psr7.git",
    225                 "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
    226             },
    227             "dist": {
    228                 "type": "zip",
    229                 "url": "https:\/\/api.github.com\/repos\/guzzle\/psr7\/zipball\/a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
    230                 "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
     225                "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16"
     226            },
     227            "dist": {
     228                "type": "zip",
     229                "url": "https:\/\/api.github.com\/repos\/guzzle\/psr7\/zipball\/c2270caaabe631b3b44c85f99e5a04bbb8060d16",
     230                "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16",
    231231                "shasum": ""
    232232            },
     
    249249                "laminas\/laminas-httphandlerrunner": "Emit PSR-7 responses"
    250250            },
    251             "time": "2024-07-18T11:15:46+00:00",
     251            "time": "2025-03-27T12:30:47+00:00",
    252252            "type": "library",
    253253            "extra": {
     
    317317            "support": {
    318318                "issues": "https:\/\/github.com\/guzzle\/psr7\/issues",
    319                 "source": "https:\/\/github.com\/guzzle\/psr7\/tree\/2.7.0"
     319                "source": "https:\/\/github.com\/guzzle\/psr7\/tree\/2.7.1"
    320320            },
    321321            "funding": [
     
    11681168        {
    11691169            "name": "wpify\/log",
    1170             "version": "1.0.10",
    1171             "version_normalized": "1.0.10.0",
     1170            "version": "1.1.1",
     1171            "version_normalized": "1.1.1.0",
    11721172            "source": {
    11731173                "type": "git",
    11741174                "url": "https:\/\/github.com\/wpify\/log.git",
    1175                 "reference": "43bb35f12babe33b0343bb3d3f85239248c48701"
    1176             },
    1177             "dist": {
    1178                 "type": "zip",
    1179                 "url": "https:\/\/api.github.com\/repos\/wpify\/log\/zipball\/43bb35f12babe33b0343bb3d3f85239248c48701",
    1180                 "reference": "43bb35f12babe33b0343bb3d3f85239248c48701",
     1175                "reference": "5b856a623a574d3ba4f2138d5f4d94c0625329ff"
     1176            },
     1177            "dist": {
     1178                "type": "zip",
     1179                "url": "https:\/\/api.github.com\/repos\/wpify\/log\/zipball\/5b856a623a574d3ba4f2138d5f4d94c0625329ff",
     1180                "reference": "5b856a623a574d3ba4f2138d5f4d94c0625329ff",
    11811181                "shasum": ""
    11821182            },
     
    11851185                "psr\/log": "1.1.4"
    11861186            },
    1187             "time": "2022-11-15T20:50:07+00:00",
     1187            "time": "2025-06-04T15:03:26+00:00",
    11881188            "type": "library",
    11891189            "installation-source": "dist",
     
    12061206            "support": {
    12071207                "issues": "https:\/\/github.com\/wpify\/log\/issues",
    1208                 "source": "https:\/\/github.com\/wpify\/log\/tree\/1.0.10"
     1208                "source": "https:\/\/github.com\/wpify\/log\/tree\/1.1.1"
    12091209            },
    12101210            "install-path": "..\/wpify\/log"
     
    12121212        {
    12131213            "name": "wpify\/model",
    1214             "version": "4.1.21",
    1215             "version_normalized": "4.1.21.0",
     1214            "version": "4.1.24",
     1215            "version_normalized": "4.1.24.0",
    12161216            "source": {
    12171217                "type": "git",
    12181218                "url": "https:\/\/github.com\/wpify\/model.git",
    1219                 "reference": "64ece3dfe1431f8d353e38c2d40465f64040e0f9"
    1220             },
    1221             "dist": {
    1222                 "type": "zip",
    1223                 "url": "https:\/\/api.github.com\/repos\/wpify\/model\/zipball\/64ece3dfe1431f8d353e38c2d40465f64040e0f9",
    1224                 "reference": "64ece3dfe1431f8d353e38c2d40465f64040e0f9",
     1219                "reference": "ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec"
     1220            },
     1221            "dist": {
     1222                "type": "zip",
     1223                "url": "https:\/\/api.github.com\/repos\/wpify\/model\/zipball\/ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec",
     1224                "reference": "ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec",
    12251225                "shasum": ""
    12261226            },
     
    12281228                "php": ">=8.0.0"
    12291229            },
    1230             "time": "2025-01-24T09:07:27+00:00",
     1230            "time": "2025-05-21T09:30:57+00:00",
    12311231            "type": "library",
    12321232            "installation-source": "dist",
     
    12491249            "support": {
    12501250                "issues": "https:\/\/github.com\/wpify\/model\/issues",
    1251                 "source": "https:\/\/github.com\/wpify\/model\/tree\/4.1.21"
     1251                "source": "https:\/\/github.com\/wpify\/model\/tree\/4.1.24"
    12521252            },
    12531253            "install-path": "..\/wpify\/model"
  • muzapay/trunk/vendor/prefixed/composer/installed.php

    r3253891 r3313862  
    33namespace MuzaPayDeps;
    44
    5 return array('root' => array('name' => 'wpify/muzapay', 'pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('guzzlehttp/guzzle' => array('pretty_version' => '7.9.2', 'version' => '7.9.2.0', 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.0', 'version' => '2.7.0.0', 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '7.0.0', 'version' => '7.0.0.0', 'reference' => 'f0ca9a0e0fb800974fcaf7b2f896ca1e840fd15b', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/benefit-plus-gateway-sdk' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'aacc448402d5e072e1616836b34f7a4d8098c272', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/benefit-plus-gateway-sdk', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '3.14.2', 'version' => '3.14.2.0', 'reference' => 'a04885848f045700cb1430becd41a82c9a711db2', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.0.10', 'version' => '1.0.10.0', 'reference' => '43bb35f12babe33b0343bb3d3f85239248c48701', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.21', 'version' => '4.1.21.0', 'reference' => '64ece3dfe1431f8d353e38c2d40465f64040e0f9', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/muzapay' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '95c0001003266ed1faeefc134e24f827d31d4b44', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => 'wpify/muzapay', 'pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('guzzlehttp/guzzle' => array('pretty_version' => '7.9.3', 'version' => '7.9.3.0', 'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.2.0', 'version' => '2.2.0.0', 'reference' => '7c69f28996b0a6920945dd20b3857e499d9ca96c', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.7.1', 'version' => '2.7.1.0', 'reference' => 'c2270caaabe631b3b44c85f99e5a04bbb8060d16', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'monolog/monolog' => array('pretty_version' => '2.10.0', 'version' => '2.10.0.0', 'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.6', 'version' => '2.3.6.0', 'reference' => '59f15608528d8a8838d69b422a919fd6b16aa576', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '7.0.0', 'version' => '7.0.0.0', 'reference' => 'f0ca9a0e0fb800974fcaf7b2f896ca1e840fd15b', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0.0 || 2.0.0 || 3.0.0')), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/benefit-plus-gateway-sdk' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'aacc448402d5e072e1616836b34f7a4d8098c272', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/benefit-plus-gateway-sdk', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '3.14.2', 'version' => '3.14.2.0', 'reference' => 'a04885848f045700cb1430becd41a82c9a711db2', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '5b856a623a574d3ba4f2138d5f4d94c0625329ff', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.24', 'version' => '4.1.24.0', 'reference' => 'ebcac0038014dd0a8d7af5b31e3ee1efa542e9ec', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/muzapay' => array('pretty_version' => '1.1.1', 'version' => '1.1.1.0', 'reference' => '57a1a90155da6b1c9e3df5ceb279b1ae0dcaa5d9', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));
  • muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/CHANGELOG.md

    r3179972 r3313862  
    22
    33Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.
     4
     5
     6## 7.9.3 - 2025-03-27
     7
     8### Changed
     9
     10- Remove explicit content-length header for GET requests
     11- Improve compatibility with bad servers for boolean cookie values
    412
    513
  • muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Cookie/SetCookie.php

    r3207002 r3313862  
    4747                                $data[$search] = (int) $value;
    4848                            }
     49                        } elseif ($search === 'Secure' || $search === 'Discard' || $search === 'HttpOnly') {
     50                            if ($value) {
     51                                $data[$search] = \true;
     52                            }
    4953                        } else {
    5054                            $data[$search] = $value;
  • muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Handler/Proxy.php

    r3207002 r3313862  
    1717     * requests to another handler.
    1818     *
    19      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for normal responses
    20      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $sync    Handler used for synchronous responses.
     19     * @param callable(RequestInterface, array): PromiseInterface $default Handler used for normal responses
     20     * @param callable(RequestInterface, array): PromiseInterface $sync    Handler used for synchronous responses.
    2121     *
    22      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
     22     * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
    2323     */
    2424    public static function wrapSync(callable $default, callable $sync): callable
     
    3636     * through the StreamHandler.
    3737     *
    38      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default   Handler used for non-streaming responses
    39      * @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $streaming Handler used for streaming responses
     38     * @param callable(RequestInterface, array): PromiseInterface $default   Handler used for non-streaming responses
     39     * @param callable(RequestInterface, array): PromiseInterface $streaming Handler used for streaming responses
    4040     *
    41      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
     41     * @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
    4242     */
    4343    public static function wrapStreaming(callable $default, callable $streaming): callable
  • muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Handler/StreamHandler.php

    r3207002 r3313862  
    4747            $request = $request->withoutHeader('Expect');
    4848            // Append a content-length header if body size is zero to match
    49             // cURL's behavior.
    50             if (0 === $request->getBody()->getSize()) {
     49            // the behavior of `CurlHandler`
     50            if ((0 === \strcasecmp('PUT', $request->getMethod()) || 0 === \strcasecmp('POST', $request->getMethod())) && 0 === $request->getBody()->getSize()) {
    5151                $request = $request->withHeader('Content-Length', '0');
    5252            }
  • muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Pool.php

    r3207002 r3313862  
    8080     * @param array|\Iterator $requests Requests to send concurrently.
    8181     * @param array           $options  Passes through the options available in
    82      *                                  {@see \GuzzleHttp\Pool::__construct}
     82     *                                  {@see Pool::__construct}
    8383     *
    8484     * @return array Returns an array containing the response or an exception
  • muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/Utils.php

    r3207002 r3313862  
    7272     * The returned handler is not wrapped by any default middlewares.
    7373     *
    74      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
     74     * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
    7575     *
    7676     * @throws \RuntimeException if no viable Handler is available.
  • muzapay/trunk/vendor/prefixed/guzzlehttp/guzzle/src/functions.php

    r3207002 r3313862  
    4848 * The returned handler is not wrapped by any default middlewares.
    4949 *
    50  * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
     50 * @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
    5151 *
    5252 * @throws \RuntimeException if no viable Handler is available.
  • muzapay/trunk/vendor/prefixed/guzzlehttp/promises/CHANGELOG.md

    r3207002 r3313862  
    11# CHANGELOG
     2
     3
     4## 2.2.0 - 2025-03-27
     5
     6### Fixed
     7
     8- Revert "Allow an empty EachPromise to be resolved by running the queue"
     9
     10
     11## 2.1.0 - 2025-03-27
     12
     13### Added
     14
     15- Allow an empty EachPromise to be resolved by running the queue
    216
    317
  • muzapay/trunk/vendor/prefixed/guzzlehttp/psr7/CHANGELOG.md

    r3179972 r3313862  
    55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    66and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     7
     8## 2.7.1 - 2025-03-27
     9
     10### Fixed
     11
     12- Fixed uppercase IPv6 addresses in URI
     13
     14### Changed
     15
     16- Improve uploaded file error message
    717
    818## 2.7.0 - 2024-07-18
  • muzapay/trunk/vendor/prefixed/guzzlehttp/psr7/src/UploadedFile.php

    r3207002 r3313862  
    1010class UploadedFile implements UploadedFileInterface
    1111{
    12     private const ERRORS = [\UPLOAD_ERR_OK, \UPLOAD_ERR_INI_SIZE, \UPLOAD_ERR_FORM_SIZE, \UPLOAD_ERR_PARTIAL, \UPLOAD_ERR_NO_FILE, \UPLOAD_ERR_NO_TMP_DIR, \UPLOAD_ERR_CANT_WRITE, \UPLOAD_ERR_EXTENSION];
     12    private const ERROR_MAP = [\UPLOAD_ERR_OK => 'UPLOAD_ERR_OK', \UPLOAD_ERR_INI_SIZE => 'UPLOAD_ERR_INI_SIZE', \UPLOAD_ERR_FORM_SIZE => 'UPLOAD_ERR_FORM_SIZE', \UPLOAD_ERR_PARTIAL => 'UPLOAD_ERR_PARTIAL', \UPLOAD_ERR_NO_FILE => 'UPLOAD_ERR_NO_FILE', \UPLOAD_ERR_NO_TMP_DIR => 'UPLOAD_ERR_NO_TMP_DIR', \UPLOAD_ERR_CANT_WRITE => 'UPLOAD_ERR_CANT_WRITE', \UPLOAD_ERR_EXTENSION => 'UPLOAD_ERR_EXTENSION'];
    1313    /**
    1414     * @var string|null
     
    7676    private function setError(int $error): void
    7777    {
    78         if (\false === in_array($error, UploadedFile::ERRORS, \true)) {
     78        if (!isset(UploadedFile::ERROR_MAP[$error])) {
    7979            throw new InvalidArgumentException('Invalid error status for UploadedFile');
    8080        }
     
    102102    {
    103103        if (\false === $this->isOk()) {
    104             throw new RuntimeException('Cannot retrieve stream due to upload error');
     104            throw new RuntimeException(\sprintf('Cannot retrieve stream due to upload error (%s)', self::ERROR_MAP[$this->error]));
    105105        }
    106106        if ($this->isMoved()) {
  • muzapay/trunk/vendor/prefixed/guzzlehttp/psr7/src/Uri.php

    r3207002 r3313862  
    8181        // If IPv6
    8282        $prefix = '';
    83         if (preg_match('%^(.*://\[[0-9:a-f]+\])(.*?)$%', $url, $matches)) {
     83        if (preg_match('%^(.*://\[[0-9:a-fA-F]+\])(.*?)$%', $url, $matches)) {
    8484            /** @var array{0:string, 1:string, 2:string} $matches */
    8585            $prefix = $matches[1];
  • muzapay/trunk/vendor/prefixed/scoper-autoload.php

    r3207002 r3313862  
    2323// Function aliases. For more information see:
    2424// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
    25 // if (!function_exists('getallheaders')) { function getallheaders() { return \MuzaPayDeps\getallheaders(...func_get_args()); } }
     25// if (!function_exists('getallheaders')) { function getallheaders() { return \MuzaPayDeps\getallheaders(...func_get_args()); } } // commented by WPify Scoper
    2626
    2727return $loader;
  • muzapay/trunk/vendor/prefixed/wpify/log/src/Log.php

    r3207002 r3313862  
    1313    private $channel;
    1414    private $handlers;
     15    private $menu_args;
    1516    /**
    1617     * Detailed debug information
     
    5455     * @param  string  $channel
    5556     * @param  array  $handlers
     57     * @param  array  $menu_args
    5658     */
    57     public function __construct(string $channel, array $handlers = [])
     59    public function __construct(string $channel, array $handlers = [], array $menu_args = [])
    5860    {
    5961        $this->channel = $channel;
    6062        $this->handlers = $handlers;
     63        $this->menu_args = $menu_args;
    6164        $this->logger = new Logger($this->channel);
    6265        foreach ($handlers as $handler) {
     
    7376        if (!apply_filters('wpify_log_tools_initialized', \false)) {
    7477            add_filter('wpify_log_tools_initialized', '__return_true');
    75             new Tools();
     78            new Tools($this->menu_args);
    7679        }
    7780    }
  • muzapay/trunk/vendor/prefixed/wpify/log/src/RotatingFileLog.php

    r3207002 r3313862  
    1212     * @param string                  $path
    1313     * @param FormatterInterface|null $formatter
     14     * @param array                   $menu_args
    1415     */
    15     public function __construct(string $channel, string $path = '', ?FormatterInterface $formatter = null)
     16    public function __construct(string $channel, string $path = '', ?FormatterInterface $formatter = null, array $menu_args = [])
    1617    {
    1718        $filename = sprintf('wpify_log_%s', $channel);
     
    2728        $handler = new RotatingFileHandler($path, 5, Logger::DEBUG, \true, 0660);
    2829        $handler->setFormatter($formatter ?? new JsonFormatter());
    29         parent::__construct($channel, [$handler]);
     30        parent::__construct($channel, [$handler], $menu_args);
    3031    }
    3132}
  • muzapay/trunk/vendor/prefixed/wpify/log/src/Tools.php

    r3207002 r3313862  
    55class Tools
    66{
    7     public function __construct()
     7    private $menu_args;
     8    public function __construct(array $menu_args = [])
    89    {
    9         add_action('admin_menu', [$this, 'add_menu_page']);
     10        $this->menu_args = $menu_args;
     11        add_action('admin_menu', [$this, 'add_menu_page'], 99);
    1012    }
    1113    public function add_menu_page()
    1214    {
    13         add_submenu_page('tools.php', __('WPify Logs', 'muzapay'), __('WPify Logs', 'muzapay'), 'read', 'wpify-logs', [$this, 'logs_screen']);
     15        add_submenu_page($this->menu_args['parent_slug'] ?? 'tools.php', $this->menu_args['page_title'] ?? __('WPify Logs', 'muzapay'), $this->menu_args['menu_title'] ?? __('WPify Logs', 'muzapay'), $this->menu_args['capability'] ?? 'read', $this->menu_args['menu_slug'] ?? 'wpify-logs', [$this, 'logs_screen'], 109);
    1416    }
    1517    public function logs_screen()
     
    3133        _e('WPify Logs', 'muzapay');
    3234        ?></h2>
    33             <form action="">
     35            <form action="" style="justify-content: start; margin-bottom: 20px">
    3436                <select name="log-file" id="log-file" style="max-width: 300px;">
    3537                    <option value=""></option>
     
    4446            echo basename($file);
    4547            ?></option>
    46                     <?php
     48                        <?php
    4749        }
    4850        ?>
     
    5355        </div>
    5456
    55         <?php
     57        <div class="wrap">
     58            <?php
    5659        if (!empty($_GET['log-file'])) {
    5760            $file = str_replace('\\\\', '\\', $_GET['log-file']);
    5861            if (!\in_array($file, $files)) {
    5962                ?>
    60                 <p><?php
     63                    <p><?php
    6164                _e('File not found, cheating, huh?', 'muzapay');
    6265                ?></p>
    63                 <?php
     66                    <?php
    6467            } else {
    6568                $logs = array_map(function ($item) {
     
    7174                        $header[] = $key;
    7275                    }
     76                    echo '<pre>';
     77                    //                      var_dump( $logs );
     78                    echo '</pre>';
    7379                    ?>
    7480
    75                     <table class="wp-list-table widefat fixed striped table-view-list posts">
    76                         <thead>
    77                         <tr>
    78                             <?php
     81                        <table class="wp-list-table widefat fixed striped table-view-list posts">
     82                            <thead>
     83                            <tr>
     84                                <?php
    7985                    foreach ($header as $item) {
    8086                        ?>
    81                                 <th><?php
     87                                    <th style="width: <?php
     88                        echo $this->column_width($item);
     89                        ?>"><?php
    8290                        echo $item;
    8391                        ?></th>
    84                             <?php
     92                                    <?php
    8593                    }
    8694                    ?>
    87                         </tr>
    88                         </thead>
    89                         <tbody>
    90                         <?php
     95                            </tr>
     96                            </thead>
     97                            <tbody>
     98                            <?php
    9199                    foreach ($logs as $log) {
    92100                        ?>
    93                             <tr>
    94                                 <?php
    95                         foreach ($log as $item) {
     101                                <tr>
     102                                    <?php
     103                        foreach ($log as $key => $item) {
    96104                            ?>
    97                                     <td><?php
    98                             echo is_array($item) ? json_encode($item) : $item;
     105                                        <td style="width: <?php
     106                            echo $this->column_width($key);
     107                            ?>"><?php
     108                            $this->pretty_print_log_item($item);
    99109                            ?></td>
    100                                 <?php
     110                                        <?php
    101111                        }
    102112                        ?>
    103                             </tr>
    104                         <?php
     113                                </tr>
     114                                <?php
    105115                    }
    106116                    ?>
    107                         </tbody>
    108                     </table>
    109                     <?php
     117                            </tbody>
     118                        </table>
     119                        <?php
    110120                }
    111121            }
    112122        }
     123        ?>
     124        </div>
     125        <?php
     126    }
     127    public function column_width($key)
     128    {
     129        switch ($key) {
     130            case 'context':
     131                $width = '44%';
     132                break;
     133            case 'level':
     134            case 'level_name':
     135            case 'extra':
     136                $width = '7%';
     137                break;
     138            default:
     139                $width = '15%';
     140                break;
     141        }
     142        return $width;
     143    }
     144    public function pretty_print_log_item($item)
     145    {
     146        if (is_string($item) && ($item[0] === '{' && str_ends_with($item, '}') || $item[0] === '[' && str_ends_with($item, ']'))) {
     147            $decoded = json_decode($item, \true);
     148            if (json_last_error() === \JSON_ERROR_NONE) {
     149                $item = $decoded;
     150            }
     151        }
     152        if (is_array($item)) {
     153            $json = json_encode($item, \JSON_UNESCAPED_UNICODE | \JSON_PRETTY_PRINT);
     154            $body = trim($json);
     155            if ($body[0] === '{' && substr($body, -1) === '}') {
     156                $body = substr($body, 1, -1);
     157            }
     158            echo '<pre style="white-space: pre-wrap; word-break: break-all; font-size:13px; margin:0;">' . $body . '</pre>';
     159        } else {
     160            echo esc_html($item);
     161        }
    113162    }
    114163}
  • muzapay/trunk/vendor/prefixed/wpify/model/src/OrderItem.php

    r3207002 r3313862  
    3131     * Order item tax total.
    3232     */
    33     #[AccessorObject]
     33    #[AccessorObject('total_tax')]
    3434    public float $tax_total;
    3535    /**
     
    118118            }
    119119        }
     120        if (!$rate && $this->tax_total && $this->unit_price_tax_excluded !== $this->unit_price_tax_included) {
     121            $rate = \round($this->tax_total / ($this->wc_order_item->get_total() / 100));
     122        }
    120123        return \floatval($rate);
    121124    }
  • muzapay/trunk/vendor/prefixed/wpify/model/src/PostRepository.php

    r3207002 r3313862  
    1717class PostRepository extends Repository
    1818{
    19     private ?WP_Query $query;
     19    protected ?WP_Query $query;
    2020    /**
    2121     * Returns the model class name.
     
    116116                continue;
    117117            }
    118             $source = $prop['source'];
     118            $source = $prop['source'] ?? null;
    119119            $key = $source->key ?? $prop['name'];
    120120            if (method_exists($model, 'persist_' . $prop['name'])) {
Note: See TracChangeset for help on using the changeset viewer.