Plugin Directory

Changeset 2458198


Ignore:
Timestamp:
01/18/2021 11:07:18 AM (5 years ago)
Author:
andrei.igna
Message:

v1.4.4 - Updated deps & WP version compatible

Location:
quick-login/trunk
Files:
23 added
6 deleted
80 edited

Legend:

Unmodified
Added
Removed
  • quick-login/trunk/composer.lock

    r2364279 r2458198  
    99        {
    1010            "name": "composer/installers",
    11             "version": "v1.9.0",
     11            "version": "v1.10.0",
    1212            "source": {
    1313                "type": "git",
    1414                "url": "https://github.com/composer/installers.git",
    15                 "reference": "b93bcf0fa1fccb0b7d176b0967d969691cd74cca"
    16             },
    17             "dist": {
    18                 "type": "zip",
    19                 "url": "https://api.github.com/repos/composer/installers/zipball/b93bcf0fa1fccb0b7d176b0967d969691cd74cca",
    20                 "reference": "b93bcf0fa1fccb0b7d176b0967d969691cd74cca",
     15                "reference": "1a0357fccad9d1cc1ea0c9a05b8847fbccccb78d"
     16            },
     17            "dist": {
     18                "type": "zip",
     19                "url": "https://api.github.com/repos/composer/installers/zipball/1a0357fccad9d1cc1ea0c9a05b8847fbccccb78d",
     20                "reference": "1a0357fccad9d1cc1ea0c9a05b8847fbccccb78d",
    2121                "shasum": ""
    2222            },
     
    2929            },
    3030            "require-dev": {
    31                 "composer/composer": "1.6.* || 2.0.*@dev",
    32                 "composer/semver": "1.0.* || 2.0.*@dev",
    33                 "phpunit/phpunit": "^4.8.36",
    34                 "sebastian/comparator": "^1.2.4",
     31                "composer/composer": "1.6.* || ^2.0",
     32                "composer/semver": "^1 || ^3",
     33                "phpstan/phpstan": "^0.12.55",
     34                "phpstan/phpstan-phpunit": "^0.12.16",
     35                "symfony/phpunit-bridge": "^4.2 || ^5",
    3536                "symfony/process": "^2.3"
    3637            },
     
    3940                "class": "Composer\\Installers\\Plugin",
    4041                "branch-alias": {
    41                     "dev-master": "1.0-dev"
     42                    "dev-main": "1.x-dev"
    4243                }
    4344            },
     
    7778                "RadPHP",
    7879                "SMF",
     80                "Starbug",
    7981                "Thelia",
    8082                "Whmcs",
     
    117119                "piwik",
    118120                "ppi",
     121                "processwire",
    119122                "puppet",
    120123                "pxcms",
     
    132135                "zikula"
    133136            ],
    134             "time": "2020-04-07T06:57:05+00:00"
     137            "funding": [
     138                {
     139                    "url": "https://packagist.com",
     140                    "type": "custom"
     141                },
     142                {
     143                    "url": "https://github.com/composer",
     144                    "type": "github"
     145                },
     146                {
     147                    "url": "https://tidelift.com/funding/github/packagist/composer/composer",
     148                    "type": "tidelift"
     149                }
     150            ],
     151            "time": "2021-01-14T11:07:16+00:00"
    135152        },
    136153        {
     
    203220        {
    204221            "name": "guzzlehttp/promises",
    205             "version": "v1.3.1",
     222            "version": "1.4.0",
    206223            "source": {
    207224                "type": "git",
    208225                "url": "https://github.com/guzzle/promises.git",
    209                 "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
    210             },
    211             "dist": {
    212                 "type": "zip",
    213                 "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
    214                 "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
    215                 "shasum": ""
    216             },
    217             "require": {
    218                 "php": ">=5.5.0"
     226                "reference": "60d379c243457e073cff02bc323a2a86cb355631"
     227            },
     228            "dist": {
     229                "type": "zip",
     230                "url": "https://api.github.com/repos/guzzle/promises/zipball/60d379c243457e073cff02bc323a2a86cb355631",
     231                "reference": "60d379c243457e073cff02bc323a2a86cb355631",
     232                "shasum": ""
     233            },
     234            "require": {
     235                "php": ">=5.5"
    219236            },
    220237            "require-dev": {
    221                 "phpunit/phpunit": "^4.0"
     238                "symfony/phpunit-bridge": "^4.4 || ^5.1"
    222239            },
    223240            "type": "library",
     
    250267                "promise"
    251268            ],
    252             "time": "2016-12-20T10:07:11+00:00"
     269            "time": "2020-09-30T07:37:28+00:00"
    253270        },
    254271        {
    255272            "name": "guzzlehttp/psr7",
    256             "version": "1.6.1",
     273            "version": "1.7.0",
    257274            "source": {
    258275                "type": "git",
    259276                "url": "https://github.com/guzzle/psr7.git",
    260                 "reference": "239400de7a173fe9901b9ac7c06497751f00727a"
    261             },
    262             "dist": {
    263                 "type": "zip",
    264                 "url": "https://api.github.com/repos/guzzle/psr7/zipball/239400de7a173fe9901b9ac7c06497751f00727a",
    265                 "reference": "239400de7a173fe9901b9ac7c06497751f00727a",
     277                "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3"
     278            },
     279            "dist": {
     280                "type": "zip",
     281                "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3",
     282                "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3",
    266283                "shasum": ""
    267284            },
     
    276293            "require-dev": {
    277294                "ext-zlib": "*",
    278                 "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
     295                "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10"
    279296            },
    280297            "suggest": {
    281                 "zendframework/zend-httphandlerrunner": "Emit PSR-7 responses"
     298                "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
    282299            },
    283300            "type": "library",
    284301            "extra": {
    285302                "branch-alias": {
    286                     "dev-master": "1.6-dev"
     303                    "dev-master": "1.7-dev"
    287304                }
    288305            },
     
    321338                "url"
    322339            ],
    323             "time": "2019-07-01T23:21:34+00:00"
     340            "time": "2020-09-30T07:37:11+00:00"
    324341        },
    325342        {
     
    437454        {
    438455            "name": "league/oauth2-client",
    439             "version": "2.5.0",
     456            "version": "2.6.0",
    440457            "source": {
    441458                "type": "git",
    442459                "url": "https://github.com/thephpleague/oauth2-client.git",
    443                 "reference": "d9f2a1e000dc14eb3c02e15d15759385ec7ff0fb"
    444             },
    445             "dist": {
    446                 "type": "zip",
    447                 "url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/d9f2a1e000dc14eb3c02e15d15759385ec7ff0fb",
    448                 "reference": "d9f2a1e000dc14eb3c02e15d15759385ec7ff0fb",
     460                "reference": "badb01e62383430706433191b82506b6df24ad98"
     461            },
     462            "dist": {
     463                "type": "zip",
     464                "url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/badb01e62383430706433191b82506b6df24ad98",
     465                "reference": "badb01e62383430706433191b82506b6df24ad98",
    449466                "shasum": ""
    450467            },
    451468            "require": {
    452469                "guzzlehttp/guzzle": "^6.0 || ^7.0",
    453                 "paragonie/random_compat": "^1|^2|^9.99",
    454                 "php": "^5.6|^7.0"
     470                "paragonie/random_compat": "^1 || ^2 || ^9.99",
     471                "php": "^5.6 || ^7.0 || ^8.0"
    455472            },
    456473            "require-dev": {
    457                 "eloquent/liberator": "^2.0",
    458                 "eloquent/phony-phpunit": "^1.0|^3.0",
    459                 "jakub-onderka/php-parallel-lint": "^0.9.2",
    460                 "phpunit/phpunit": "^5.7|^6.0",
    461                 "squizlabs/php_codesniffer": "^2.3|^3.0"
     474                "mockery/mockery": "^1.3",
     475                "php-parallel-lint/php-parallel-lint": "^1.2",
     476                "phpunit/phpunit": "^5.7 || ^6.0 || ^9.3",
     477                "squizlabs/php_codesniffer": "^2.3 || ^3.0"
    462478            },
    463479            "type": "library",
     
    500516                "single sign on"
    501517            ],
    502             "time": "2020-07-18T17:54:32+00:00"
     518            "time": "2020-10-28T02:03:40+00:00"
    503519        },
    504520        {
    505521            "name": "league/oauth2-facebook",
    506             "version": "2.0.2",
     522            "version": "2.0.3",
    507523            "source": {
    508524                "type": "git",
    509525                "url": "https://github.com/thephpleague/oauth2-facebook.git",
    510                 "reference": "c482a851c93a6cb718270773635d6a0c8384b560"
    511             },
    512             "dist": {
    513                 "type": "zip",
    514                 "url": "https://api.github.com/repos/thephpleague/oauth2-facebook/zipball/c482a851c93a6cb718270773635d6a0c8384b560",
    515                 "reference": "c482a851c93a6cb718270773635d6a0c8384b560",
     526                "reference": "093cf588b9d508ee426c71d6bc68f138fe914ddc"
     527            },
     528            "dist": {
     529                "type": "zip",
     530                "url": "https://api.github.com/repos/thephpleague/oauth2-facebook/zipball/093cf588b9d508ee426c71d6bc68f138fe914ddc",
     531                "reference": "093cf588b9d508ee426c71d6bc68f138fe914ddc",
    516532                "shasum": ""
    517533            },
     
    552568                "oauth2"
    553569            ],
    554             "time": "2020-07-25T13:30:06+00:00"
     570            "time": "2020-10-01T15:22:47+00:00"
    555571        },
    556572        {
     
    663679        {
    664680            "name": "paragonie/random_compat",
    665             "version": "v2.0.18",
     681            "version": "v2.0.19",
    666682            "source": {
    667683                "type": "git",
    668684                "url": "https://github.com/paragonie/random_compat.git",
    669                 "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db"
    670             },
    671             "dist": {
    672                 "type": "zip",
    673                 "url": "https://api.github.com/repos/paragonie/random_compat/zipball/0a58ef6e3146256cc3dc7cc393927bcc7d1b72db",
    674                 "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db",
     685                "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241"
     686            },
     687            "dist": {
     688                "type": "zip",
     689                "url": "https://api.github.com/repos/paragonie/random_compat/zipball/446fc9faa5c2a9ddf65eb7121c0af7e857295241",
     690                "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241",
    675691                "shasum": ""
    676692            },
     
    708724                "random"
    709725            ],
    710             "time": "2019-01-03T20:59:08+00:00"
     726            "time": "2020-10-15T10:06:57+00:00"
    711727        },
    712728        {
     
    802818        {
    803819            "name": "symfony/polyfill-intl-idn",
    804             "version": "v1.18.1",
     820            "version": "v1.19.0",
    805821            "source": {
    806822                "type": "git",
    807823                "url": "https://github.com/symfony/polyfill-intl-idn.git",
    808                 "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251"
    809             },
    810             "dist": {
    811                 "type": "zip",
    812                 "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/5dcab1bc7146cf8c1beaa4502a3d9be344334251",
    813                 "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251",
     824                "reference": "4ad5115c0f5d5172a9fe8147675ec6de266d8826"
     825            },
     826            "dist": {
     827                "type": "zip",
     828                "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/4ad5115c0f5d5172a9fe8147675ec6de266d8826",
     829                "reference": "4ad5115c0f5d5172a9fe8147675ec6de266d8826",
    814830                "shasum": ""
    815831            },
     
    826842            "extra": {
    827843                "branch-alias": {
    828                     "dev-master": "1.18-dev"
     844                    "dev-main": "1.19-dev"
    829845                },
    830846                "thanks": {
     
    869885                "shim"
    870886            ],
    871             "time": "2020-08-04T06:02:08+00:00"
     887            "funding": [
     888                {
     889                    "url": "https://symfony.com/sponsor",
     890                    "type": "custom"
     891                },
     892                {
     893                    "url": "https://github.com/fabpot",
     894                    "type": "github"
     895                },
     896                {
     897                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     898                    "type": "tidelift"
     899                }
     900            ],
     901            "time": "2020-10-21T09:57:48+00:00"
    872902        },
    873903        {
    874904            "name": "symfony/polyfill-intl-normalizer",
    875             "version": "v1.18.1",
     905            "version": "v1.19.0",
    876906            "source": {
    877907                "type": "git",
    878908                "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
    879                 "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e"
    880             },
    881             "dist": {
    882                 "type": "zip",
    883                 "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
    884                 "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
     909                "reference": "8db0ae7936b42feb370840cf24de1a144fb0ef27"
     910            },
     911            "dist": {
     912                "type": "zip",
     913                "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8db0ae7936b42feb370840cf24de1a144fb0ef27",
     914                "reference": "8db0ae7936b42feb370840cf24de1a144fb0ef27",
    885915                "shasum": ""
    886916            },
     
    894924            "extra": {
    895925                "branch-alias": {
    896                     "dev-master": "1.18-dev"
     926                    "dev-main": "1.19-dev"
    897927                },
    898928                "thanks": {
     
    936966                "shim"
    937967            ],
    938             "time": "2020-07-14T12:35:20+00:00"
     968            "funding": [
     969                {
     970                    "url": "https://symfony.com/sponsor",
     971                    "type": "custom"
     972                },
     973                {
     974                    "url": "https://github.com/fabpot",
     975                    "type": "github"
     976                },
     977                {
     978                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     979                    "type": "tidelift"
     980                }
     981            ],
     982            "time": "2020-10-23T09:01:57+00:00"
    939983        },
    940984        {
    941985            "name": "symfony/polyfill-php70",
    942             "version": "v1.18.1",
     986            "version": "v1.19.0",
    943987            "source": {
    944988                "type": "git",
    945989                "url": "https://github.com/symfony/polyfill-php70.git",
    946                 "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3"
    947             },
    948             "dist": {
    949                 "type": "zip",
    950                 "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
    951                 "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
     990                "reference": "3fe414077251a81a1b15b1c709faf5c2fbae3d4e"
     991            },
     992            "dist": {
     993                "type": "zip",
     994                "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/3fe414077251a81a1b15b1c709faf5c2fbae3d4e",
     995                "reference": "3fe414077251a81a1b15b1c709faf5c2fbae3d4e",
    952996                "shasum": ""
    953997            },
     
    9591003            "extra": {
    9601004                "branch-alias": {
    961                     "dev-master": "1.18-dev"
     1005                    "dev-main": "1.19-dev"
    9621006                },
    9631007                "thanks": {
     
    9991043                "shim"
    10001044            ],
    1001             "time": "2020-07-14T12:35:20+00:00"
     1045            "funding": [
     1046                {
     1047                    "url": "https://symfony.com/sponsor",
     1048                    "type": "custom"
     1049                },
     1050                {
     1051                    "url": "https://github.com/fabpot",
     1052                    "type": "github"
     1053                },
     1054                {
     1055                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     1056                    "type": "tidelift"
     1057                }
     1058            ],
     1059            "time": "2020-10-23T09:01:57+00:00"
    10021060        },
    10031061        {
    10041062            "name": "symfony/polyfill-php72",
    1005             "version": "v1.18.1",
     1063            "version": "v1.19.0",
    10061064            "source": {
    10071065                "type": "git",
    10081066                "url": "https://github.com/symfony/polyfill-php72.git",
    1009                 "reference": "639447d008615574653fb3bc60d1986d7172eaae"
    1010             },
    1011             "dist": {
    1012                 "type": "zip",
    1013                 "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae",
    1014                 "reference": "639447d008615574653fb3bc60d1986d7172eaae",
     1067                "reference": "beecef6b463b06954638f02378f52496cb84bacc"
     1068            },
     1069            "dist": {
     1070                "type": "zip",
     1071                "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/beecef6b463b06954638f02378f52496cb84bacc",
     1072                "reference": "beecef6b463b06954638f02378f52496cb84bacc",
    10151073                "shasum": ""
    10161074            },
     
    10211079            "extra": {
    10221080                "branch-alias": {
    1023                     "dev-master": "1.18-dev"
     1081                    "dev-main": "1.19-dev"
    10241082                },
    10251083                "thanks": {
     
    10581116                "shim"
    10591117            ],
    1060             "time": "2020-07-14T12:35:20+00:00"
     1118            "funding": [
     1119                {
     1120                    "url": "https://symfony.com/sponsor",
     1121                    "type": "custom"
     1122                },
     1123                {
     1124                    "url": "https://github.com/fabpot",
     1125                    "type": "github"
     1126                },
     1127                {
     1128                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     1129                    "type": "tidelift"
     1130                }
     1131            ],
     1132            "time": "2020-10-23T09:01:57+00:00"
    10611133        }
    10621134    ],
     
    10731145    "platform-overrides": {
    10741146        "php": "5.6"
    1075     }
     1147    },
     1148    "plugin-api-version": "1.1.0"
    10761149}
  • quick-login/trunk/readme.txt

    r2364279 r2458198  
    33Tags: login, social login, twitter, google, facebook, linkedin, slack, oauth, register
    44Requires at least: 4
    5 Tested up to: 5.5
     5Tested up to: 5.6
    66Requires PHP: 5.6
    77Stable tag: trunk
     
    9191== Changelog ==
    9292
     93= 1.4.4 - 18 January 2020 =
     94* Updated - Compatibility with WordPress 5.5
     95* Updated - Dependencies for OAuth code libraries
     96
    9397= 1.4.3 - 18 Aug 2020 =
    9498* Updated - Compatibility with WordPress 5.5
  • quick-login/trunk/vendor/composer/ClassLoader.php

    r2114185 r2458198  
    6161    {
    6262        if (!empty($this->prefixesPsr0)) {
    63             return call_user_func_array('array_merge', $this->prefixesPsr0);
     63            return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
    6464        }
    6565
  • quick-login/trunk/vendor/composer/autoload_classmap.php

    r2364279 r2458198  
    7777    'Composer\\Installers\\PortoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
    7878    'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
     79    'Composer\\Installers\\ProcessWireInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ProcessWireInstaller.php',
    7980    'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
    8081    'Composer\\Installers\\PxcmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
     
    8889    'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
    8990    'Composer\\Installers\\SiteDirectInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
     91    'Composer\\Installers\\StarbugInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/StarbugInstaller.php',
    9092    'Composer\\Installers\\SyDESInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
    9193    'Composer\\Installers\\SyliusInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyliusInstaller.php',
     
    140142    'GuzzleHttp\\Promise\\CancellationException' => $vendorDir . '/guzzlehttp/promises/src/CancellationException.php',
    141143    'GuzzleHttp\\Promise\\Coroutine' => $vendorDir . '/guzzlehttp/promises/src/Coroutine.php',
     144    'GuzzleHttp\\Promise\\Create' => $vendorDir . '/guzzlehttp/promises/src/Create.php',
     145    'GuzzleHttp\\Promise\\Each' => $vendorDir . '/guzzlehttp/promises/src/Each.php',
    142146    'GuzzleHttp\\Promise\\EachPromise' => $vendorDir . '/guzzlehttp/promises/src/EachPromise.php',
    143147    'GuzzleHttp\\Promise\\FulfilledPromise' => $vendorDir . '/guzzlehttp/promises/src/FulfilledPromise.php',
     148    'GuzzleHttp\\Promise\\Is' => $vendorDir . '/guzzlehttp/promises/src/Is.php',
    144149    'GuzzleHttp\\Promise\\Promise' => $vendorDir . '/guzzlehttp/promises/src/Promise.php',
    145150    'GuzzleHttp\\Promise\\PromiseInterface' => $vendorDir . '/guzzlehttp/promises/src/PromiseInterface.php',
     
    149154    'GuzzleHttp\\Promise\\TaskQueue' => $vendorDir . '/guzzlehttp/promises/src/TaskQueue.php',
    150155    'GuzzleHttp\\Promise\\TaskQueueInterface' => $vendorDir . '/guzzlehttp/promises/src/TaskQueueInterface.php',
     156    'GuzzleHttp\\Promise\\Utils' => $vendorDir . '/guzzlehttp/promises/src/Utils.php',
    151157    'GuzzleHttp\\Psr7\\AppendStream' => $vendorDir . '/guzzlehttp/psr7/src/AppendStream.php',
    152158    'GuzzleHttp\\Psr7\\BufferStream' => $vendorDir . '/guzzlehttp/psr7/src/BufferStream.php',
     
    154160    'GuzzleHttp\\Psr7\\DroppingStream' => $vendorDir . '/guzzlehttp/psr7/src/DroppingStream.php',
    155161    'GuzzleHttp\\Psr7\\FnStream' => $vendorDir . '/guzzlehttp/psr7/src/FnStream.php',
     162    'GuzzleHttp\\Psr7\\Header' => $vendorDir . '/guzzlehttp/psr7/src/Header.php',
    156163    'GuzzleHttp\\Psr7\\InflateStream' => $vendorDir . '/guzzlehttp/psr7/src/InflateStream.php',
    157164    'GuzzleHttp\\Psr7\\LazyOpenStream' => $vendorDir . '/guzzlehttp/psr7/src/LazyOpenStream.php',
    158165    'GuzzleHttp\\Psr7\\LimitStream' => $vendorDir . '/guzzlehttp/psr7/src/LimitStream.php',
     166    'GuzzleHttp\\Psr7\\Message' => $vendorDir . '/guzzlehttp/psr7/src/Message.php',
    159167    'GuzzleHttp\\Psr7\\MessageTrait' => $vendorDir . '/guzzlehttp/psr7/src/MessageTrait.php',
     168    'GuzzleHttp\\Psr7\\MimeType' => $vendorDir . '/guzzlehttp/psr7/src/MimeType.php',
    160169    'GuzzleHttp\\Psr7\\MultipartStream' => $vendorDir . '/guzzlehttp/psr7/src/MultipartStream.php',
    161170    'GuzzleHttp\\Psr7\\NoSeekStream' => $vendorDir . '/guzzlehttp/psr7/src/NoSeekStream.php',
    162171    'GuzzleHttp\\Psr7\\PumpStream' => $vendorDir . '/guzzlehttp/psr7/src/PumpStream.php',
     172    'GuzzleHttp\\Psr7\\Query' => $vendorDir . '/guzzlehttp/psr7/src/Query.php',
    163173    'GuzzleHttp\\Psr7\\Request' => $vendorDir . '/guzzlehttp/psr7/src/Request.php',
    164174    'GuzzleHttp\\Psr7\\Response' => $vendorDir . '/guzzlehttp/psr7/src/Response.php',
     
    172182    'GuzzleHttp\\Psr7\\UriNormalizer' => $vendorDir . '/guzzlehttp/psr7/src/UriNormalizer.php',
    173183    'GuzzleHttp\\Psr7\\UriResolver' => $vendorDir . '/guzzlehttp/psr7/src/UriResolver.php',
     184    'GuzzleHttp\\Psr7\\Utils' => $vendorDir . '/guzzlehttp/psr7/src/Utils.php',
    174185    'GuzzleHttp\\RedirectMiddleware' => $vendorDir . '/guzzlehttp/guzzle/src/RedirectMiddleware.php',
    175186    'GuzzleHttp\\RequestOptions' => $vendorDir . '/guzzlehttp/guzzle/src/RequestOptions.php',
  • quick-login/trunk/vendor/composer/autoload_psr4.php

    r2364279 r2458198  
    1212    'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'),
    1313    'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
    14     'League\\OAuth2\\Client\\' => array($vendorDir . '/league/oauth2-linkedin/src', $vendorDir . '/league/oauth2-client/src', $vendorDir . '/league/oauth2-facebook/src', $vendorDir . '/league/oauth2-google/src'),
     14    'League\\OAuth2\\Client\\' => array($vendorDir . '/league/oauth2-google/src', $vendorDir . '/league/oauth2-linkedin/src', $vendorDir . '/league/oauth2-client/src', $vendorDir . '/league/oauth2-facebook/src'),
    1515    'League\\OAuth1\\' => array($vendorDir . '/league/oauth1-client/src'),
    1616    'Layered\\QuickLogin\\' => array($baseDir . '/src'),
  • quick-login/trunk/vendor/composer/autoload_real.php

    r2010460 r2458198  
    1414    }
    1515
     16    /**
     17     * @return \Composer\Autoload\ClassLoader
     18     */
    1619    public static function getLoader()
    1720    {
  • quick-login/trunk/vendor/composer/autoload_static.php

    r2364279 r2458198  
    7373        'League\\OAuth2\\Client\\' =>
    7474        array (
    75             0 => __DIR__ . '/..' . '/league/oauth2-linkedin/src',
    76             1 => __DIR__ . '/..' . '/league/oauth2-client/src',
    77             2 => __DIR__ . '/..' . '/league/oauth2-facebook/src',
    78             3 => __DIR__ . '/..' . '/league/oauth2-google/src',
     75            0 => __DIR__ . '/..' . '/league/oauth2-google/src',
     76            1 => __DIR__ . '/..' . '/league/oauth2-linkedin/src',
     77            2 => __DIR__ . '/..' . '/league/oauth2-client/src',
     78            3 => __DIR__ . '/..' . '/league/oauth2-facebook/src',
    7979        ),
    8080        'League\\OAuth1\\' =>
     
    179179        'Composer\\Installers\\PortoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
    180180        'Composer\\Installers\\PrestashopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
     181        'Composer\\Installers\\ProcessWireInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ProcessWireInstaller.php',
    181182        'Composer\\Installers\\PuppetInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
    182183        'Composer\\Installers\\PxcmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
     
    190191        'Composer\\Installers\\SilverStripeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
    191192        'Composer\\Installers\\SiteDirectInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
     193        'Composer\\Installers\\StarbugInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/StarbugInstaller.php',
    192194        'Composer\\Installers\\SyDESInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
    193195        'Composer\\Installers\\SyliusInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SyliusInstaller.php',
     
    242244        'GuzzleHttp\\Promise\\CancellationException' => __DIR__ . '/..' . '/guzzlehttp/promises/src/CancellationException.php',
    243245        'GuzzleHttp\\Promise\\Coroutine' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Coroutine.php',
     246        'GuzzleHttp\\Promise\\Create' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Create.php',
     247        'GuzzleHttp\\Promise\\Each' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Each.php',
    244248        'GuzzleHttp\\Promise\\EachPromise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/EachPromise.php',
    245249        'GuzzleHttp\\Promise\\FulfilledPromise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/FulfilledPromise.php',
     250        'GuzzleHttp\\Promise\\Is' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Is.php',
    246251        'GuzzleHttp\\Promise\\Promise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Promise.php',
    247252        'GuzzleHttp\\Promise\\PromiseInterface' => __DIR__ . '/..' . '/guzzlehttp/promises/src/PromiseInterface.php',
     
    251256        'GuzzleHttp\\Promise\\TaskQueue' => __DIR__ . '/..' . '/guzzlehttp/promises/src/TaskQueue.php',
    252257        'GuzzleHttp\\Promise\\TaskQueueInterface' => __DIR__ . '/..' . '/guzzlehttp/promises/src/TaskQueueInterface.php',
     258        'GuzzleHttp\\Promise\\Utils' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Utils.php',
    253259        'GuzzleHttp\\Psr7\\AppendStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/AppendStream.php',
    254260        'GuzzleHttp\\Psr7\\BufferStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/BufferStream.php',
     
    256262        'GuzzleHttp\\Psr7\\DroppingStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/DroppingStream.php',
    257263        'GuzzleHttp\\Psr7\\FnStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/FnStream.php',
     264        'GuzzleHttp\\Psr7\\Header' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Header.php',
    258265        'GuzzleHttp\\Psr7\\InflateStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/InflateStream.php',
    259266        'GuzzleHttp\\Psr7\\LazyOpenStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/LazyOpenStream.php',
    260267        'GuzzleHttp\\Psr7\\LimitStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/LimitStream.php',
     268        'GuzzleHttp\\Psr7\\Message' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Message.php',
    261269        'GuzzleHttp\\Psr7\\MessageTrait' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MessageTrait.php',
     270        'GuzzleHttp\\Psr7\\MimeType' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MimeType.php',
    262271        'GuzzleHttp\\Psr7\\MultipartStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MultipartStream.php',
    263272        'GuzzleHttp\\Psr7\\NoSeekStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/NoSeekStream.php',
    264273        'GuzzleHttp\\Psr7\\PumpStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/PumpStream.php',
     274        'GuzzleHttp\\Psr7\\Query' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Query.php',
    265275        'GuzzleHttp\\Psr7\\Request' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Request.php',
    266276        'GuzzleHttp\\Psr7\\Response' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Response.php',
     
    274284        'GuzzleHttp\\Psr7\\UriNormalizer' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/UriNormalizer.php',
    275285        'GuzzleHttp\\Psr7\\UriResolver' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/UriResolver.php',
     286        'GuzzleHttp\\Psr7\\Utils' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Utils.php',
    276287        'GuzzleHttp\\RedirectMiddleware' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/RedirectMiddleware.php',
    277288        'GuzzleHttp\\RequestOptions' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/RequestOptions.php',
  • quick-login/trunk/vendor/composer/installed.json

    r2364279 r2458198  
    22    {
    33        "name": "composer/installers",
    4         "version": "v1.9.0",
    5         "version_normalized": "1.9.0.0",
     4        "version": "v1.10.0",
     5        "version_normalized": "1.10.0.0",
    66        "source": {
    77            "type": "git",
    88            "url": "https://github.com/composer/installers.git",
    9             "reference": "b93bcf0fa1fccb0b7d176b0967d969691cd74cca"
    10         },
    11         "dist": {
    12             "type": "zip",
    13             "url": "https://api.github.com/repos/composer/installers/zipball/b93bcf0fa1fccb0b7d176b0967d969691cd74cca",
    14             "reference": "b93bcf0fa1fccb0b7d176b0967d969691cd74cca",
     9            "reference": "1a0357fccad9d1cc1ea0c9a05b8847fbccccb78d"
     10        },
     11        "dist": {
     12            "type": "zip",
     13            "url": "https://api.github.com/repos/composer/installers/zipball/1a0357fccad9d1cc1ea0c9a05b8847fbccccb78d",
     14            "reference": "1a0357fccad9d1cc1ea0c9a05b8847fbccccb78d",
    1515            "shasum": ""
    1616        },
     
    2323        },
    2424        "require-dev": {
    25             "composer/composer": "1.6.* || 2.0.*@dev",
    26             "composer/semver": "1.0.* || 2.0.*@dev",
    27             "phpunit/phpunit": "^4.8.36",
    28             "sebastian/comparator": "^1.2.4",
     25            "composer/composer": "1.6.* || ^2.0",
     26            "composer/semver": "^1 || ^3",
     27            "phpstan/phpstan": "^0.12.55",
     28            "phpstan/phpstan-phpunit": "^0.12.16",
     29            "symfony/phpunit-bridge": "^4.2 || ^5",
    2930            "symfony/process": "^2.3"
    3031        },
    31         "time": "2020-04-07T06:57:05+00:00",
     32        "time": "2021-01-14T11:07:16+00:00",
    3233        "type": "composer-plugin",
    3334        "extra": {
    3435            "class": "Composer\\Installers\\Plugin",
    3536            "branch-alias": {
    36                 "dev-master": "1.0-dev"
     37                "dev-main": "1.x-dev"
    3738            }
    3839        },
     
    7374            "RadPHP",
    7475            "SMF",
     76            "Starbug",
    7577            "Thelia",
    7678            "Whmcs",
     
    113115            "piwik",
    114116            "ppi",
     117            "processwire",
    115118            "puppet",
    116119            "pxcms",
     
    127130            "zend",
    128131            "zikula"
     132        ],
     133        "funding": [
     134            {
     135                "url": "https://packagist.com",
     136                "type": "custom"
     137            },
     138            {
     139                "url": "https://github.com/composer",
     140                "type": "github"
     141            },
     142            {
     143                "url": "https://tidelift.com/funding/github/packagist/composer/composer",
     144                "type": "tidelift"
     145            }
    129146        ]
    130147    },
     
    200217    {
    201218        "name": "guzzlehttp/promises",
    202         "version": "v1.3.1",
    203         "version_normalized": "1.3.1.0",
     219        "version": "1.4.0",
     220        "version_normalized": "1.4.0.0",
    204221        "source": {
    205222            "type": "git",
    206223            "url": "https://github.com/guzzle/promises.git",
    207             "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
    208         },
    209         "dist": {
    210             "type": "zip",
    211             "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
    212             "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
    213             "shasum": ""
    214         },
    215         "require": {
    216             "php": ">=5.5.0"
     224            "reference": "60d379c243457e073cff02bc323a2a86cb355631"
     225        },
     226        "dist": {
     227            "type": "zip",
     228            "url": "https://api.github.com/repos/guzzle/promises/zipball/60d379c243457e073cff02bc323a2a86cb355631",
     229            "reference": "60d379c243457e073cff02bc323a2a86cb355631",
     230            "shasum": ""
     231        },
     232        "require": {
     233            "php": ">=5.5"
    217234        },
    218235        "require-dev": {
    219             "phpunit/phpunit": "^4.0"
    220         },
    221         "time": "2016-12-20T10:07:11+00:00",
     236            "symfony/phpunit-bridge": "^4.4 || ^5.1"
     237        },
     238        "time": "2020-09-30T07:37:28+00:00",
    222239        "type": "library",
    223240        "extra": {
     
    253270    {
    254271        "name": "guzzlehttp/psr7",
    255         "version": "1.6.1",
    256         "version_normalized": "1.6.1.0",
     272        "version": "1.7.0",
     273        "version_normalized": "1.7.0.0",
    257274        "source": {
    258275            "type": "git",
    259276            "url": "https://github.com/guzzle/psr7.git",
    260             "reference": "239400de7a173fe9901b9ac7c06497751f00727a"
    261         },
    262         "dist": {
    263             "type": "zip",
    264             "url": "https://api.github.com/repos/guzzle/psr7/zipball/239400de7a173fe9901b9ac7c06497751f00727a",
    265             "reference": "239400de7a173fe9901b9ac7c06497751f00727a",
     277            "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3"
     278        },
     279        "dist": {
     280            "type": "zip",
     281            "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3",
     282            "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3",
    266283            "shasum": ""
    267284        },
     
    276293        "require-dev": {
    277294            "ext-zlib": "*",
    278             "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
     295            "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10"
    279296        },
    280297        "suggest": {
    281             "zendframework/zend-httphandlerrunner": "Emit PSR-7 responses"
    282         },
    283         "time": "2019-07-01T23:21:34+00:00",
     298            "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
     299        },
     300        "time": "2020-09-30T07:37:11+00:00",
    284301        "type": "library",
    285302        "extra": {
    286303            "branch-alias": {
    287                 "dev-master": "1.6-dev"
     304                "dev-master": "1.7-dev"
    288305            }
    289306        },
     
    442459    {
    443460        "name": "league/oauth2-client",
    444         "version": "2.5.0",
    445         "version_normalized": "2.5.0.0",
     461        "version": "2.6.0",
     462        "version_normalized": "2.6.0.0",
    446463        "source": {
    447464            "type": "git",
    448465            "url": "https://github.com/thephpleague/oauth2-client.git",
    449             "reference": "d9f2a1e000dc14eb3c02e15d15759385ec7ff0fb"
    450         },
    451         "dist": {
    452             "type": "zip",
    453             "url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/d9f2a1e000dc14eb3c02e15d15759385ec7ff0fb",
    454             "reference": "d9f2a1e000dc14eb3c02e15d15759385ec7ff0fb",
     466            "reference": "badb01e62383430706433191b82506b6df24ad98"
     467        },
     468        "dist": {
     469            "type": "zip",
     470            "url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/badb01e62383430706433191b82506b6df24ad98",
     471            "reference": "badb01e62383430706433191b82506b6df24ad98",
    455472            "shasum": ""
    456473        },
    457474        "require": {
    458475            "guzzlehttp/guzzle": "^6.0 || ^7.0",
    459             "paragonie/random_compat": "^1|^2|^9.99",
    460             "php": "^5.6|^7.0"
     476            "paragonie/random_compat": "^1 || ^2 || ^9.99",
     477            "php": "^5.6 || ^7.0 || ^8.0"
    461478        },
    462479        "require-dev": {
    463             "eloquent/liberator": "^2.0",
    464             "eloquent/phony-phpunit": "^1.0|^3.0",
    465             "jakub-onderka/php-parallel-lint": "^0.9.2",
    466             "phpunit/phpunit": "^5.7|^6.0",
    467             "squizlabs/php_codesniffer": "^2.3|^3.0"
    468         },
    469         "time": "2020-07-18T17:54:32+00:00",
     480            "mockery/mockery": "^1.3",
     481            "php-parallel-lint/php-parallel-lint": "^1.2",
     482            "phpunit/phpunit": "^5.7 || ^6.0 || ^9.3",
     483            "squizlabs/php_codesniffer": "^2.3 || ^3.0"
     484        },
     485        "time": "2020-10-28T02:03:40+00:00",
    470486        "type": "library",
    471487        "extra": {
     
    511527    {
    512528        "name": "league/oauth2-facebook",
    513         "version": "2.0.2",
    514         "version_normalized": "2.0.2.0",
     529        "version": "2.0.3",
     530        "version_normalized": "2.0.3.0",
    515531        "source": {
    516532            "type": "git",
    517533            "url": "https://github.com/thephpleague/oauth2-facebook.git",
    518             "reference": "c482a851c93a6cb718270773635d6a0c8384b560"
    519         },
    520         "dist": {
    521             "type": "zip",
    522             "url": "https://api.github.com/repos/thephpleague/oauth2-facebook/zipball/c482a851c93a6cb718270773635d6a0c8384b560",
    523             "reference": "c482a851c93a6cb718270773635d6a0c8384b560",
     534            "reference": "093cf588b9d508ee426c71d6bc68f138fe914ddc"
     535        },
     536        "dist": {
     537            "type": "zip",
     538            "url": "https://api.github.com/repos/thephpleague/oauth2-facebook/zipball/093cf588b9d508ee426c71d6bc68f138fe914ddc",
     539            "reference": "093cf588b9d508ee426c71d6bc68f138fe914ddc",
    524540            "shasum": ""
    525541        },
     
    534550            "squizlabs/php_codesniffer": "~3.0"
    535551        },
    536         "time": "2020-07-25T13:30:06+00:00",
     552        "time": "2020-10-01T15:22:47+00:00",
    537553        "type": "library",
    538554        "installation-source": "dist",
     
    676692    {
    677693        "name": "paragonie/random_compat",
    678         "version": "v2.0.18",
    679         "version_normalized": "2.0.18.0",
     694        "version": "v2.0.19",
     695        "version_normalized": "2.0.19.0",
    680696        "source": {
    681697            "type": "git",
    682698            "url": "https://github.com/paragonie/random_compat.git",
    683             "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db"
    684         },
    685         "dist": {
    686             "type": "zip",
    687             "url": "https://api.github.com/repos/paragonie/random_compat/zipball/0a58ef6e3146256cc3dc7cc393927bcc7d1b72db",
    688             "reference": "0a58ef6e3146256cc3dc7cc393927bcc7d1b72db",
     699            "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241"
     700        },
     701        "dist": {
     702            "type": "zip",
     703            "url": "https://api.github.com/repos/paragonie/random_compat/zipball/446fc9faa5c2a9ddf65eb7121c0af7e857295241",
     704            "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241",
    689705            "shasum": ""
    690706        },
     
    698714            "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
    699715        },
    700         "time": "2019-01-03T20:59:08+00:00",
     716        "time": "2020-10-15T10:06:57+00:00",
    701717        "type": "library",
    702718        "installation-source": "dist",
     
    821837    {
    822838        "name": "symfony/polyfill-intl-idn",
    823         "version": "v1.18.1",
    824         "version_normalized": "1.18.1.0",
     839        "version": "v1.19.0",
     840        "version_normalized": "1.19.0.0",
    825841        "source": {
    826842            "type": "git",
    827843            "url": "https://github.com/symfony/polyfill-intl-idn.git",
    828             "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251"
    829         },
    830         "dist": {
    831             "type": "zip",
    832             "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/5dcab1bc7146cf8c1beaa4502a3d9be344334251",
    833             "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251",
     844            "reference": "4ad5115c0f5d5172a9fe8147675ec6de266d8826"
     845        },
     846        "dist": {
     847            "type": "zip",
     848            "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/4ad5115c0f5d5172a9fe8147675ec6de266d8826",
     849            "reference": "4ad5115c0f5d5172a9fe8147675ec6de266d8826",
    834850            "shasum": ""
    835851        },
     
    843859            "ext-intl": "For best performance"
    844860        },
    845         "time": "2020-08-04T06:02:08+00:00",
     861        "time": "2020-10-21T09:57:48+00:00",
    846862        "type": "library",
    847863        "extra": {
    848864            "branch-alias": {
    849                 "dev-master": "1.18-dev"
     865                "dev-main": "1.19-dev"
    850866            },
    851867            "thanks": {
     
    890906            "portable",
    891907            "shim"
     908        ],
     909        "funding": [
     910            {
     911                "url": "https://symfony.com/sponsor",
     912                "type": "custom"
     913            },
     914            {
     915                "url": "https://github.com/fabpot",
     916                "type": "github"
     917            },
     918            {
     919                "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     920                "type": "tidelift"
     921            }
    892922        ]
    893923    },
    894924    {
    895925        "name": "symfony/polyfill-intl-normalizer",
    896         "version": "v1.18.1",
    897         "version_normalized": "1.18.1.0",
     926        "version": "v1.19.0",
     927        "version_normalized": "1.19.0.0",
    898928        "source": {
    899929            "type": "git",
    900930            "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
    901             "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e"
    902         },
    903         "dist": {
    904             "type": "zip",
    905             "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
    906             "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
     931            "reference": "8db0ae7936b42feb370840cf24de1a144fb0ef27"
     932        },
     933        "dist": {
     934            "type": "zip",
     935            "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8db0ae7936b42feb370840cf24de1a144fb0ef27",
     936            "reference": "8db0ae7936b42feb370840cf24de1a144fb0ef27",
    907937            "shasum": ""
    908938        },
     
    913943            "ext-intl": "For best performance"
    914944        },
    915         "time": "2020-07-14T12:35:20+00:00",
     945        "time": "2020-10-23T09:01:57+00:00",
    916946        "type": "library",
    917947        "extra": {
    918948            "branch-alias": {
    919                 "dev-master": "1.18-dev"
     949                "dev-main": "1.19-dev"
    920950            },
    921951            "thanks": {
     
    959989            "portable",
    960990            "shim"
     991        ],
     992        "funding": [
     993            {
     994                "url": "https://symfony.com/sponsor",
     995                "type": "custom"
     996            },
     997            {
     998                "url": "https://github.com/fabpot",
     999                "type": "github"
     1000            },
     1001            {
     1002                "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     1003                "type": "tidelift"
     1004            }
    9611005        ]
    9621006    },
    9631007    {
    9641008        "name": "symfony/polyfill-php70",
    965         "version": "v1.18.1",
    966         "version_normalized": "1.18.1.0",
     1009        "version": "v1.19.0",
     1010        "version_normalized": "1.19.0.0",
    9671011        "source": {
    9681012            "type": "git",
    9691013            "url": "https://github.com/symfony/polyfill-php70.git",
    970             "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3"
    971         },
    972         "dist": {
    973             "type": "zip",
    974             "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
    975             "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
     1014            "reference": "3fe414077251a81a1b15b1c709faf5c2fbae3d4e"
     1015        },
     1016        "dist": {
     1017            "type": "zip",
     1018            "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/3fe414077251a81a1b15b1c709faf5c2fbae3d4e",
     1019            "reference": "3fe414077251a81a1b15b1c709faf5c2fbae3d4e",
    9761020            "shasum": ""
    9771021        },
     
    9801024            "php": ">=5.3.3"
    9811025        },
    982         "time": "2020-07-14T12:35:20+00:00",
     1026        "time": "2020-10-23T09:01:57+00:00",
    9831027        "type": "library",
    9841028        "extra": {
    9851029            "branch-alias": {
    986                 "dev-master": "1.18-dev"
     1030                "dev-main": "1.19-dev"
    9871031            },
    9881032            "thanks": {
     
    10241068            "portable",
    10251069            "shim"
     1070        ],
     1071        "funding": [
     1072            {
     1073                "url": "https://symfony.com/sponsor",
     1074                "type": "custom"
     1075            },
     1076            {
     1077                "url": "https://github.com/fabpot",
     1078                "type": "github"
     1079            },
     1080            {
     1081                "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     1082                "type": "tidelift"
     1083            }
    10261084        ]
    10271085    },
    10281086    {
    10291087        "name": "symfony/polyfill-php72",
    1030         "version": "v1.18.1",
    1031         "version_normalized": "1.18.1.0",
     1088        "version": "v1.19.0",
     1089        "version_normalized": "1.19.0.0",
    10321090        "source": {
    10331091            "type": "git",
    10341092            "url": "https://github.com/symfony/polyfill-php72.git",
    1035             "reference": "639447d008615574653fb3bc60d1986d7172eaae"
    1036         },
    1037         "dist": {
    1038             "type": "zip",
    1039             "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae",
    1040             "reference": "639447d008615574653fb3bc60d1986d7172eaae",
     1093            "reference": "beecef6b463b06954638f02378f52496cb84bacc"
     1094        },
     1095        "dist": {
     1096            "type": "zip",
     1097            "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/beecef6b463b06954638f02378f52496cb84bacc",
     1098            "reference": "beecef6b463b06954638f02378f52496cb84bacc",
    10411099            "shasum": ""
    10421100        },
     
    10441102            "php": ">=5.3.3"
    10451103        },
    1046         "time": "2020-07-14T12:35:20+00:00",
     1104        "time": "2020-10-23T09:01:57+00:00",
    10471105        "type": "library",
    10481106        "extra": {
    10491107            "branch-alias": {
    1050                 "dev-master": "1.18-dev"
     1108                "dev-main": "1.19-dev"
    10511109            },
    10521110            "thanks": {
     
    10851143            "portable",
    10861144            "shim"
     1145        ],
     1146        "funding": [
     1147            {
     1148                "url": "https://symfony.com/sponsor",
     1149                "type": "custom"
     1150            },
     1151            {
     1152                "url": "https://github.com/fabpot",
     1153                "type": "github"
     1154            },
     1155            {
     1156                "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     1157                "type": "tidelift"
     1158            }
    10871159        ]
    10881160    }
  • quick-login/trunk/vendor/composer/installers/composer.json

    r2303737 r2458198  
    5858        "Puppet",
    5959        "Porto",
     60        "ProcessWire",
    6061        "RadPHP",
    6162        "ReIndex",
     
    6465        "SilverStripe",
    6566        "SMF",
     67        "Starbug",
    6668        "SyDES",
    6769        "Sylius",
     
    8789        "psr-4": { "Composer\\Installers\\": "src/Composer/Installers" }
    8890    },
     91    "autoload-dev": {
     92        "psr-4": { "Composer\\Installers\\Test\\": "tests/Composer/Installers/Test" }
     93    },
    8994    "extra": {
    9095        "class": "Composer\\Installers\\Plugin",
    9196        "branch-alias": {
    92             "dev-master": "1.0-dev"
     97            "dev-main": "1.x-dev"
    9398        }
    9499    },
     
    101106    },
    102107    "require-dev": {
    103         "composer/composer": "1.6.* || 2.0.*@dev",
    104         "composer/semver": "1.0.* || 2.0.*@dev",
    105         "phpunit/phpunit": "^4.8.36",
    106         "sebastian/comparator": "^1.2.4",
    107         "symfony/process": "^2.3"
     108        "composer/composer": "1.6.* || ^2.0",
     109        "composer/semver": "^1 || ^3",
     110        "symfony/phpunit-bridge": "^4.2 || ^5",
     111        "phpstan/phpstan": "^0.12.55",
     112        "symfony/process": "^2.3",
     113        "phpstan/phpstan-phpunit": "^0.12.16"
    108114    },
    109115    "scripts": {
    110         "test": "phpunit"
     116        "test": "SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 vendor/bin/simple-phpunit",
     117        "phpstan": "vendor/bin/phpstan analyse"
    111118    }
    112119}
  • quick-login/trunk/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php

    r2303737 r2458198  
    7575     * For an installer to override to modify the vars per installer.
    7676     *
    77      * @param  array $vars
    78      * @return array
     77     * @param  array<string, string> $vars This will normally receive array{name: string, vendor: string, type: string}
     78     * @return array<string, string>
    7979     */
    8080    public function inflectPackageVars($vars)
     
    8686     * Gets the installer's locations
    8787     *
    88      * @return array
     88     * @return array<string, string> map of package types => install path
    8989     */
    9090    public function getLocations()
     
    9696     * Replace vars in a path
    9797     *
    98      * @param  string $path
    99      * @param  array  $vars
     98     * @param  string                $path
     99     * @param  array<string, string> $vars
    100100     * @return string
    101101     */
     
    122122     * @param  string $type
    123123     * @param  string $vendor = NULL
    124      * @return string
     124     * @return string|false
    125125     */
    126126    protected function mapCustomInstallPaths(array $paths, $name, $type, $vendor = NULL)
  • quick-login/trunk/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php

    r2303737 r2458198  
    33
    44use Composer\DependencyResolver\Pool;
     5use Composer\Semver\Constraint\Constraint;
    56
    67class CakePHPInstaller extends BaseInstaller
     
    5051    protected function matchesCakeVersion($matcher, $version)
    5152    {
    52         if (class_exists('Composer\Semver\Constraint\MultiConstraint')) {
    53             $multiClass = 'Composer\Semver\Constraint\MultiConstraint';
    54             $constraintClass = 'Composer\Semver\Constraint\Constraint';
    55         } else {
    56             $multiClass = 'Composer\Package\LinkConstraint\MultiConstraint';
    57             $constraintClass = 'Composer\Package\LinkConstraint\VersionConstraint';
    58         }
    59 
    6053        $repositoryManager = $this->composer->getRepositoryManager();
    6154        if (! $repositoryManager) {
     
    6861        }
    6962
    70         return $repos->findPackage('cakephp/cakephp', new $constraintClass($matcher, $version)) !== null;
     63        return $repos->findPackage('cakephp/cakephp', new Constraint($matcher, $version)) !== null;
    7164    }
    7265}
  • quick-login/trunk/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php

    r1860398 r2458198  
    1313     * Strip `module-` prefix from package name.
    1414     *
    15      * @param array @vars
    16      *
    17      * @return array
     15     * {@inheritDoc}
    1816     */
    1917    public function inflectPackageVars($vars)
  • quick-login/trunk/vendor/composer/installers/src/Composer/Installers/Installer.php

    r2303737 r2458198  
    1010use Composer\Repository\InstalledRepositoryInterface;
    1111use Composer\Util\Filesystem;
     12use React\Promise\PromiseInterface;
    1213
    1314class Installer extends LibraryInstaller
     
    8889        'phifty'       => 'PhiftyInstaller',
    8990        'porto'        => 'PortoInstaller',
     91        'processwire'  => 'ProcessWireInstaller',
    9092        'redaxo'       => 'RedaxoInstaller',
    9193        'redaxo5'      => 'Redaxo5Installer',
     
    9698        'silverstripe' => 'SilverStripeInstaller',
    9799        'smf'          => 'SMFInstaller',
     100        'starbug'      => 'StarbugInstaller',
    98101        'sydes'        => 'SyDESInstaller',
    99102        'sylius'       => 'SyliusInstaller',
     
    161164    public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
    162165    {
    163         parent::uninstall($repo, $package);
    164166        $installPath = $this->getPackageBasePath($package);
    165         $this->io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>'));
     167        $io = $this->io;
     168        $outputStatus = function () use ($io, $installPath) {
     169            $io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>'));
     170        };
     171
     172        $promise = parent::uninstall($repo, $package);
     173
     174        // Composer v2 might return a promise here
     175        if ($promise instanceof PromiseInterface) {
     176            return $promise->then($outputStatus);
     177        }
     178
     179        // If not, execute the code right away as parent::uninstall executed synchronously (composer v1, or v2 without async)
     180        $outputStatus();
     181
     182        return null;
    166183    }
    167184
     
    185202     * Finds a supported framework type if it exists and returns it
    186203     *
    187      * @param  string $type
    188      * @return string
     204     * @param  string       $type
     205     * @return string|false
    189206     */
    190207    protected function findFrameworkType($type)
    191208    {
    192         $frameworkType = false;
    193 
    194209        krsort($this->supportedTypes);
    195210
    196211        foreach ($this->supportedTypes as $key => $val) {
    197212            if ($key === substr($type, 0, strlen($key))) {
    198                 $frameworkType = substr($type, 0, strlen($key));
    199                 break;
     213                return substr($type, 0, strlen($key));
    200214            }
    201215        }
    202216
    203         return $frameworkType;
     217        return false;
    204218    }
    205219
  • quick-login/trunk/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php

    r2223410 r2458198  
    1919        'cachelock'          => 'cache/locks/{$name}/',
    2020        'calendartype'       => 'calendar/type/{$name}/',
     21        'fileconverter'      => 'files/converter/{$name}/',
    2122        'format'             => 'course/format/{$name}/',
    2223        'coursereport'       => 'course/report/{$name}/',
  • quick-login/trunk/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php

    r1860398 r2458198  
    1919     * @param PackageInterface $package
    2020     * @param string $frameworkType
    21      * @return void
     21     * @return string
    2222     */
    2323    public function getInstallPath(PackageInterface $package, $frameworkType = '')
  • quick-login/trunk/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php

    r1860398 r2458198  
    1414     * Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present.
    1515     *
    16      * @param array @vars
    17      *
    18      * @return array
     16     * {@inerhitDoc}
    1917     */
    2018    public function inflectPackageVars($vars)
  • quick-login/trunk/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php

    r2223410 r2458198  
    77class TaoInstaller extends BaseInstaller
    88{
     9    const EXTRA_TAO_EXTENSION_NAME = 'tao-extension-name';
     10
    911    protected $locations = array(
    1012        'extension' => '{$name}'
    1113    );
     14   
     15    public function inflectPackageVars($vars)
     16    {
     17        $extra = $this->package->getExtra();
     18
     19        if (array_key_exists(self::EXTRA_TAO_EXTENSION_NAME, $extra)) {
     20            $vars['name'] = $extra[self::EXTRA_TAO_EXTENSION_NAME];
     21            return $vars;
     22        }
     23
     24        $vars['name'] = str_replace('extension-', '', $vars['name']);
     25        $vars['name'] = str_replace('-', ' ', $vars['name']);
     26        $vars['name'] = lcfirst(str_replace(' ', '', ucwords($vars['name'])));
     27
     28        return $vars;
     29    }
    1230}
  • quick-login/trunk/vendor/guzzlehttp/promises/CHANGELOG.md

    r1860398 r2458198  
    11# CHANGELOG
     2
     3
     4## 1.4.0 - 2020-09-30
     5
     6### Added
     7
     8- Support for PHP 8
     9- Optional `$recursive` flag to `all`
     10- Replaced functions by static methods
     11
     12### Fixed
     13
     14- Fix empty `each` processing
     15- Fix promise handling for Iterators of non-unique keys
     16- Fixed `method_exists` crashes on PHP 8
     17- Memory leak on exceptions
    218
    319
  • quick-login/trunk/vendor/guzzlehttp/promises/README.md

    r1860398 r2458198  
    2727- Works with any object that has a `then` function.
    2828- C# style async/await coroutine promises using
    29   `GuzzleHttp\Promise\coroutine()`.
     29  `GuzzleHttp\Promise\Coroutine::of()`.
    3030
    3131
     
    8989
    9090// Resolving the promise triggers the $onFulfilled callbacks and outputs
    91 // "Hello, reader".
     91// "Hello, reader."
    9292$promise->resolve('reader.');
    9393```
     
    151151$promise = new Promise();
    152152$promise->then(null, function ($reason) {
    153     throw new \Exception($reason);
     153    throw new Exception($reason);
    154154})->then(null, function ($reason) {
    155155    assert($reason->getMessage() === 'Error!');
     
    183183```php
    184184use GuzzleHttp\Promise\Promise;
    185 use GuzzleHttp\Promise\RejectedPromise;
    186185
    187186$promise = new Promise();
     
    221220```php
    222221$promise = new Promise(function () use (&$promise) {
    223     throw new \Exception('foo');
     222    throw new Exception('foo');
    224223});
    225224
     
    398397
    399398// Create a Guzzle promise that is fulfilled with a React promise.
    400 $guzzlePromise = new \GuzzleHttp\Promise\Promise();
     399$guzzlePromise = new GuzzleHttp\Promise\Promise();
    401400$guzzlePromise->then(function ($value) use ($reactPromise) {
    402401    // Do something something with the value...
     
    425424```php
    426425// Get the global task queue
    427 $queue = \GuzzleHttp\Promise\queue();
     426$queue = GuzzleHttp\Promise\Utils::queue();
    428427$queue->run();
    429428```
     
    503502// prints "foo"
    504503```
     504
     505
     506## Upgrading from Function API
     507
     508A static API was first introduced in 1.4.0, in order to mitigate problems with functions conflicting between global and local copies of the package. The function API will be removed in 2.0.0. A migration table has been provided here for your convenience:
     509
     510| Original Function | Replacement Method |
     511|----------------|----------------|
     512| `queue` | `Utils::queue` |
     513| `task` | `Utils::task` |
     514| `promise_for` | `Create::promiseFor` |
     515| `rejection_for` | `Create::rejectionFor` |
     516| `exception_for` | `Create::exceptionFor` |
     517| `iter_for` | `Create::iterFor` |
     518| `inspect` | `Utils::inspect` |
     519| `inspect_all` | `Utils::inspectAll` |
     520| `unwrap` | `Utils::unwrap` |
     521| `all` | `Utils::all` |
     522| `some` | `Utils::some` |
     523| `any` | `Utils::any` |
     524| `settle` | `Utils::settle` |
     525| `each` | `Each::of` |
     526| `each_limit` | `Each::ofLimit` |
     527| `each_limit_all` | `Each::ofLimitAll` |
     528| `!is_fulfilled` | `Is::pending` |
     529| `is_fulfilled` | `Is::fulfilled` |
     530| `is_rejected` | `Is::rejected` |
     531| `is_settled` | `Is::settled` |
     532| `coroutine` | `Coroutine::of` |
  • quick-login/trunk/vendor/guzzlehttp/promises/composer.json

    r1860398 r2458198  
    1212    ],
    1313    "require": {
    14         "php": ">=5.5.0"
     14        "php": ">=5.5"
    1515    },
    1616    "require-dev": {
    17         "phpunit/phpunit": "^4.0"
     17        "symfony/phpunit-bridge": "^4.4 || ^5.1"
    1818    },
    1919    "autoload": {
     
    2323        "files": ["src/functions_include.php"]
    2424    },
     25    "autoload-dev": {
     26        "psr-4": {
     27            "GuzzleHttp\\Promise\\Tests\\": "tests/"
     28        }
     29    },
    2530    "scripts": {
    26         "test": "vendor/bin/phpunit",
    27         "test-ci": "vendor/bin/phpunit --coverage-text"
     31        "test": "vendor/bin/simple-phpunit",
     32        "test-ci": "vendor/bin/simple-phpunit --coverage-text"
    2833    },
    2934    "extra": {
  • quick-login/trunk/vendor/guzzlehttp/promises/src/AggregateException.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
  • quick-login/trunk/vendor/guzzlehttp/promises/src/CancellationException.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
  • quick-login/trunk/vendor/guzzlehttp/promises/src/Coroutine.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    1011 * promises (somewhat similar to C#'s async keyword).
    1112 *
    12  * When called, the coroutine function will start an instance of the generator
     13 * When called, the Coroutine::of method will start an instance of the generator
    1314 * and returns a promise that is fulfilled with its final yielded value.
    1415 *
     
    2324 *     }
    2425 *
    25  *     $promise = Promise\coroutine(function () {
     26 *     $promise = Promise\Coroutine::of(function () {
    2627 *         $value = (yield createPromise('a'));
    2728 *         try {
     
    3940 *
    4041 * @return Promise
     42 *
    4143 * @link https://github.com/petkaantonov/bluebird/blob/master/API.md#generators inspiration
    4244 */
     
    6668            }
    6769        });
    68         $this->nextCoroutine($this->generator->current());
     70        try {
     71            $this->nextCoroutine($this->generator->current());
     72        } catch (\Exception $exception) {
     73            $this->result->reject($exception);
     74        } catch (Throwable $throwable) {
     75            $this->result->reject($throwable);
     76        }
     77    }
     78
     79    /**
     80     * Create a new coroutine.
     81     *
     82     * @return self
     83     */
     84    public static function of(callable $generatorFn)
     85    {
     86        return new self($generatorFn);
    6987    }
    7088
     
    109127    private function nextCoroutine($yielded)
    110128    {
    111         $this->currentPromise = promise_for($yielded)
     129        $this->currentPromise = Create::promiseFor($yielded)
    112130            ->then([$this, '_handleSuccess'], [$this, '_handleFailure']);
    113131    }
     
    140158        unset($this->currentPromise);
    141159        try {
    142             $nextYield = $this->generator->throw(exception_for($reason));
     160            $nextYield = $this->generator->throw(Create::exceptionFor($reason));
    143161            // The throw was caught, so keep iterating on the coroutine
    144162            $this->nextCoroutine($nextYield);
  • quick-login/trunk/vendor/guzzlehttp/promises/src/EachPromise.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    1011    private $pending = [];
    1112
    12     /** @var \Iterator */
     13    /** @var \Iterator|null */
    1314    private $iterable;
    1415
    15     /** @var callable|int */
     16    /** @var callable|int|null */
    1617    private $concurrency;
    1718
    18     /** @var callable */
     19    /** @var callable|null */
    1920    private $onFulfilled;
    2021
    21     /** @var callable */
     22    /** @var callable|null */
    2223    private $onRejected;
    2324
    24     /** @var Promise */
     25    /** @var Promise|null */
    2526    private $aggregate;
    2627
    27     /** @var bool */
     28    /** @var bool|null */
    2829    private $mutex;
    2930
     
    4647     *   creating a capped pool of promises. There is no limit by default.
    4748     *
    48      * @param mixed    $iterable Promises or values to iterate.
    49      * @param array    $config   Configuration options
     49     * @param mixed $iterable Promises or values to iterate.
     50     * @param array $config   Configuration options
    5051     */
    5152    public function __construct($iterable, array $config = [])
    5253    {
    53         $this->iterable = iter_for($iterable);
     54        $this->iterable = Create::iterFor($iterable);
    5455
    5556        if (isset($config['concurrency'])) {
     
    6667    }
    6768
     69    /** @psalm-suppress InvalidNullableReturnType */
    6870    public function promise()
    6971    {
     
    7476        try {
    7577            $this->createPromise();
     78            /** @psalm-assert Promise $this->aggregate */
    7679            $this->iterable->rewind();
    77             $this->refillPending();
     80            if (!$this->checkIfFinished()) {
     81                $this->refillPending();
     82            }
    7883        } catch (\Throwable $e) {
     84            /**
     85             * @psalm-suppress NullReference
     86             * @phpstan-ignore-next-line
     87             */
    7988            $this->aggregate->reject($e);
    8089        } catch (\Exception $e) {
    81             $this->aggregate->reject($e);
    82         }
    83 
     90            /**
     91             * @psalm-suppress NullReference
     92             * @phpstan-ignore-next-line
     93             */
     94            $this->aggregate->reject($e);
     95        }
     96
     97        /**
     98         * @psalm-suppress NullableReturnStatement
     99         * @phpstan-ignore-next-line
     100         */
    84101        return $this->aggregate;
    85102    }
     
    90107        $this->aggregate = new Promise(function () {
    91108            reset($this->pending);
    92             if (empty($this->pending) && !$this->iterable->valid()) {
    93                 $this->aggregate->resolve(null);
    94                 return;
    95             }
    96 
    97109            // Consume a potentially fluctuating list of promises while
    98110            // ensuring that indexes are maintained (precluding array_shift).
     
    100112                next($this->pending);
    101113                $promise->wait();
    102                 if ($this->aggregate->getState() !== PromiseInterface::PENDING) {
     114                if (Is::settled($this->aggregate)) {
    103115                    return;
    104116                }
     
    149161        }
    150162
    151         $promise = promise_for($this->iterable->current());
    152         $idx = $this->iterable->key();
     163        $promise = Create::promiseFor($this->iterable->current());
     164        $key = $this->iterable->key();
     165
     166        // Iterable keys may not be unique, so we add the promises at the end
     167        // of the pending array and retrieve the array index being used
     168        $this->pending[] = null;
     169        end($this->pending);
     170        $idx = key($this->pending);
    153171
    154172        $this->pending[$idx] = $promise->then(
    155             function ($value) use ($idx) {
     173            function ($value) use ($idx, $key) {
    156174                if ($this->onFulfilled) {
    157175                    call_user_func(
    158                         $this->onFulfilled, $value, $idx, $this->aggregate
     176                        $this->onFulfilled,
     177                        $value,
     178                        $key,
     179                        $this->aggregate
    159180                    );
    160181                }
    161182                $this->step($idx);
    162183            },
    163             function ($reason) use ($idx) {
     184            function ($reason) use ($idx, $key) {
    164185                if ($this->onRejected) {
    165186                    call_user_func(
    166                         $this->onRejected, $reason, $idx, $this->aggregate
     187                        $this->onRejected,
     188                        $reason,
     189                        $key,
     190                        $this->aggregate
    167191                    );
    168192                }
     
    202226    {
    203227        // If the promise was already resolved, then ignore this step.
    204         if ($this->aggregate->getState() !== PromiseInterface::PENDING) {
     228        if (Is::settled($this->aggregate)) {
    205229            return;
    206230        }
  • quick-login/trunk/vendor/guzzlehttp/promises/src/FulfilledPromise.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    1415    public function __construct($value)
    1516    {
    16         if (method_exists($value, 'then')) {
     17        if (is_object($value) && method_exists($value, 'then')) {
    1718            throw new \InvalidArgumentException(
    18                 'You cannot create a FulfilledPromise with a promise.');
     19                'You cannot create a FulfilledPromise with a promise.'
     20            );
    1921        }
    2022
     
    3133        }
    3234
    33         $queue = queue();
     35        $queue = Utils::queue();
    3436        $p = new Promise([$queue, 'run']);
    3537        $value = $this->value;
    3638        $queue->add(static function () use ($p, $value, $onFulfilled) {
    37             if ($p->getState() === self::PENDING) {
     39            if (Is::pending($p)) {
    3840                try {
    3941                    $p->resolve($onFulfilled($value));
  • quick-login/trunk/vendor/guzzlehttp/promises/src/Promise.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    4243        // Return a fulfilled promise and immediately invoke any callbacks.
    4344        if ($this->state === self::FULFILLED) {
    44             return $onFulfilled
    45                 ? promise_for($this->result)->then($onFulfilled)
    46                 : promise_for($this->result);
     45            $promise = Create::promiseFor($this->result);
     46            return $onFulfilled ? $promise->then($onFulfilled) : $promise;
    4747        }
    4848
    4949        // It's either cancelled or rejected, so return a rejected promise
    5050        // and immediately invoke any callbacks.
    51         $rejection = rejection_for($this->result);
     51        $rejection = Create::rejectionFor($this->result);
    5252        return $onRejected ? $rejection->then(null, $onRejected) : $rejection;
    5353    }
     
    6262        $this->waitIfPending();
    6363
    64         $inner = $this->result instanceof PromiseInterface
    65             ? $this->result->wait($unwrap)
    66             : $this->result;
    67 
     64        if ($this->result instanceof PromiseInterface) {
     65            return $this->result->wait($unwrap);
     66        }
    6867        if ($unwrap) {
    69             if ($this->result instanceof PromiseInterface
    70                 || $this->state === self::FULFILLED
    71             ) {
    72                 return $inner;
    73             } else {
    74                 // It's rejected so "unwrap" and throw an exception.
    75                 throw exception_for($inner);
    76             }
     68            if ($this->state === self::FULFILLED) {
     69                return $this->result;
     70            }
     71            // It's rejected so "unwrap" and throw an exception.
     72            throw Create::exceptionFor($this->result);
    7773        }
    7874    }
     
    104100
    105101        // Reject the promise only if it wasn't rejected in a then callback.
     102        /** @psalm-suppress RedundantCondition */
    106103        if ($this->state === self::PENDING) {
    107104            $this->reject(new CancellationException('Promise has been cancelled'));
     
    149146        // If the value was not a settled promise or a thenable, then resolve
    150147        // it in the task queue using the correct ID.
    151         if (!method_exists($value, 'then')) {
     148        if (!is_object($value) || !method_exists($value, 'then')) {
    152149            $id = $state === self::FULFILLED ? 1 : 2;
    153150            // It's a success, so resolve the handlers in the queue.
    154             queue()->add(static function () use ($id, $value, $handlers) {
     151            Utils::queue()->add(static function () use ($id, $value, $handlers) {
    155152                foreach ($handlers as $handler) {
    156153                    self::callHandler($id, $value, $handler);
    157154                }
    158155            });
    159         } elseif ($value instanceof Promise
    160             && $value->getState() === self::PENDING
    161         ) {
     156        } elseif ($value instanceof Promise && Is::pending($value)) {
    162157            // We can just merge our handlers onto the next promise.
    163158            $value->handlers = array_merge($value->handlers, $handlers);
     
    185180     * @param mixed $value   Value to pass to the callback.
    186181     * @param array $handler Array of handler data (promise and callbacks).
    187      *
    188      * @return array Returns the next group to resolve.
    189182     */
    190183    private static function callHandler($index, $value, array $handler)
     
    195188        // The promise may have been cancelled or resolved before placing
    196189        // this thunk in the queue.
    197         if ($promise->getState() !== self::PENDING) {
     190        if (Is::settled($promise)) {
    198191            return;
    199192        }
     
    201194        try {
    202195            if (isset($handler[$index])) {
    203                 $promise->resolve($handler[$index]($value));
     196                /*
     197                 * If $f throws an exception, then $handler will be in the exception
     198                 * stack trace. Since $handler contains a reference to the callable
     199                 * itself we get a circular reference. We clear the $handler
     200                 * here to avoid that memory leak.
     201                 */
     202                $f = $handler[$index];
     203                unset($handler);
     204                $promise->resolve($f($value));
    204205            } elseif ($index === 1) {
    205206                // Forward resolution values as-is.
     
    225226            $this->invokeWaitList();
    226227        } else {
    227             // If there's not wait function, then reject the promise.
     228            // If there's no wait function, then reject the promise.
    228229            $this->reject('Cannot wait on a promise that has '
    229230                . 'no internal wait function. You must provide a wait '
     
    232233        }
    233234
    234         queue()->run();
    235 
     235        Utils::queue()->run();
     236
     237        /** @psalm-suppress RedundantCondition */
    236238        if ($this->state === self::PENDING) {
    237239            $this->reject('Invoking the wait callback did not resolve the promise');
     
    264266
    265267        foreach ($waitList as $result) {
    266             while (true) {
     268            do {
    267269                $result->waitIfPending();
    268 
    269                 if ($result->result instanceof Promise) {
    270                     $result = $result->result;
    271                 } else {
    272                     if ($result->result instanceof PromiseInterface) {
    273                         $result->result->wait(false);
    274                     }
    275                     break;
    276                 }
     270                $result = $result->result;
     271            } while ($result instanceof Promise);
     272
     273            if ($result instanceof PromiseInterface) {
     274                $result->wait(false);
    277275            }
    278276        }
  • quick-login/trunk/vendor/guzzlehttp/promises/src/PromiseInterface.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    5758     *
    5859     * @param mixed $value
     60     *
    5961     * @throws \RuntimeException if the promise is already resolved.
    6062     */
     
    6567     *
    6668     * @param mixed $reason
     69     *
    6770     * @throws \RuntimeException if the promise is already resolved.
    6871     */
     
    8790     *
    8891     * @return mixed
     92     *
    8993     * @throws \LogicException if the promise has no wait function or if the
    9094     *                         promise does not settle after waiting.
  • quick-login/trunk/vendor/guzzlehttp/promises/src/PromisorInterface.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
  • quick-login/trunk/vendor/guzzlehttp/promises/src/RejectedPromise.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    1415    public function __construct($reason)
    1516    {
    16         if (method_exists($reason, 'then')) {
     17        if (is_object($reason) && method_exists($reason, 'then')) {
    1718            throw new \InvalidArgumentException(
    18                 'You cannot create a RejectedPromise with a promise.');
     19                'You cannot create a RejectedPromise with a promise.'
     20            );
    1921        }
    2022
     
    3133        }
    3234
    33         $queue = queue();
     35        $queue = Utils::queue();
    3436        $reason = $this->reason;
    3537        $p = new Promise([$queue, 'run']);
    3638        $queue->add(static function () use ($p, $reason, $onRejected) {
    37             if ($p->getState() === self::PENDING) {
     39            if (Is::pending($p)) {
    3840                try {
    3941                    // Return a resolved promise if onRejected does not throw.
     
    6062    {
    6163        if ($unwrap) {
    62             throw exception_for($this->reason);
     64            throw Create::exceptionFor($this->reason);
    6365        }
     66
     67        return null;
    6468    }
    6569
  • quick-login/trunk/vendor/guzzlehttp/promises/src/RejectionException.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    1314
    1415    /**
    15      * @param mixed $reason       Rejection reason.
     16     * @param mixed  $reason      Rejection reason.
    1617     * @param string $description Optional description
    1718     */
  • quick-login/trunk/vendor/guzzlehttp/promises/src/TaskQueue.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    910 * by calling the `run()` function of the global task queue in an event loop.
    1011 *
    11  *     GuzzleHttp\Promise\queue()->run();
     12 *     GuzzleHttp\Promise\Utils::queue()->run();
    1213 */
    1314class TaskQueue implements TaskQueueInterface
     
    4344    public function run()
    4445    {
    45         /** @var callable $task */
    4646        while ($task = array_shift($this->queue)) {
     47            /** @var callable $task */
    4748            $task();
    4849        }
  • quick-login/trunk/vendor/guzzlehttp/promises/src/TaskQueueInterface.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    1415     * Adds a task to the queue that will be executed the next time run is
    1516     * called.
    16      *
    17      * @param callable $task
    1817     */
    1918    public function add(callable $task);
  • quick-login/trunk/vendor/guzzlehttp/promises/src/functions.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Promise;
    34
     
    1819 *
    1920 * @return TaskQueueInterface
     21 *
     22 * @deprecated queue will be removed in guzzlehttp/promises:2.0. Use Utils::queue instead.
    2023 */
    2124function queue(TaskQueueInterface $assign = null)
    2225{
    23     static $queue;
    24 
    25     if ($assign) {
    26         $queue = $assign;
    27     } elseif (!$queue) {
    28         $queue = new TaskQueue();
    29     }
    30 
    31     return $queue;
     26    return Utils::queue($assign);
    3227}
    3328
     
    3934 *
    4035 * @return PromiseInterface
     36 *
     37 * @deprecated task will be removed in guzzlehttp/promises:2.0. Use Utils::task instead.
    4138 */
    4239function task(callable $task)
    4340{
    44     $queue = queue();
    45     $promise = new Promise([$queue, 'run']);
    46     $queue->add(function () use ($task, $promise) {
    47         try {
    48             $promise->resolve($task());
    49         } catch (\Throwable $e) {
    50             $promise->reject($e);
    51         } catch (\Exception $e) {
    52             $promise->reject($e);
    53         }
    54     });
    55 
    56     return $promise;
     41    return Utils::task($task);
    5742}
    5843
     
    6348 *
    6449 * @return PromiseInterface
     50 *
     51 * @deprecated promise_for will be removed in guzzlehttp/promises:2.0. Use Create::promiseFor instead.
    6552 */
    6653function promise_for($value)
    6754{
    68     if ($value instanceof PromiseInterface) {
    69         return $value;
    70     }
    71 
    72     // Return a Guzzle promise that shadows the given promise.
    73     if (method_exists($value, 'then')) {
    74         $wfn = method_exists($value, 'wait') ? [$value, 'wait'] : null;
    75         $cfn = method_exists($value, 'cancel') ? [$value, 'cancel'] : null;
    76         $promise = new Promise($wfn, $cfn);
    77         $value->then([$promise, 'resolve'], [$promise, 'reject']);
    78         return $promise;
    79     }
    80 
    81     return new FulfilledPromise($value);
     55    return Create::promiseFor($value);
    8256}
    8357
     
    8963 *
    9064 * @return PromiseInterface
     65 *
     66 * @deprecated rejection_for will be removed in guzzlehttp/promises:2.0. Use Create::rejectionFor instead.
    9167 */
    9268function rejection_for($reason)
    9369{
    94     if ($reason instanceof PromiseInterface) {
    95         return $reason;
    96     }
    97 
    98     return new RejectedPromise($reason);
     70    return Create::rejectionFor($reason);
    9971}
    10072
     
    10577 *
    10678 * @return \Exception|\Throwable
     79 *
     80 * @deprecated exception_for will be removed in guzzlehttp/promises:2.0. Use Create::exceptionFor instead.
    10781 */
    10882function exception_for($reason)
    10983{
    110     return $reason instanceof \Exception || $reason instanceof \Throwable
    111         ? $reason
    112         : new RejectionException($reason);
     84    return Create::exceptionFor($reason);
    11385}
    11486
     
    11991 *
    12092 * @return \Iterator
     93 *
     94 * @deprecated iter_for will be removed in guzzlehttp/promises:2.0. Use Create::iterFor instead.
    12195 */
    12296function iter_for($value)
    12397{
    124     if ($value instanceof \Iterator) {
    125         return $value;
    126     } elseif (is_array($value)) {
    127         return new \ArrayIterator($value);
    128     } else {
    129         return new \ArrayIterator([$value]);
    130     }
     98    return Create::iterFor($value);
    13199}
    132100
     
    144112 *
    145113 * @return array
     114 *
     115 * @deprecated inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspect instead.
    146116 */
    147117function inspect(PromiseInterface $promise)
    148118{
    149     try {
    150         return [
    151             'state' => PromiseInterface::FULFILLED,
    152             'value' => $promise->wait()
    153         ];
    154     } catch (RejectionException $e) {
    155         return ['state' => PromiseInterface::REJECTED, 'reason' => $e->getReason()];
    156     } catch (\Throwable $e) {
    157         return ['state' => PromiseInterface::REJECTED, 'reason' => $e];
    158     } catch (\Exception $e) {
    159         return ['state' => PromiseInterface::REJECTED, 'reason' => $e];
    160     }
     119    return Utils::inspect($promise);
    161120}
    162121
     
    167126 * Returns an array of inspection state arrays.
    168127 *
     128 * @see inspect for the inspection state array format.
     129 *
    169130 * @param PromiseInterface[] $promises Traversable of promises to wait upon.
    170131 *
    171132 * @return array
    172  * @see GuzzleHttp\Promise\inspect for the inspection state array format.
     133 *
     134 * @deprecated inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspectAll instead.
    173135 */
    174136function inspect_all($promises)
    175137{
    176     $results = [];
    177     foreach ($promises as $key => $promise) {
    178         $results[$key] = inspect($promise);
    179     }
    180 
    181     return $results;
     138    return Utils::inspectAll($promises);
    182139}
    183140
     
    189146 * are rejected.
    190147 *
    191  * @param mixed $promises Iterable of PromiseInterface objects to wait on.
     148 * @param iterable<PromiseInterface> $promises Iterable of PromiseInterface objects to wait on.
    192149 *
    193150 * @return array
     151 *
    194152 * @throws \Exception on error
    195153 * @throws \Throwable on error in PHP >=7
     154 *
     155 * @deprecated unwrap will be removed in guzzlehttp/promises:2.0. Use Utils::unwrap instead.
    196156 */
    197157function unwrap($promises)
    198158{
    199     $results = [];
    200     foreach ($promises as $key => $promise) {
    201         $results[$key] = $promise->wait();
    202     }
    203 
    204     return $results;
     159    return Utils::unwrap($promises);
    205160}
    206161
     
    213168 * rejects, the returned promise is rejected with the rejection reason.
    214169 *
    215  * @param mixed $promises Promises or values.
    216  *
    217  * @return PromiseInterface
    218  */
    219 function all($promises)
    220 {
    221     $results = [];
    222     return each(
    223         $promises,
    224         function ($value, $idx) use (&$results) {
    225             $results[$idx] = $value;
    226         },
    227         function ($reason, $idx, Promise $aggregate) {
    228             $aggregate->reject($reason);
    229         }
    230     )->then(function () use (&$results) {
    231         ksort($results);
    232         return $results;
    233     });
     170 * @param mixed $promises  Promises or values.
     171 * @param bool  $recursive If true, resolves new promises that might have been added to the stack during its own resolution.
     172 *
     173 * @return PromiseInterface
     174 *
     175 * @deprecated all will be removed in guzzlehttp/promises:2.0. Use Utils::all instead.
     176 */
     177function all($promises, $recursive = false)
     178{
     179    return Utils::all($promises, $recursive);
    234180}
    235181
     
    242188 * in order of resolution.
    243189 *
    244  * This prommise is rejected with a {@see GuzzleHttp\Promise\AggregateException}
    245  * if the number of fulfilled promises is less than the desired $count.
     190 * This promise is rejected with a {@see AggregateException} if the number of
     191 * fulfilled promises is less than the desired $count.
    246192 *
    247193 * @param int   $count    Total number of promises.
     
    249195 *
    250196 * @return PromiseInterface
     197 *
     198 * @deprecated some will be removed in guzzlehttp/promises:2.0. Use Utils::some instead.
    251199 */
    252200function some($count, $promises)
    253201{
    254     $results = [];
    255     $rejections = [];
    256 
    257     return each(
    258         $promises,
    259         function ($value, $idx, PromiseInterface $p) use (&$results, $count) {
    260             if ($p->getState() !== PromiseInterface::PENDING) {
    261                 return;
    262             }
    263             $results[$idx] = $value;
    264             if (count($results) >= $count) {
    265                 $p->resolve(null);
    266             }
    267         },
    268         function ($reason) use (&$rejections) {
    269             $rejections[] = $reason;
    270         }
    271     )->then(
    272         function () use (&$results, &$rejections, $count) {
    273             if (count($results) !== $count) {
    274                 throw new AggregateException(
    275                     'Not enough promises to fulfill count',
    276                     $rejections
    277                 );
    278             }
    279             ksort($results);
    280             return array_values($results);
    281         }
    282     );
     202    return Utils::some($count, $promises);
    283203}
    284204
     
    290210 *
    291211 * @return PromiseInterface
     212 *
     213 * @deprecated any will be removed in guzzlehttp/promises:2.0. Use Utils::any instead.
    292214 */
    293215function any($promises)
    294216{
    295     return some(1, $promises)->then(function ($values) { return $values[0]; });
     217    return Utils::any($promises);
    296218}
    297219
     
    302224 * The returned promise is fulfilled with an array of inspection state arrays.
    303225 *
     226 * @see inspect for the inspection state array format.
     227 *
    304228 * @param mixed $promises Promises or values.
    305229 *
    306230 * @return PromiseInterface
    307  * @see GuzzleHttp\Promise\inspect for the inspection state array format.
     231 *
     232 * @deprecated settle will be removed in guzzlehttp/promises:2.0. Use Utils::settle instead.
    308233 */
    309234function settle($promises)
    310235{
    311     $results = [];
    312 
    313     return each(
    314         $promises,
    315         function ($value, $idx) use (&$results) {
    316             $results[$idx] = ['state' => PromiseInterface::FULFILLED, 'value' => $value];
    317         },
    318         function ($reason, $idx) use (&$results) {
    319             $results[$idx] = ['state' => PromiseInterface::REJECTED, 'reason' => $reason];
    320         }
    321     )->then(function () use (&$results) {
    322         ksort($results);
    323         return $results;
    324     });
     236    return Utils::settle($promises);
    325237}
    326238
     
    330242 * aggregate promise has been fulfilled or rejected.
    331243 *
    332  * $onFulfilled is a function that accepts the fulfilled value, iterator
    333  * index, and the aggregate promise. The callback can invoke any necessary side
    334  * effects and choose to resolve or reject the aggregate promise if needed.
    335  *
    336  * $onRejected is a function that accepts the rejection reason, iterator
    337  * index, and the aggregate promise. The callback can invoke any necessary side
    338  * effects and choose to resolve or reject the aggregate promise if needed.
     244 * $onFulfilled is a function that accepts the fulfilled value, iterator index,
     245 * and the aggregate promise. The callback can invoke any necessary side
     246 * effects and choose to resolve or reject the aggregate if needed.
     247 *
     248 * $onRejected is a function that accepts the rejection reason, iterator index,
     249 * and the aggregate promise. The callback can invoke any necessary side
     250 * effects and choose to resolve or reject the aggregate if needed.
    339251 *
    340252 * @param mixed    $iterable    Iterator or array to iterate over.
     
    343255 *
    344256 * @return PromiseInterface
     257 *
     258 * @deprecated each will be removed in guzzlehttp/promises:2.0. Use Each::of instead.
    345259 */
    346260function each(
     
    349263    callable $onRejected = null
    350264) {
    351     return (new EachPromise($iterable, [
    352         'fulfilled' => $onFulfilled,
    353         'rejected'  => $onRejected
    354     ]))->promise();
     265    return Each::of($iterable, $onFulfilled, $onRejected);
    355266}
    356267
     
    369280 *
    370281 * @return PromiseInterface
     282 *
     283 * @deprecated each_limit will be removed in guzzlehttp/promises:2.0. Use Each::ofLimit instead.
    371284 */
    372285function each_limit(
     
    376289    callable $onRejected = null
    377290) {
    378     return (new EachPromise($iterable, [
    379         'fulfilled'   => $onFulfilled,
    380         'rejected'    => $onRejected,
    381         'concurrency' => $concurrency
    382     ]))->promise();
     291    return Each::ofLimit($iterable, $concurrency, $onFulfilled, $onRejected);
    383292}
    384293
     
    393302 *
    394303 * @return PromiseInterface
     304 *
     305 * @deprecated each_limit_all will be removed in guzzlehttp/promises:2.0. Use Each::ofLimitAll instead.
    395306 */
    396307function each_limit_all(
     
    399310    callable $onFulfilled = null
    400311) {
    401     return each_limit(
    402         $iterable,
    403         $concurrency,
    404         $onFulfilled,
    405         function ($reason, $idx, PromiseInterface $aggregate) {
    406             $aggregate->reject($reason);
    407         }
    408     );
     312    return Each::ofLimitAll($iterable, $concurrency, $onFulfilled);
    409313}
    410314
     
    412316 * Returns true if a promise is fulfilled.
    413317 *
    414  * @param PromiseInterface $promise
    415  *
    416318 * @return bool
     319 *
     320 * @deprecated is_fulfilled will be removed in guzzlehttp/promises:2.0. Use Is::fulfilled instead.
    417321 */
    418322function is_fulfilled(PromiseInterface $promise)
    419323{
    420     return $promise->getState() === PromiseInterface::FULFILLED;
     324    return Is::fulfilled($promise);
    421325}
    422326
     
    424328 * Returns true if a promise is rejected.
    425329 *
    426  * @param PromiseInterface $promise
    427  *
    428330 * @return bool
     331 *
     332 * @deprecated is_rejected will be removed in guzzlehttp/promises:2.0. Use Is::rejected instead.
    429333 */
    430334function is_rejected(PromiseInterface $promise)
    431335{
    432     return $promise->getState() === PromiseInterface::REJECTED;
     336    return Is::rejected($promise);
    433337}
    434338
     
    436340 * Returns true if a promise is fulfilled or rejected.
    437341 *
    438  * @param PromiseInterface $promise
    439  *
    440342 * @return bool
     343 *
     344 * @deprecated is_settled will be removed in guzzlehttp/promises:2.0. Use Is::settled instead.
    441345 */
    442346function is_settled(PromiseInterface $promise)
    443347{
    444     return $promise->getState() !== PromiseInterface::PENDING;
    445 }
    446 
    447 /**
     348    return Is::settled($promise);
     349}
     350
     351/**
     352 * Create a new coroutine.
     353 *
    448354 * @see Coroutine
    449355 *
    450  * @param callable $generatorFn
    451  *
    452  * @return PromiseInterface
     356 * @return PromiseInterface
     357 *
     358 * @deprecated coroutine will be removed in guzzlehttp/promises:2.0. Use Coroutine::of instead.
    453359 */
    454360function coroutine(callable $generatorFn)
    455361{
    456     return new Coroutine($generatorFn);
    457 }
     362    return Coroutine::of($generatorFn);
     363}
  • quick-login/trunk/vendor/guzzlehttp/psr7/CHANGELOG.md

    r2223410 r2458198  
    1010## [Unreleased]
    1111
    12 
    13 ## [1.6.0]
     12## [1.7.0] - 2020-09-30
     13
     14### Added
     15
     16- Replaced functions by static methods
     17
     18### Fixed
     19
     20- Converting a non-seekable stream to a string
     21- Handle multiple Set-Cookie correctly
     22- Ignore array keys in header values when merging
     23- Allow multibyte characters to be parsed in `Message:bodySummary()`
     24
     25### Changed
     26
     27- Restored partial HHVM 3 support
     28
     29
     30## [1.6.1] - 2019-07-02
     31
     32### Fixed
     33
     34- Accept null and bool header values again
     35
     36
     37## [1.6.0] - 2019-06-30
    1438
    1539### Added
  • quick-login/trunk/vendor/guzzlehttp/psr7/README.md

    r2010460 r2458198  
    2424use GuzzleHttp\Psr7;
    2525
    26 $a = Psr7\stream_for('abc, ');
    27 $b = Psr7\stream_for('123.');
     26$a = Psr7\Utils::streamFor('abc, ');
     27$b = Psr7\Utils::streamFor('123.');
    2828$composed = new Psr7\AppendStream([$a, $b]);
    2929
    30 $composed->addStream(Psr7\stream_for(' Above all listen to me'));
     30$composed->addStream(Psr7\Utils::streamFor(' Above all listen to me'));
    3131
    3232echo $composed; // abc, 123. Above all listen to me.
     
    6666use GuzzleHttp\Psr7;
    6767
    68 $original = Psr7\stream_for(fopen('http://www.google.com', 'r'));
     68$original = Psr7\Utils::streamFor(fopen('http://www.google.com', 'r'));
    6969$stream = new Psr7\CachingStream($original);
    7070
     
    9090
    9191// Create an empty stream
    92 $stream = Psr7\stream_for();
     92$stream = Psr7\Utils::streamFor();
    9393
    9494// Start dropping data when the stream has more than 10 bytes
     
    113113use GuzzleHttp\Psr7;
    114114
    115 $stream = Psr7\stream_for('hi');
     115$stream = Psr7\Utils::streamFor('hi');
    116116$fnStream = Psr7\FnStream::decorate($stream, [
    117117    'rewind' => function () use ($stream) {
     
    168168use GuzzleHttp\Psr7;
    169169
    170 $original = Psr7\stream_for(fopen('/tmp/test.txt', 'r+'));
     170$original = Psr7\Utils::streamFor(fopen('/tmp/test.txt', 'r+'));
    171171echo $original->getSize();
    172172// >>> 1048576
     
    198198use GuzzleHttp\Psr7;
    199199
    200 $original = Psr7\stream_for('foo');
     200$original = Psr7\Utils::streamFor('foo');
    201201$noSeek = new Psr7\NoSeekStream($original);
    202202
     
    272272use GuzzleHttp\Psr7;
    273273
    274 $original = Psr7\stream_for('foo');
     274$original = Psr7\Utils::streamFor('foo');
    275275
    276276$eofStream = new EofCallbackStream($original, function () {
     
    298298use GuzzleHttp\Psr7\StreamWrapper;
    299299
    300 $stream = GuzzleHttp\Psr7\stream_for('hello!');
     300$stream = GuzzleHttp\Psr7\Utils::streamFor('hello!');
    301301$resource = StreamWrapper::getResource($stream);
    302302echo fread($resource, 6); // outputs hello!
     
    304304
    305305
    306 # Function API
    307 
    308 There are various functions available under the `GuzzleHttp\Psr7` namespace.
    309 
    310 
    311 ## `function str`
    312 
    313 `function str(MessageInterface $message)`
     306# Static API
     307
     308There are various static methods available under the `GuzzleHttp\Psr7` namespace.
     309
     310
     311## `GuzzleHttp\Psr7\Message::toString`
     312
     313`public static function toString(MessageInterface $message): string`
    314314
    315315Returns the string representation of an HTTP message.
     
    317317```php
    318318$request = new GuzzleHttp\Psr7\Request('GET', 'http://example.com');
    319 echo GuzzleHttp\Psr7\str($request);
    320 ```
    321 
    322 
    323 ## `function uri_for`
    324 
    325 `function uri_for($uri)`
    326 
    327 This function accepts a string or `Psr\Http\Message\UriInterface` and returns a
    328 UriInterface for the given value. If the value is already a `UriInterface`, it
    329 is returned as-is.
    330 
    331 ```php
    332 $uri = GuzzleHttp\Psr7\uri_for('http://example.com');
    333 assert($uri === GuzzleHttp\Psr7\uri_for($uri));
    334 ```
    335 
    336 
    337 ## `function stream_for`
    338 
    339 `function stream_for($resource = '', array $options = [])`
     319echo GuzzleHttp\Psr7\Message::toString($request);
     320```
     321
     322
     323## `GuzzleHttp\Psr7\Message::bodySummary`
     324
     325`public static function bodySummary(MessageInterface $message, int $truncateAt = 120): string|null`
     326
     327Get a short summary of the message body.
     328
     329Will return `null` if the response is not printable.
     330
     331
     332## `GuzzleHttp\Psr7\Message::rewindBody`
     333
     334`public static function rewindBody(MessageInterface $message): void`
     335
     336Attempts to rewind a message body and throws an exception on failure.
     337
     338The body of the message will only be rewound if a call to `tell()`
     339returns a value other than `0`.
     340
     341
     342## `GuzzleHttp\Psr7\Message::parseMessage`
     343
     344`public static function parseMessage(string $message): array`
     345
     346Parses an HTTP message into an associative array.
     347
     348The array contains the "start-line" key containing the start line of
     349the message, "headers" key containing an associative array of header
     350array values, and a "body" key containing the body of the message.
     351
     352
     353## `GuzzleHttp\Psr7\Message::parseRequestUri`
     354
     355`public static function parseRequestUri(string $path, array $headers): string`
     356
     357Constructs a URI for an HTTP request message.
     358
     359
     360## `GuzzleHttp\Psr7\Message::parseRequest`
     361
     362`public static function parseRequest(string $message): Request`
     363
     364Parses a request message string into a request object.
     365
     366
     367## `GuzzleHttp\Psr7\Message::parseResponse`
     368
     369`public static function parseResponse(string $message): Response`
     370
     371Parses a response message string into a response object.
     372
     373
     374## `GuzzleHttp\Psr7\Header::parse`
     375
     376`public static function parse(string|array $header): array`
     377
     378Parse an array of header values containing ";" separated data into an
     379array of associative arrays representing the header key value pair data
     380of the header. When a parameter does not contain a value, but just
     381contains a key, this function will inject a key with a '' string value.
     382
     383
     384## `GuzzleHttp\Psr7\Header::normalize`
     385
     386`public static function normalize(string|array $header): array`
     387
     388Converts an array of header values that may contain comma separated
     389headers into an array of headers with no comma separated values.
     390
     391
     392## `GuzzleHttp\Psr7\Query::parse`
     393
     394`public static function parse(string $str, int|bool $urlEncoding = true): array`
     395
     396Parse a query string into an associative array.
     397
     398If multiple values are found for the same key, the value of that key
     399value pair will become an array. This function does not parse nested
     400PHP style arrays into an associative array (e.g., `foo[a]=1&foo[b]=2`
     401will be parsed into `['foo[a]' => '1', 'foo[b]' => '2'])`.
     402
     403
     404## `GuzzleHttp\Psr7\Query::build`
     405
     406`public static function build(array $params, int|false $encoding = PHP_QUERY_RFC3986): string`
     407
     408Build a query string from an array of key value pairs.
     409
     410This function can use the return value of `parse()` to build a query
     411string. This function does not modify the provided keys when an array is
     412encountered (like `http_build_query()` would).
     413
     414
     415## `GuzzleHttp\Psr7\Utils::caselessRemove`
     416
     417`public static function caselessRemove(iterable<string> $keys, $keys, array $data): array`
     418
     419Remove the items given by the keys, case insensitively from the data.
     420
     421
     422## `GuzzleHttp\Psr7\Utils::copyToStream`
     423
     424`public static function copyToStream(StreamInterface $source, StreamInterface $dest, int $maxLen = -1): void`
     425
     426Copy the contents of a stream into another stream until the given number
     427of bytes have been read.
     428
     429
     430## `GuzzleHttp\Psr7\Utils::copyToString`
     431
     432`public static function copyToString(StreamInterface $stream, int $maxLen = -1): string`
     433
     434Copy the contents of a stream into a string until the given number of
     435bytes have been read.
     436
     437
     438## `GuzzleHttp\Psr7\Utils::hash`
     439
     440`public static function hash(StreamInterface $stream, string $algo, bool $rawOutput = false): string`
     441
     442Calculate a hash of a stream.
     443
     444This method reads the entire stream to calculate a rolling hash, based on
     445PHP's `hash_init` functions.
     446
     447
     448## `GuzzleHttp\Psr7\Utils::modifyRequest`
     449
     450`public static function modifyRequest(RequestInterface $request, array $changes): RequestInterface`
     451
     452Clone and modify a request with the given changes.
     453
     454This method is useful for reducing the number of clones needed to mutate
     455a message.
     456
     457- method: (string) Changes the HTTP method.
     458- set_headers: (array) Sets the given headers.
     459- remove_headers: (array) Remove the given headers.
     460- body: (mixed) Sets the given body.
     461- uri: (UriInterface) Set the URI.
     462- query: (string) Set the query string value of the URI.
     463- version: (string) Set the protocol version.
     464
     465
     466## `GuzzleHttp\Psr7\Utils::readLine`
     467
     468`public static function readLine(StreamInterface $stream, int $maxLength = null): string`
     469
     470Read a line from the stream up to the maximum allowed buffer length.
     471
     472
     473## `GuzzleHttp\Psr7\Utils::streamFor`
     474
     475`public static function streamFor(resource|string|null|int|float|bool|StreamInterface|callable|\Iterator $resource = '', array $options = []): StreamInterface`
    340476
    341477Create a new stream based on the input type.
     
    343479Options is an associative array that can contain the following keys:
    344480
    345 * - metadata: Array of custom metadata.
    346 * - size: Size of the stream.
     481- metadata: Array of custom metadata.
     482- size: Size of the stream.
    347483
    348484This method accepts the following `$resource` types:
     
    370506
    371507```php
    372 $stream = GuzzleHttp\Psr7\stream_for('foo');
    373 $stream = GuzzleHttp\Psr7\stream_for(fopen('/path/to/file', 'r'));
     508$stream = GuzzleHttp\Psr7\Utils::streamFor('foo');
     509$stream = GuzzleHttp\Psr7\Utils::streamFor(fopen('/path/to/file', 'r'));
    374510
    375511$generator = function ($bytes) {
     
    379515}
    380516
    381 $stream = GuzzleHttp\Psr7\stream_for($generator(100));
    382 ```
    383 
    384 
    385 ## `function parse_header`
    386 
    387 `function parse_header($header)`
    388 
    389 Parse an array of header values containing ";" separated data into an array of
    390 associative arrays representing the header key value pair data of the header.
    391 When a parameter does not contain a value, but just contains a key, this
    392 function will inject a key with a '' string value.
    393 
    394 
    395 ## `function normalize_header`
    396 
    397 `function normalize_header($header)`
    398 
    399 Converts an array of header values that may contain comma separated headers
    400 into an array of headers with no comma separated values.
    401 
    402 
    403 ## `function modify_request`
    404 
    405 `function modify_request(RequestInterface $request, array $changes)`
    406 
    407 Clone and modify a request with the given changes. This method is useful for
    408 reducing the number of clones needed to mutate a message.
    409 
    410 The changes can be one of:
    411 
    412 - method: (string) Changes the HTTP method.
    413 - set_headers: (array) Sets the given headers.
    414 - remove_headers: (array) Remove the given headers.
    415 - body: (mixed) Sets the given body.
    416 - uri: (UriInterface) Set the URI.
    417 - query: (string) Set the query string value of the URI.
    418 - version: (string) Set the protocol version.
    419 
    420 
    421 ## `function rewind_body`
    422 
    423 `function rewind_body(MessageInterface $message)`
    424 
    425 Attempts to rewind a message body and throws an exception on failure. The body
    426 of the message will only be rewound if a call to `tell()` returns a value other
    427 than `0`.
    428 
    429 
    430 ## `function try_fopen`
    431 
    432 `function try_fopen($filename, $mode)`
     517$stream = GuzzleHttp\Psr7\Utils::streamFor($generator(100));
     518```
     519
     520
     521## `GuzzleHttp\Psr7\Utils::tryFopen`
     522
     523`public static function tryFopen(string $filename, string $mode): resource`
    433524
    434525Safely opens a PHP stream resource using a filename.
    435526
    436 When fopen fails, PHP normally raises a warning. This function adds an error
    437 handler that checks for errors and throws an exception instead.
    438 
    439 
    440 ## `function copy_to_string`
    441 
    442 `function copy_to_string(StreamInterface $stream, $maxLen = -1)`
    443 
    444 Copy the contents of a stream into a string until the given number of bytes
    445 have been read.
    446 
    447 
    448 ## `function copy_to_stream`
    449 
    450 `function copy_to_stream(StreamInterface $source, StreamInterface $dest, $maxLen = -1)`
    451 
    452 Copy the contents of a stream into another stream until the given number of
    453 bytes have been read.
    454 
    455 
    456 ## `function hash`
    457 
    458 `function hash(StreamInterface $stream, $algo, $rawOutput = false)`
    459 
    460 Calculate a hash of a Stream. This method reads the entire stream to calculate
    461 a rolling hash (based on PHP's hash_init functions).
    462 
    463 
    464 ## `function readline`
    465 
    466 `function readline(StreamInterface $stream, $maxLength = null)`
    467 
    468 Read a line from the stream up to the maximum allowed buffer length.
    469 
    470 
    471 ## `function parse_request`
    472 
    473 `function parse_request($message)`
    474 
    475 Parses a request message string into a request object.
    476 
    477 
    478 ## `function parse_response`
    479 
    480 `function parse_response($message)`
    481 
    482 Parses a response message string into a response object.
    483 
    484 
    485 ## `function parse_query`
    486 
    487 `function parse_query($str, $urlEncoding = true)`
    488 
    489 Parse a query string into an associative array.
    490 
    491 If multiple values are found for the same key, the value of that key value pair
    492 will become an array. This function does not parse nested PHP style arrays into
    493 an associative array (e.g., `foo[a]=1&foo[b]=2` will be parsed into
    494 `['foo[a]' => '1', 'foo[b]' => '2']`).
    495 
    496 
    497 ## `function build_query`
    498 
    499 `function build_query(array $params, $encoding = PHP_QUERY_RFC3986)`
    500 
    501 Build a query string from an array of key value pairs.
    502 
    503 This function can use the return value of parse_query() to build a query string.
    504 This function does not modify the provided keys when an array is encountered
    505 (like http_build_query would).
    506 
    507 
    508 ## `function mimetype_from_filename`
    509 
    510 `function mimetype_from_filename($filename)`
     527When fopen fails, PHP normally raises a warning. This function adds an
     528error handler that checks for errors and throws an exception instead.
     529
     530
     531## `GuzzleHttp\Psr7\Utils::uriFor`
     532
     533`public static function uriFor(string|UriInterface $uri): UriInterface`
     534
     535Returns a UriInterface for the given value.
     536
     537This function accepts a string or UriInterface and returns a
     538UriInterface for the given value. If the value is already a
     539UriInterface, it is returned as-is.
     540
     541
     542## `GuzzleHttp\Psr7\MimeType::fromFilename`
     543
     544`public static function fromFilename(string $filename): string|null`
    511545
    512546Determines the mimetype of a file by looking at its extension.
    513547
    514548
    515 ## `function mimetype_from_extension`
    516 
    517 `function mimetype_from_extension($extension)`
     549## `GuzzleHttp\Psr7\MimeType::fromExtension`
     550
     551`public static function fromExtension(string $extension): string|null`
    518552
    519553Maps a file extensions to a mimetype.
     554
     555
     556## Upgrading from Function API
     557
     558The static API was first introduced in 1.7.0, in order to mitigate problems with functions conflicting between global and local copies of the package. The function API will be removed in 2.0.0. A migration table has been provided here for your convenience:
     559
     560| Original Function | Replacement Method |
     561|----------------|----------------|
     562| `str` | `Message::toString` |
     563| `uri_for` | `Utils::uriFor` |
     564| `stream_for` | `Utils::streamFor` |
     565| `parse_header` | `Header::parse` |
     566| `normalize_header` | `Header::normalize` |
     567| `modify_request` | `Utils::modifyRequest` |
     568| `rewind_body` | `Message::rewindBody` |
     569| `try_fopen` | `Utils::tryFopen` |
     570| `copy_to_string` | `Utils::copyToString` |
     571| `copy_to_stream` | `Utils::copyToStream` |
     572| `hash` | `Utils::hash` |
     573| `readline` | `Utils::readLine` |
     574| `parse_request` | `Message::parseRequest` |
     575| `parse_response` | `Message::parseResponse` |
     576| `parse_query` | `Query::parse` |
     577| `build_query` | `Query::build` |
     578| `mimetype_from_filename` | `MimeType::fromFilename` |
     579| `mimetype_from_extension` | `MimeType::fromExtension` |
     580| `_parse_message` | `Message::parseMessage` |
     581| `_parse_request_uri` | `Message::parseRequestUri` |
     582| `get_message_body_summary` | `Message::bodySummary` |
     583| `_caseless_remove` | `Utils::caselessRemove` |
    520584
    521585
  • quick-login/trunk/vendor/guzzlehttp/psr7/composer.json

    r2223410 r2458198  
    2222    },
    2323    "require-dev": {
    24         "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8",
     24        "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10",
    2525        "ext-zlib": "*"
    2626    },
     
    2929    },
    3030    "suggest": {
    31         "zendframework/zend-httphandlerrunner": "Emit PSR-7 responses"
     31        "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
    3232    },
    3333    "autoload": {
     
    4444    "extra": {
    4545        "branch-alias": {
    46             "dev-master": "1.6-dev"
     46            "dev-master": "1.7-dev"
    4747        }
    4848    }
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/AppendStream.php

    r2010460 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    6263    public function getContents()
    6364    {
    64         return copy_to_string($this);
     65        return Utils::copyToString($this);
    6566    }
    6667
     
    99100
    100101        $this->streams = [];
     102
     103        return null;
    101104    }
    102105
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/BufferStream.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    5051    {
    5152        $this->close();
     53
     54        return null;
    5255    }
    5356
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/CachingStream.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    132133    {
    133134        $target = new FnStream(['write' => 'strlen']);
    134         copy_to_stream($this, $target);
     135        Utils::copyToStream($this, $target);
    135136
    136137        return $this->tell();
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/DroppingStream.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/FnStream.php

    r2010460 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    3536    /**
    3637     * Lazily determine which methods are not implemented.
     38     *
    3739     * @throws \BadMethodCallException
    3840     */
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/InflateStream.php

    r2010460 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/LazyOpenStream.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    3536    protected function createStream()
    3637    {
    37         return stream_for(try_fopen($this->filename, $this->mode));
     38        return Utils::streamFor(Utils::tryFopen($this->filename, $this->mode));
    3839    }
    3940}
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/LimitStream.php

    r2223410 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/MessageTrait.php

    r2223410 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    1819    private $protocol = '1.1';
    1920
    20     /** @var StreamInterface */
     21    /** @var StreamInterface|null */
    2122    private $stream;
    2223
     
    118119    {
    119120        if (!$this->stream) {
    120             $this->stream = stream_for('');
     121            $this->stream = Utils::streamFor('');
    121122        }
    122123
     
    195196
    196197            return trim((string) $value, " \t");
    197         }, $values);
     198        }, array_values($values));
    198199    }
    199200
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/MultipartStream.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    7273
    7374        // Add the trailing boundary with CRLF
    74         $stream->addStream(stream_for("--{$this->boundary}--\r\n"));
     75        $stream->addStream(Utils::streamFor("--{$this->boundary}--\r\n"));
    7576
    7677        return $stream;
     
    8586        }
    8687
    87         $element['contents'] = stream_for($element['contents']);
     88        $element['contents'] = Utils::streamFor($element['contents']);
    8889
    8990        if (empty($element['filename'])) {
     
    101102        );
    102103
    103         $stream->addStream(stream_for($this->getHeaders($headers)));
     104        $stream->addStream(Utils::streamFor($this->getHeaders($headers)));
    104105        $stream->addStream($body);
    105         $stream->addStream(stream_for("\r\n"));
     106        $stream->addStream(Utils::streamFor("\r\n"));
    106107    }
    107108
     
    132133        $type = $this->getHeader($headers, 'content-type');
    133134        if (!$type && ($filename === '0' || $filename)) {
    134             if ($type = mimetype_from_filename($filename)) {
     135            if ($type = MimeType::fromFilename($filename)) {
    135136                $headers['Content-Type'] = $type;
    136137            }
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/NoSeekStream.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/PumpStream.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    5253    {
    5354        try {
    54             return copy_to_string($this);
     55            return Utils::copyToString($this);
    5556        } catch (\Exception $e) {
    5657            return '';
     
    6768        $this->tellPos = false;
    6869        $this->source = null;
     70
     71        return null;
    6972    }
    7073
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/Request.php

    r2223410 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    5253
    5354        if ($body !== '' && $body !== null) {
    54             $this->stream = stream_for($body);
     55            $this->stream = Utils::streamFor($body);
    5556        }
    5657    }
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/Response.php

    r2223410 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    101102
    102103        if ($body !== '' && $body !== null) {
    103             $this->stream = stream_for($body);
     104            $this->stream = Utils::streamFor($body);
    104105        }
    105106
     
    135136            $reasonPhrase = self::$phrases[$new->statusCode];
    136137        }
    137         $new->reasonPhrase = $reasonPhrase;
     138        $new->reasonPhrase = (string) $reasonPhrase;
    138139        return $new;
    139140    }
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/ServerRequest.php

    r2223410 r2458198  
    8080     *
    8181     * @param array $files A array which respect $_FILES structure
     82     *
     83     * @return array
     84     *
    8285     * @throws InvalidArgumentException for unrecognized values
    83      * @return array
    8486     */
    8587    public static function normalizeFiles(array $files)
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/Stream.php

    r2223410 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    7778    {
    7879        try {
    79             $this->seek(0);
    80             return (string) stream_get_contents($this->stream);
     80            if ($this->isSeekable()) {
     81                $this->seek(0);
     82            }
     83            return $this->getContents();
    8184        } catch (\Exception $e) {
    8285            return '';
     
    194197    {
    195198        $whence = (int) $whence;
    196        
     199
    197200        if (!isset($this->stream)) {
    198201            throw new \RuntimeException('Stream is detached');
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    5354    public function getContents()
    5455    {
    55         return copy_to_string($this);
     56        return Utils::copyToString($this);
    5657    }
    5758
     
    141142     *
    142143     * @return StreamInterface
     144     *
    143145     * @throws \BadMethodCallException
    144146     */
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/StreamWrapper.php

    r2010460 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    2425     *
    2526     * @return resource
     27     *
    2628     * @throws \InvalidArgumentException if stream is not readable or writable
    2729     */
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/UploadedFile.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
     
    8687     *
    8788     * @param mixed $streamOrFile
     89     *
    8890     * @throws InvalidArgumentException
    8991     */
     
    105107    /**
    106108     * @param int $error
     109     *
    107110     * @throws InvalidArgumentException
    108111     */
     
    126129    /**
    127130     * @param int $size
     131     *
    128132     * @throws InvalidArgumentException
    129133     */
     
    159163    /**
    160164     * @param string|null $clientFilename
     165     *
    161166     * @throws InvalidArgumentException
    162167     */
     
    174179    /**
    175180     * @param string|null $clientMediaType
     181     *
    176182     * @throws InvalidArgumentException
    177183     */
     
    221227    /**
    222228     * {@inheritdoc}
     229     *
    223230     * @throws RuntimeException if the upload was not successful.
    224231     */
     
    239246     * @see http://php.net/is_uploaded_file
    240247     * @see http://php.net/move_uploaded_file
     248     *
    241249     * @param string $targetPath Path to which to move the uploaded file.
     250     *
    242251     * @throws RuntimeException if the upload was not successful.
    243252     * @throws InvalidArgumentException if the $path specified is invalid.
     
    260269                : move_uploaded_file($this->file, $targetPath);
    261270        } else {
    262             copy_to_stream(
     271            Utils::copyToStream(
    263272                $this->getStream(),
    264273                new LazyOpenStream($targetPath, 'w')
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/Uri.php

    r2223410 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/UriNormalizer.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/UriResolver.php

    r1860398 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
  • quick-login/trunk/vendor/guzzlehttp/psr7/src/functions.php

    r2223410 r2458198  
    11<?php
     2
    23namespace GuzzleHttp\Psr7;
    34
    45use Psr\Http\Message\MessageInterface;
    56use Psr\Http\Message\RequestInterface;
    6 use Psr\Http\Message\ResponseInterface;
    7 use Psr\Http\Message\ServerRequestInterface;
    87use Psr\Http\Message\StreamInterface;
    98use Psr\Http\Message\UriInterface;
     
    1514 *
    1615 * @return string
     16 *
     17 * @deprecated str will be removed in guzzlehttp/psr7:2.0. Use Message::toString instead.
    1718 */
    1819function str(MessageInterface $message)
    1920{
    20     if ($message instanceof RequestInterface) {
    21         $msg = trim($message->getMethod() . ' '
    22                 . $message->getRequestTarget())
    23             . ' HTTP/' . $message->getProtocolVersion();
    24         if (!$message->hasHeader('host')) {
    25             $msg .= "\r\nHost: " . $message->getUri()->getHost();
    26         }
    27     } elseif ($message instanceof ResponseInterface) {
    28         $msg = 'HTTP/' . $message->getProtocolVersion() . ' '
    29             . $message->getStatusCode() . ' '
    30             . $message->getReasonPhrase();
    31     } else {
    32         throw new \InvalidArgumentException('Unknown message type');
    33     }
    34 
    35     foreach ($message->getHeaders() as $name => $values) {
    36         $msg .= "\r\n{$name}: " . implode(', ', $values);
    37     }
    38 
    39     return "{$msg}\r\n\r\n" . $message->getBody();
     21    return Message::toString($message);
    4022}
    4123
     
    4325 * Returns a UriInterface for the given value.
    4426 *
    45  * This function accepts a string or {@see Psr\Http\Message\UriInterface} and
    46  * returns a UriInterface for the given value. If the value is already a
    47  * `UriInterface`, it is returned as-is.
     27 * This function accepts a string or UriInterface and returns a
     28 * UriInterface for the given value. If the value is already a
     29 * UriInterface, it is returned as-is.
    4830 *
    4931 * @param string|UriInterface $uri
    5032 *
    5133 * @return UriInterface
     34 *
    5235 * @throws \InvalidArgumentException
     36 *
     37 * @deprecated uri_for will be removed in guzzlehttp/psr7:2.0. Use Utils::uriFor instead.
    5338 */
    5439function uri_for($uri)
    5540{
    56     if ($uri instanceof UriInterface) {
    57         return $uri;
    58     } elseif (is_string($uri)) {
    59         return new Uri($uri);
    60     }
    61 
    62     throw new \InvalidArgumentException('URI must be a string or UriInterface');
     41    return Utils::uriFor($uri);
    6342}
    6443
     
    7049 * - size: Size of the stream.
    7150 *
     51 * This method accepts the following `$resource` types:
     52 * - `Psr\Http\Message\StreamInterface`: Returns the value as-is.
     53 * - `string`: Creates a stream object that uses the given string as the contents.
     54 * - `resource`: Creates a stream object that wraps the given PHP stream resource.
     55 * - `Iterator`: If the provided value implements `Iterator`, then a read-only
     56 *   stream object will be created that wraps the given iterable. Each time the
     57 *   stream is read from, data from the iterator will fill a buffer and will be
     58 *   continuously called until the buffer is equal to the requested read size.
     59 *   Subsequent read calls will first read from the buffer and then call `next`
     60 *   on the underlying iterator until it is exhausted.
     61 * - `object` with `__toString()`: If the object has the `__toString()` method,
     62 *   the object will be cast to a string and then a stream will be returned that
     63 *   uses the string value.
     64 * - `NULL`: When `null` is passed, an empty stream object is returned.
     65 * - `callable` When a callable is passed, a read-only stream object will be
     66 *   created that invokes the given callable. The callable is invoked with the
     67 *   number of suggested bytes to read. The callable can return any number of
     68 *   bytes, but MUST return `false` when there is no more data to return. The
     69 *   stream object that wraps the callable will invoke the callable until the
     70 *   number of requested bytes are available. Any additional bytes will be
     71 *   buffered and used in subsequent reads.
     72 *
    7273 * @param resource|string|null|int|float|bool|StreamInterface|callable|\Iterator $resource Entity body data
    7374 * @param array                                                                  $options  Additional options
    7475 *
    7576 * @return StreamInterface
     77 *
    7678 * @throws \InvalidArgumentException if the $resource arg is not valid.
     79 *
     80 * @deprecated stream_for will be removed in guzzlehttp/psr7:2.0. Use Utils::streamFor instead.
    7781 */
    7882function stream_for($resource = '', array $options = [])
    7983{
    80     if (is_scalar($resource)) {
    81         $stream = fopen('php://temp', 'r+');
    82         if ($resource !== '') {
    83             fwrite($stream, $resource);
    84             fseek($stream, 0);
    85         }
    86         return new Stream($stream, $options);
    87     }
    88 
    89     switch (gettype($resource)) {
    90         case 'resource':
    91             return new Stream($resource, $options);
    92         case 'object':
    93             if ($resource instanceof StreamInterface) {
    94                 return $resource;
    95             } elseif ($resource instanceof \Iterator) {
    96                 return new PumpStream(function () use ($resource) {
    97                     if (!$resource->valid()) {
    98                         return false;
    99                     }
    100                     $result = $resource->current();
    101                     $resource->next();
    102                     return $result;
    103                 }, $options);
    104             } elseif (method_exists($resource, '__toString')) {
    105                 return stream_for((string) $resource, $options);
    106             }
    107             break;
    108         case 'NULL':
    109             return new Stream(fopen('php://temp', 'r+'), $options);
    110     }
    111 
    112     if (is_callable($resource)) {
    113         return new PumpStream($resource, $options);
    114     }
    115 
    116     throw new \InvalidArgumentException('Invalid resource type: ' . gettype($resource));
     84    return Utils::streamFor($resource, $options);
    11785}
    11886
    11987/**
    12088 * Parse an array of header values containing ";" separated data into an
    121  * array of associative arrays representing the header key value pair
    122  * data of the header. When a parameter does not contain a value, but just
     89 * array of associative arrays representing the header key value pair data
     90 * of the header. When a parameter does not contain a value, but just
    12391 * contains a key, this function will inject a key with a '' string value.
    12492 *
     
    12694 *
    12795 * @return array Returns the parsed header values.
     96 *
     97 * @deprecated parse_header will be removed in guzzlehttp/psr7:2.0. Use Header::parse instead.
    12898 */
    12999function parse_header($header)
    130100{
    131     static $trimmed = "\"'  \n\t\r";
    132     $params = $matches = [];
    133 
    134     foreach (normalize_header($header) as $val) {
    135         $part = [];
    136         foreach (preg_split('/;(?=([^"]*"[^"]*")*[^"]*$)/', $val) as $kvp) {
    137             if (preg_match_all('/<[^>]+>|[^=]+/', $kvp, $matches)) {
    138                 $m = $matches[0];
    139                 if (isset($m[1])) {
    140                     $part[trim($m[0], $trimmed)] = trim($m[1], $trimmed);
    141                 } else {
    142                     $part[] = trim($m[0], $trimmed);
    143                 }
    144             }
    145         }
    146         if ($part) {
    147             $params[] = $part;
    148         }
    149     }
    150 
    151     return $params;
     101    return Header::parse($header);
    152102}
    153103
     
    159109 *
    160110 * @return array Returns the normalized header field values.
     111 *
     112 * @deprecated normalize_header will be removed in guzzlehttp/psr7:2.0. Use Header::normalize instead.
    161113 */
    162114function normalize_header($header)
    163115{
    164     if (!is_array($header)) {
    165         return array_map('trim', explode(',', $header));
    166     }
    167 
    168     $result = [];
    169     foreach ($header as $value) {
    170         foreach ((array) $value as $v) {
    171             if (strpos($v, ',') === false) {
    172                 $result[] = $v;
    173                 continue;
    174             }
    175             foreach (preg_split('/,(?=([^"]*"[^"]*")*[^"]*$)/', $v) as $vv) {
    176                 $result[] = trim($vv);
    177             }
    178         }
    179     }
    180 
    181     return $result;
     116    return Header::normalize($header);
    182117}
    183118
    184119/**
    185120 * Clone and modify a request with the given changes.
     121 *
     122 * This method is useful for reducing the number of clones needed to mutate a
     123 * message.
    186124 *
    187125 * The changes can be one of:
     
    198136 *
    199137 * @return RequestInterface
     138 *
     139 * @deprecated modify_request will be removed in guzzlehttp/psr7:2.0. Use Utils::modifyRequest instead.
    200140 */
    201141function modify_request(RequestInterface $request, array $changes)
    202142{
    203     if (!$changes) {
    204         return $request;
    205     }
    206 
    207     $headers = $request->getHeaders();
    208 
    209     if (!isset($changes['uri'])) {
    210         $uri = $request->getUri();
    211     } else {
    212         // Remove the host header if one is on the URI
    213         if ($host = $changes['uri']->getHost()) {
    214             $changes['set_headers']['Host'] = $host;
    215 
    216             if ($port = $changes['uri']->getPort()) {
    217                 $standardPorts = ['http' => 80, 'https' => 443];
    218                 $scheme = $changes['uri']->getScheme();
    219                 if (isset($standardPorts[$scheme]) && $port != $standardPorts[$scheme]) {
    220                     $changes['set_headers']['Host'] .= ':'.$port;
    221                 }
    222             }
    223         }
    224         $uri = $changes['uri'];
    225     }
    226 
    227     if (!empty($changes['remove_headers'])) {
    228         $headers = _caseless_remove($changes['remove_headers'], $headers);
    229     }
    230 
    231     if (!empty($changes['set_headers'])) {
    232         $headers = _caseless_remove(array_keys($changes['set_headers']), $headers);
    233         $headers = $changes['set_headers'] + $headers;
    234     }
    235 
    236     if (isset($changes['query'])) {
    237         $uri = $uri->withQuery($changes['query']);
    238     }
    239 
    240     if ($request instanceof ServerRequestInterface) {
    241         return (new ServerRequest(
    242             isset($changes['method']) ? $changes['method'] : $request->getMethod(),
    243             $uri,
    244             $headers,
    245             isset($changes['body']) ? $changes['body'] : $request->getBody(),
    246             isset($changes['version'])
    247                 ? $changes['version']
    248                 : $request->getProtocolVersion(),
    249             $request->getServerParams()
    250         ))
    251         ->withParsedBody($request->getParsedBody())
    252         ->withQueryParams($request->getQueryParams())
    253         ->withCookieParams($request->getCookieParams())
    254         ->withUploadedFiles($request->getUploadedFiles());
    255     }
    256 
    257     return new Request(
    258         isset($changes['method']) ? $changes['method'] : $request->getMethod(),
    259         $uri,
    260         $headers,
    261         isset($changes['body']) ? $changes['body'] : $request->getBody(),
    262         isset($changes['version'])
    263             ? $changes['version']
    264             : $request->getProtocolVersion()
    265     );
     143    return Utils::modifyRequest($request, $changes);
    266144}
    267145
     
    275153 *
    276154 * @throws \RuntimeException
     155 *
     156 * @deprecated rewind_body will be removed in guzzlehttp/psr7:2.0. Use Message::rewindBody instead.
    277157 */
    278158function rewind_body(MessageInterface $message)
    279159{
    280     $body = $message->getBody();
    281 
    282     if ($body->tell()) {
    283         $body->rewind();
    284     }
     160    Message::rewindBody($message);
    285161}
    286162
     
    295171 *
    296172 * @return resource
     173 *
    297174 * @throws \RuntimeException if the file cannot be opened
     175 *
     176 * @deprecated try_fopen will be removed in guzzlehttp/psr7:2.0. Use Utils::tryFopen instead.
    298177 */
    299178function try_fopen($filename, $mode)
    300179{
    301     $ex = null;
    302     set_error_handler(function () use ($filename, $mode, &$ex) {
    303         $ex = new \RuntimeException(sprintf(
    304             'Unable to open %s using mode %s: %s',
    305             $filename,
    306             $mode,
    307             func_get_args()[1]
    308         ));
    309     });
    310 
    311     $handle = fopen($filename, $mode);
    312     restore_error_handler();
    313 
    314     if ($ex) {
    315         /** @var $ex \RuntimeException */
    316         throw $ex;
    317     }
    318 
    319     return $handle;
     180    return Utils::tryFopen($filename, $mode);
    320181}
    321182
     
    328189 *                                to read the entire stream.
    329190 * @return string
     191 *
    330192 * @throws \RuntimeException on error.
     193 *
     194 * @deprecated copy_to_string will be removed in guzzlehttp/psr7:2.0. Use Utils::copyToString instead.
    331195 */
    332196function copy_to_string(StreamInterface $stream, $maxLen = -1)
    333197{
    334     $buffer = '';
    335 
    336     if ($maxLen === -1) {
    337         while (!$stream->eof()) {
    338             $buf = $stream->read(1048576);
    339             // Using a loose equality here to match on '' and false.
    340             if ($buf == null) {
    341                 break;
    342             }
    343             $buffer .= $buf;
    344         }
    345         return $buffer;
    346     }
    347 
    348     $len = 0;
    349     while (!$stream->eof() && $len < $maxLen) {
    350         $buf = $stream->read($maxLen - $len);
    351         // Using a loose equality here to match on '' and false.
    352         if ($buf == null) {
    353             break;
    354         }
    355         $buffer .= $buf;
    356         $len = strlen($buffer);
    357     }
    358 
    359     return $buffer;
     198    return Utils::copyToString($stream, $maxLen);
    360199}
    361200
     
    370209 *
    371210 * @throws \RuntimeException on error.
    372  */
    373 function copy_to_stream(
    374     StreamInterface $source,
    375     StreamInterface $dest,
    376     $maxLen = -1
    377 ) {
    378     $bufferSize = 8192;
    379 
    380     if ($maxLen === -1) {
    381         while (!$source->eof()) {
    382             if (!$dest->write($source->read($bufferSize))) {
    383                 break;
    384             }
    385         }
    386     } else {
    387         $remaining = $maxLen;
    388         while ($remaining > 0 && !$source->eof()) {
    389             $buf = $source->read(min($bufferSize, $remaining));
    390             $len = strlen($buf);
    391             if (!$len) {
    392                 break;
    393             }
    394             $remaining -= $len;
    395             $dest->write($buf);
    396         }
    397     }
    398 }
    399 
    400 /**
    401  * Calculate a hash of a Stream
     211 *
     212 * @deprecated copy_to_stream will be removed in guzzlehttp/psr7:2.0. Use Utils::copyToStream instead.
     213 */
     214function copy_to_stream(StreamInterface $source, StreamInterface $dest, $maxLen = -1)
     215{
     216    return Utils::copyToStream($source, $dest, $maxLen);
     217}
     218
     219/**
     220 * Calculate a hash of a stream.
     221 *
     222 * This method reads the entire stream to calculate a rolling hash, based on
     223 * PHP's `hash_init` functions.
    402224 *
    403225 * @param StreamInterface $stream    Stream to calculate the hash for
     
    406228 *
    407229 * @return string Returns the hash of the stream
     230 *
    408231 * @throws \RuntimeException on error.
    409  */
    410 function hash(
    411     StreamInterface $stream,
    412     $algo,
    413     $rawOutput = false
    414 ) {
    415     $pos = $stream->tell();
    416 
    417     if ($pos > 0) {
    418         $stream->rewind();
    419     }
    420 
    421     $ctx = hash_init($algo);
    422     while (!$stream->eof()) {
    423         hash_update($ctx, $stream->read(1048576));
    424     }
    425 
    426     $out = hash_final($ctx, (bool) $rawOutput);
    427     $stream->seek($pos);
    428 
    429     return $out;
    430 }
    431 
    432 /**
    433  * Read a line from the stream up to the maximum allowed buffer length
     232 *
     233 * @deprecated hash will be removed in guzzlehttp/psr7:2.0. Use Utils::hash instead.
     234 */
     235function hash(StreamInterface $stream, $algo, $rawOutput = false)
     236{
     237    return Utils::hash($stream, $algo, $rawOutput);
     238}
     239
     240/**
     241 * Read a line from the stream up to the maximum allowed buffer length.
    434242 *
    435243 * @param StreamInterface $stream    Stream to read from
    436  * @param int             $maxLength Maximum buffer length
     244 * @param int|null        $maxLength Maximum buffer length
    437245 *
    438246 * @return string
     247 *
     248 * @deprecated readline will be removed in guzzlehttp/psr7:2.0. Use Utils::readLine instead.
    439249 */
    440250function readline(StreamInterface $stream, $maxLength = null)
    441251{
    442     $buffer = '';
    443     $size = 0;
    444 
    445     while (!$stream->eof()) {
    446         // Using a loose equality here to match on '' and false.
    447         if (null == ($byte = $stream->read(1))) {
    448             return $buffer;
    449         }
    450         $buffer .= $byte;
    451         // Break when a new line is found or the max length - 1 is reached
    452         if ($byte === "\n" || ++$size === $maxLength - 1) {
    453             break;
    454         }
    455     }
    456 
    457     return $buffer;
     252    return Utils::readLine($stream, $maxLength);
    458253}
    459254
     
    464259 *
    465260 * @return Request
     261 *
     262 * @deprecated parse_request will be removed in guzzlehttp/psr7:2.0. Use Message::parseRequest instead.
    466263 */
    467264function parse_request($message)
    468265{
    469     $data = _parse_message($message);
    470     $matches = [];
    471     if (!preg_match('/^[\S]+\s+([a-zA-Z]+:\/\/|\/).*/', $data['start-line'], $matches)) {
    472         throw new \InvalidArgumentException('Invalid request string');
    473     }
    474     $parts = explode(' ', $data['start-line'], 3);
    475     $version = isset($parts[2]) ? explode('/', $parts[2])[1] : '1.1';
    476 
    477     $request = new Request(
    478         $parts[0],
    479         $matches[1] === '/' ? _parse_request_uri($parts[1], $data['headers']) : $parts[1],
    480         $data['headers'],
    481         $data['body'],
    482         $version
    483     );
    484 
    485     return $matches[1] === '/' ? $request : $request->withRequestTarget($parts[1]);
     266    return Message::parseRequest($message);
    486267}
    487268
     
    492273 *
    493274 * @return Response
     275 *
     276 * @deprecated parse_response will be removed in guzzlehttp/psr7:2.0. Use Message::parseResponse instead.
    494277 */
    495278function parse_response($message)
    496279{
    497     $data = _parse_message($message);
    498     // According to https://tools.ietf.org/html/rfc7230#section-3.1.2 the space
    499     // between status-code and reason-phrase is required. But browsers accept
    500     // responses without space and reason as well.
    501     if (!preg_match('/^HTTP\/.* [0-9]{3}( .*|$)/', $data['start-line'])) {
    502         throw new \InvalidArgumentException('Invalid response string: ' . $data['start-line']);
    503     }
    504     $parts = explode(' ', $data['start-line'], 3);
    505 
    506     return new Response(
    507         $parts[1],
    508         $data['headers'],
    509         $data['body'],
    510         explode('/', $parts[0])[1],
    511         isset($parts[2]) ? $parts[2] : null
    512     );
     280    return Message::parseResponse($message);
    513281}
    514282
     
    516284 * Parse a query string into an associative array.
    517285 *
    518  * If multiple values are found for the same key, the value of that key
    519  * value pair will become an array. This function does not parse nested
    520  * PHP style arrays into an associative array (e.g., foo[a]=1&foo[b]=2 will
    521  * be parsed into ['foo[a]' => '1', 'foo[b]' => '2']).
     286 * If multiple values are found for the same key, the value of that key value
     287 * pair will become an array. This function does not parse nested PHP style
     288 * arrays into an associative array (e.g., `foo[a]=1&foo[b]=2` will be parsed
     289 * into `['foo[a]' => '1', 'foo[b]' => '2'])`.
    522290 *
    523291 * @param string   $str         Query string to parse
     
    525293 *
    526294 * @return array
     295 *
     296 * @deprecated parse_query will be removed in guzzlehttp/psr7:2.0. Use Query::parse instead.
    527297 */
    528298function parse_query($str, $urlEncoding = true)
    529299{
    530     $result = [];
    531 
    532     if ($str === '') {
    533         return $result;
    534     }
    535 
    536     if ($urlEncoding === true) {
    537         $decoder = function ($value) {
    538             return rawurldecode(str_replace('+', ' ', $value));
    539         };
    540     } elseif ($urlEncoding === PHP_QUERY_RFC3986) {
    541         $decoder = 'rawurldecode';
    542     } elseif ($urlEncoding === PHP_QUERY_RFC1738) {
    543         $decoder = 'urldecode';
    544     } else {
    545         $decoder = function ($str) { return $str; };
    546     }
    547 
    548     foreach (explode('&', $str) as $kvp) {
    549         $parts = explode('=', $kvp, 2);
    550         $key = $decoder($parts[0]);
    551         $value = isset($parts[1]) ? $decoder($parts[1]) : null;
    552         if (!isset($result[$key])) {
    553             $result[$key] = $value;
    554         } else {
    555             if (!is_array($result[$key])) {
    556                 $result[$key] = [$result[$key]];
    557             }
    558             $result[$key][] = $value;
    559         }
    560     }
    561 
    562     return $result;
     300    return Query::parse($str, $urlEncoding);
    563301}
    564302
     
    566304 * Build a query string from an array of key value pairs.
    567305 *
    568  * This function can use the return value of parse_query() to build a query
     306 * This function can use the return value of `parse_query()` to build a query
    569307 * string. This function does not modify the provided keys when an array is
    570  * encountered (like http_build_query would).
     308 * encountered (like `http_build_query()` would).
    571309 *
    572310 * @param array     $params   Query string parameters.
     
    575313 *                            to encode using RFC1738.
    576314 * @return string
     315 *
     316 * @deprecated build_query will be removed in guzzlehttp/psr7:2.0. Use Query::build instead.
    577317 */
    578318function build_query(array $params, $encoding = PHP_QUERY_RFC3986)
    579319{
    580     if (!$params) {
    581         return '';
    582     }
    583 
    584     if ($encoding === false) {
    585         $encoder = function ($str) { return $str; };
    586     } elseif ($encoding === PHP_QUERY_RFC3986) {
    587         $encoder = 'rawurlencode';
    588     } elseif ($encoding === PHP_QUERY_RFC1738) {
    589         $encoder = 'urlencode';
    590     } else {
    591         throw new \InvalidArgumentException('Invalid type');
    592     }
    593 
    594     $qs = '';
    595     foreach ($params as $k => $v) {
    596         $k = $encoder($k);
    597         if (!is_array($v)) {
    598             $qs .= $k;
    599             if ($v !== null) {
    600                 $qs .= '=' . $encoder($v);
    601             }
    602             $qs .= '&';
    603         } else {
    604             foreach ($v as $vv) {
    605                 $qs .= $k;
    606                 if ($vv !== null) {
    607                     $qs .= '=' . $encoder($vv);
    608                 }
    609                 $qs .= '&';
    610             }
    611         }
    612     }
    613 
    614     return $qs ? (string) substr($qs, 0, -1) : '';
     320    return Query::build($params, $encoding);
    615321}
    616322
     
    618324 * Determines the mimetype of a file by looking at its extension.
    619325 *
    620  * @param $filename
    621  *
    622  * @return null|string
     326 * @param string $filename
     327 *
     328 * @return string|null
     329 *
     330 * @deprecated mimetype_from_filename will be removed in guzzlehttp/psr7:2.0. Use MimeType::fromFilename instead.
    623331 */
    624332function mimetype_from_filename($filename)
    625333{
    626     return mimetype_from_extension(pathinfo($filename, PATHINFO_EXTENSION));
     334    return MimeType::fromFilename($filename);
    627335}
    628336
     
    633341 *
    634342 * @return string|null
     343 *
    635344 * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types
     345 * @deprecated mimetype_from_extension will be removed in guzzlehttp/psr7:2.0. Use MimeType::fromExtension instead.
    636346 */
    637347function mimetype_from_extension($extension)
    638348{
    639     static $mimetypes = [
    640         '3gp' => 'video/3gpp',
    641         '7z' => 'application/x-7z-compressed',
    642         'aac' => 'audio/x-aac',
    643         'ai' => 'application/postscript',
    644         'aif' => 'audio/x-aiff',
    645         'asc' => 'text/plain',
    646         'asf' => 'video/x-ms-asf',
    647         'atom' => 'application/atom+xml',
    648         'avi' => 'video/x-msvideo',
    649         'bmp' => 'image/bmp',
    650         'bz2' => 'application/x-bzip2',
    651         'cer' => 'application/pkix-cert',
    652         'crl' => 'application/pkix-crl',
    653         'crt' => 'application/x-x509-ca-cert',
    654         'css' => 'text/css',
    655         'csv' => 'text/csv',
    656         'cu' => 'application/cu-seeme',
    657         'deb' => 'application/x-debian-package',
    658         'doc' => 'application/msword',
    659         'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
    660         'dvi' => 'application/x-dvi',
    661         'eot' => 'application/vnd.ms-fontobject',
    662         'eps' => 'application/postscript',
    663         'epub' => 'application/epub+zip',
    664         'etx' => 'text/x-setext',
    665         'flac' => 'audio/flac',
    666         'flv' => 'video/x-flv',
    667         'gif' => 'image/gif',
    668         'gz' => 'application/gzip',
    669         'htm' => 'text/html',
    670         'html' => 'text/html',
    671         'ico' => 'image/x-icon',
    672         'ics' => 'text/calendar',
    673         'ini' => 'text/plain',
    674         'iso' => 'application/x-iso9660-image',
    675         'jar' => 'application/java-archive',
    676         'jpe' => 'image/jpeg',
    677         'jpeg' => 'image/jpeg',
    678         'jpg' => 'image/jpeg',
    679         'js' => 'text/javascript',
    680         'json' => 'application/json',
    681         'latex' => 'application/x-latex',
    682         'log' => 'text/plain',
    683         'm4a' => 'audio/mp4',
    684         'm4v' => 'video/mp4',
    685         'mid' => 'audio/midi',
    686         'midi' => 'audio/midi',
    687         'mov' => 'video/quicktime',
    688         'mkv' => 'video/x-matroska',
    689         'mp3' => 'audio/mpeg',
    690         'mp4' => 'video/mp4',
    691         'mp4a' => 'audio/mp4',
    692         'mp4v' => 'video/mp4',
    693         'mpe' => 'video/mpeg',
    694         'mpeg' => 'video/mpeg',
    695         'mpg' => 'video/mpeg',
    696         'mpg4' => 'video/mp4',
    697         'oga' => 'audio/ogg',
    698         'ogg' => 'audio/ogg',
    699         'ogv' => 'video/ogg',
    700         'ogx' => 'application/ogg',
    701         'pbm' => 'image/x-portable-bitmap',
    702         'pdf' => 'application/pdf',
    703         'pgm' => 'image/x-portable-graymap',
    704         'png' => 'image/png',
    705         'pnm' => 'image/x-portable-anymap',
    706         'ppm' => 'image/x-portable-pixmap',
    707         'ppt' => 'application/vnd.ms-powerpoint',
    708         'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
    709         'ps' => 'application/postscript',
    710         'qt' => 'video/quicktime',
    711         'rar' => 'application/x-rar-compressed',
    712         'ras' => 'image/x-cmu-raster',
    713         'rss' => 'application/rss+xml',
    714         'rtf' => 'application/rtf',
    715         'sgm' => 'text/sgml',
    716         'sgml' => 'text/sgml',
    717         'svg' => 'image/svg+xml',
    718         'swf' => 'application/x-shockwave-flash',
    719         'tar' => 'application/x-tar',
    720         'tif' => 'image/tiff',
    721         'tiff' => 'image/tiff',
    722         'torrent' => 'application/x-bittorrent',
    723         'ttf' => 'application/x-font-ttf',
    724         'txt' => 'text/plain',
    725         'wav' => 'audio/x-wav',
    726         'webm' => 'video/webm',
    727         'webp' => 'image/webp',
    728         'wma' => 'audio/x-ms-wma',
    729         'wmv' => 'video/x-ms-wmv',
    730         'woff' => 'application/x-font-woff',
    731         'wsdl' => 'application/wsdl+xml',
    732         'xbm' => 'image/x-xbitmap',
    733         'xls' => 'application/vnd.ms-excel',
    734         'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
    735         'xml' => 'application/xml',
    736         'xpm' => 'image/x-xpixmap',
    737         'xwd' => 'image/x-xwindowdump',
    738         'yaml' => 'text/yaml',
    739         'yml' => 'text/yaml',
    740         'zip' => 'application/zip',
    741     ];
    742 
    743     $extension = strtolower($extension);
    744 
    745     return isset($mimetypes[$extension])
    746         ? $mimetypes[$extension]
    747         : null;
     349    return MimeType::fromExtension($extension);
    748350}
    749351
     
    758360 *
    759361 * @return array
     362 *
    760363 * @internal
     364 * @deprecated _parse_message will be removed in guzzlehttp/psr7:2.0. Use Message::parseMessage instead.
    761365 */
    762366function _parse_message($message)
    763367{
    764     if (!$message) {
    765         throw new \InvalidArgumentException('Invalid message');
    766     }
    767 
    768     $message = ltrim($message, "\r\n");
    769 
    770     $messageParts = preg_split("/\r?\n\r?\n/", $message, 2);
    771 
    772     if ($messageParts === false || count($messageParts) !== 2) {
    773         throw new \InvalidArgumentException('Invalid message: Missing header delimiter');
    774     }
    775 
    776     list($rawHeaders, $body) = $messageParts;
    777     $rawHeaders .= "\r\n"; // Put back the delimiter we split previously
    778     $headerParts = preg_split("/\r?\n/", $rawHeaders, 2);
    779 
    780     if ($headerParts === false || count($headerParts) !== 2) {
    781         throw new \InvalidArgumentException('Invalid message: Missing status line');
    782     }
    783 
    784     list($startLine, $rawHeaders) = $headerParts;
    785 
    786     if (preg_match("/(?:^HTTP\/|^[A-Z]+ \S+ HTTP\/)(\d+(?:\.\d+)?)/i", $startLine, $matches) && $matches[1] === '1.0') {
    787         // Header folding is deprecated for HTTP/1.1, but allowed in HTTP/1.0
    788         $rawHeaders = preg_replace(Rfc7230::HEADER_FOLD_REGEX, ' ', $rawHeaders);
    789     }
    790 
    791     /** @var array[] $headerLines */
    792     $count = preg_match_all(Rfc7230::HEADER_REGEX, $rawHeaders, $headerLines, PREG_SET_ORDER);
    793 
    794     // If these aren't the same, then one line didn't match and there's an invalid header.
    795     if ($count !== substr_count($rawHeaders, "\n")) {
    796         // Folding is deprecated, see https://tools.ietf.org/html/rfc7230#section-3.2.4
    797         if (preg_match(Rfc7230::HEADER_FOLD_REGEX, $rawHeaders)) {
    798             throw new \InvalidArgumentException('Invalid header syntax: Obsolete line folding');
    799         }
    800 
    801         throw new \InvalidArgumentException('Invalid header syntax');
    802     }
    803 
    804     $headers = [];
    805 
    806     foreach ($headerLines as $headerLine) {
    807         $headers[$headerLine[1]][] = $headerLine[2];
    808     }
    809 
    810     return [
    811         'start-line' => $startLine,
    812         'headers' => $headers,
    813         'body' => $body,
    814     ];
     368    return Message::parseMessage($message);
    815369}
    816370
     
    822376 *
    823377 * @return string
     378 *
    824379 * @internal
     380 * @deprecated _parse_request_uri will be removed in guzzlehttp/psr7:2.0. Use Message::parseRequestUri instead.
    825381 */
    826382function _parse_request_uri($path, array $headers)
    827383{
    828     $hostKey = array_filter(array_keys($headers), function ($k) {
    829         return strtolower($k) === 'host';
    830     });
    831 
    832     // If no host is found, then a full URI cannot be constructed.
    833     if (!$hostKey) {
    834         return $path;
    835     }
    836 
    837     $host = $headers[reset($hostKey)][0];
    838     $scheme = substr($host, -4) === ':443' ? 'https' : 'http';
    839 
    840     return $scheme . '://' . $host . '/' . ltrim($path, '/');
    841 }
    842 
    843 /**
    844  * Get a short summary of the message body
     384    return Message::parseRequestUri($path, $headers);
     385}
     386
     387/**
     388 * Get a short summary of the message body.
    845389 *
    846390 * Will return `null` if the response is not printable.
     
    849393 * @param int              $truncateAt The maximum allowed size of the summary
    850394 *
    851  * @return null|string
     395 * @return string|null
     396 *
     397 * @deprecated get_message_body_summary will be removed in guzzlehttp/psr7:2.0. Use Message::bodySummary instead.
    852398 */
    853399function get_message_body_summary(MessageInterface $message, $truncateAt = 120)
    854400{
    855     $body = $message->getBody();
    856 
    857     if (!$body->isSeekable() || !$body->isReadable()) {
    858         return null;
    859     }
    860 
    861     $size = $body->getSize();
    862 
    863     if ($size === 0) {
    864         return null;
    865     }
    866 
    867     $summary = $body->read($truncateAt);
    868     $body->rewind();
    869 
    870     if ($size > $truncateAt) {
    871         $summary .= ' (truncated...)';
    872     }
    873 
    874     // Matches any printable character, including unicode characters:
    875     // letters, marks, numbers, punctuation, spacing, and separators.
    876     if (preg_match('/[^\pL\pM\pN\pP\pS\pZ\n\r\t]/', $summary)) {
    877         return null;
    878     }
    879 
    880     return $summary;
    881 }
    882 
    883 /** @internal */
     401    return Message::bodySummary($message, $truncateAt);
     402}
     403
     404/**
     405 * Remove the items given by the keys, case insensitively from the data.
     406 *
     407 * @param iterable<string> $keys
     408 *
     409 * @return array
     410 *
     411 * @internal
     412 * @deprecated _caseless_remove will be removed in guzzlehttp/psr7:2.0. Use Utils::caselessRemove instead.
     413 */
    884414function _caseless_remove($keys, array $data)
    885415{
    886     $result = [];
    887 
    888     foreach ($keys as &$key) {
    889         $key = strtolower($key);
    890     }
    891 
    892     foreach ($data as $k => $v) {
    893         if (!in_array(strtolower($k), $keys)) {
    894             $result[$k] = $v;
    895         }
    896     }
    897 
    898     return $result;
    899 }
     416    return Utils::caselessRemove($keys, $data);
     417}
  • quick-login/trunk/vendor/league/oauth2-client/LICENSE

    r1860398 r2458198  
    11The MIT License (MIT)
    22
    3 Copyright (c) 2013-2018 Alex Bilbie <hello@alexbilbie.com>
     3Copyright (c) 2013-2020 Alex Bilbie <hello@alexbilbie.com>
    44
    55Permission is hereby granted, free of charge, to any person obtaining a copy
  • quick-login/trunk/vendor/league/oauth2-client/README.md

    r2010460 r2458198  
    44
    55[![Gitter Chat](https://img.shields.io/badge/gitter-join_chat-brightgreen.svg?style=flat-square)](https://gitter.im/thephpleague/oauth2-client)
    6 [![Source Code](http://img.shields.io/badge/source-thephpleague/oauth2--client-blue.svg?style=flat-square)](https://github.com/thephpleague/oauth2-client)
     6[![Source Code](https://img.shields.io/badge/source-thephpleague/oauth2--client-blue.svg?style=flat-square)](https://github.com/thephpleague/oauth2-client)
    77[![Latest Version](https://img.shields.io/github/release/thephpleague/oauth2-client.svg?style=flat-square)](https://github.com/thephpleague/oauth2-client/releases)
    88[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/thephpleague/oauth2-client/blob/master/LICENSE)
    9 [![Build Status](https://img.shields.io/travis/thephpleague/oauth2-client/master.svg?style=flat-square)](https://travis-ci.org/thephpleague/oauth2-client)
    10 [![Scrutinizer](https://img.shields.io/scrutinizer/g/thephpleague/oauth2-client/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/thephpleague/oauth2-client/)
    11 [![Coverage Status](https://img.shields.io/coveralls/thephpleague/oauth2-client/master.svg?style=flat-square)](https://coveralls.io/r/thephpleague/oauth2-client?branch=master)
     9[![Build Status](https://img.shields.io/github/workflow/status/thephpleague/oauth2-client/CI?label=CI&logo=github&style=flat-square)](https://github.com/thephpleague/oauth2-client/actions?query=workflow%3ACI)
     10[![Codecov Code Coverage](https://img.shields.io/codecov/c/gh/thephpleague/oauth2-client?label=codecov&logo=codecov&style=flat-square)](https://codecov.io/gh/thephpleague/oauth2-client)
    1211[![Total Downloads](https://img.shields.io/packagist/dt/league/oauth2-client.svg?style=flat-square)](https://packagist.org/packages/league/oauth2-client)
    1312
     
    3130* PHP 7.2
    3231* PHP 7.3
     32* PHP 7.4
     33* PHP 8.0
    3334
    3435## Providers
  • quick-login/trunk/vendor/league/oauth2-client/composer.json

    r2364279 r2458198  
    77    },
    88    "require": {
    9         "php": "^5.6|^7.0",
     9        "php": "^5.6 || ^7.0 || ^8.0",
    1010        "guzzlehttp/guzzle": "^6.0 || ^7.0",
    11         "paragonie/random_compat": "^1|^2|^9.99"
     11        "paragonie/random_compat": "^1 || ^2 || ^9.99"
    1212    },
    1313    "require-dev": {
    14         "eloquent/liberator": "^2.0",
    15         "eloquent/phony-phpunit": "^1.0|^3.0",
    16         "jakub-onderka/php-parallel-lint": "^0.9.2",
    17         "phpunit/phpunit": "^5.7|^6.0",
    18         "squizlabs/php_codesniffer": "^2.3|^3.0"
     14        "mockery/mockery": "^1.3",
     15        "php-parallel-lint/php-parallel-lint": "^1.2",
     16        "phpunit/phpunit": "^5.7 || ^6.0 || ^9.3",
     17        "squizlabs/php_codesniffer": "^2.3 || ^3.0"
    1918    },
    2019    "keywords": [
  • quick-login/trunk/vendor/league/oauth2-client/src/Token/AccessToken.php

    r2010460 r2458198  
    5151
    5252    /**
     53     * @var int
     54     */
     55    private static $timeNow;
     56
     57    /**
     58     * Set the time now. This should only be used for testing purposes.
     59     *
     60     * @param int $timeNow the time in seconds since epoch
     61     * @return void
     62     */
     63    public static function setTimeNow($timeNow)
     64    {
     65        self::$timeNow = $timeNow;
     66    }
     67
     68    /**
     69     * Reset the time now if it was set for test purposes.
     70     *
     71     * @return void
     72     */
     73    public static function resetTimeNow()
     74    {
     75        self::$timeNow = null;
     76    }
     77
     78    /**
     79     * @return int
     80     */
     81    public function getTimeNow()
     82    {
     83        return self::$timeNow ? self::$timeNow : time();
     84    }
     85
     86    /**
    5387     * Constructs an access token.
    5488     *
     
    81115            }
    82116
    83             $this->expires = $options['expires_in'] != 0 ? time() + $options['expires_in'] : 0;
     117            $this->expires = $options['expires_in'] != 0 ? $this->getTimeNow() + $options['expires_in'] : 0;
    84118        } elseif (!empty($options['expires'])) {
    85119            // Some providers supply the seconds until expiration rather than
     
    88122
    89123            if (!$this->isExpirationTimestamp($expires)) {
    90                 $expires += time();
     124                $expires += $this->getTimeNow();
    91125            }
    92126
  • quick-login/trunk/vendor/league/oauth2-client/src/Token/AccessTokenInterface.php

    r2010460 r2458198  
    3535
    3636    /**
    37      * Returns the expiration timestamp, if defined.
     37     * Returns the expiration timestamp in seconds, if defined.
    3838     *
    3939     * @return integer|null
  • quick-login/trunk/vendor/league/oauth2-facebook/src/Provider/Facebook.php

    r2364279 r2458198  
    88use Psr\Http\Message\ResponseInterface;
    99
     10/**
     11 * @method FacebookUser getResourceOwner(AccessToken $token)
     12 */
    1013class Facebook extends AbstractProvider
    1114{
     
    104107            'id', 'name', 'first_name', 'last_name',
    105108            'email', 'hometown', 'picture.type(large){url,is_silhouette}',
    106             'gender', 'link', 'age_range'
     109            'gender', 'age_range'
    107110        ];
    108111
  • quick-login/trunk/vendor/symfony/polyfill-intl-idn/Idn.php

    r2364279 r2458198  
    4343    const INTL_IDNA_VARIANT_UTS46 = 1;
    4444
     45    const IDNA_DEFAULT = 0;
     46    const IDNA_ALLOW_UNASSIGNED = 1;
     47    const IDNA_USE_STD3_RULES = 2;
     48    const IDNA_CHECK_BIDI = 4;
     49    const IDNA_CHECK_CONTEXTJ = 8;
     50    const IDNA_NONTRANSITIONAL_TO_ASCII = 16;
     51    const IDNA_NONTRANSITIONAL_TO_UNICODE = 32;
     52
    4553    const MAX_DOMAIN_SIZE = 253;
    4654    const MAX_LABEL_SIZE = 63;
     
    138146     * @return string|false
    139147     */
    140     public static function idn_to_ascii($domainName, $options = IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = array())
     148    public static function idn_to_ascii($domainName, $options = self::IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = array())
    141149    {
    142150        if (\PHP_VERSION_ID >= 70200 && self::INTL_IDNA_VARIANT_2003 === $variant) {
     
    146154        $options = array(
    147155            'CheckHyphens' => true,
    148             'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & \IDNA_CHECK_BIDI),
    149             'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & \IDNA_CHECK_CONTEXTJ),
    150             'UseSTD3ASCIIRules' => 0 !== ($options & \IDNA_USE_STD3_RULES),
    151             'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & \IDNA_NONTRANSITIONAL_TO_ASCII),
     156            'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & self::IDNA_CHECK_BIDI),
     157            'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & self::IDNA_CHECK_CONTEXTJ),
     158            'UseSTD3ASCIIRules' => 0 !== ($options & self::IDNA_USE_STD3_RULES),
     159            'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & self::IDNA_NONTRANSITIONAL_TO_ASCII),
    152160            'VerifyDnsLength' => true,
    153161        );
     
    191199     * @return string|false
    192200     */
    193     public static function idn_to_utf8($domainName, $options = IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = array())
     201    public static function idn_to_utf8($domainName, $options = self::IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = array())
    194202    {
    195203        if (\PHP_VERSION_ID >= 70200 && self::INTL_IDNA_VARIANT_2003 === $variant) {
     
    200208        $labels = self::process((string) $domainName, array(
    201209            'CheckHyphens' => true,
    202             'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & \IDNA_CHECK_BIDI),
    203             'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & \IDNA_CHECK_CONTEXTJ),
    204             'UseSTD3ASCIIRules' => 0 !== ($options & \IDNA_USE_STD3_RULES),
    205             'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & \IDNA_NONTRANSITIONAL_TO_UNICODE),
     210            'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & self::IDNA_CHECK_BIDI),
     211            'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & self::IDNA_CHECK_CONTEXTJ),
     212            'UseSTD3ASCIIRules' => 0 !== ($options & self::IDNA_USE_STD3_RULES),
     213            'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & self::IDNA_NONTRANSITIONAL_TO_UNICODE),
    206214        ), $info);
    207215        $idna_info = array(
  • quick-login/trunk/vendor/symfony/polyfill-intl-idn/composer.json

    r2364279 r2458198  
    3636    "extra": {
    3737        "branch-alias": {
    38             "dev-master": "1.18-dev"
     38            "dev-main": "1.19-dev"
    3939        },
    4040        "thanks": {
  • quick-login/trunk/vendor/symfony/polyfill-intl-normalizer/bootstrap.php

    r2364279 r2458198  
    1313
    1414if (!function_exists('normalizer_is_normalized')) {
    15     function normalizer_is_normalized($s, $form = p\Normalizer::NFC) { return p\Normalizer::isNormalized($s, $form); }
     15    function normalizer_is_normalized($input, $form = p\Normalizer::NFC) { return p\Normalizer::isNormalized($input, $form); }
    1616}
    1717if (!function_exists('normalizer_normalize')) {
    18     function normalizer_normalize($s, $form = p\Normalizer::NFC) { return p\Normalizer::normalize($s, $form); }
     18    function normalizer_normalize($input, $form = p\Normalizer::NFC) { return p\Normalizer::normalize($input, $form); }
    1919}
  • quick-login/trunk/vendor/symfony/polyfill-intl-normalizer/composer.json

    r2364279 r2458198  
    3030    "extra": {
    3131        "branch-alias": {
    32             "dev-master": "1.18-dev"
     32            "dev-main": "1.19-dev"
    3333        },
    3434        "thanks": {
  • quick-login/trunk/vendor/symfony/polyfill-php70/Php70.php

    r2364279 r2458198  
    2525
    2626        if (0 === $divisor) {
    27             throw new \Error('Division by zero');
     27            throw new \DivisionByZeroError('Division by zero');
    2828        }
    2929        if (-1 === $divisor && ~PHP_INT_MAX === $dividend) {
    30             throw new \Error('Division of PHP_INT_MIN by -1 is not an integer');
     30            throw new \ArithmeticError('Division of PHP_INT_MIN by -1 is not an integer');
    3131        }
    3232
     
    6767        }
    6868        if (!\is_numeric($value) || PHP_INT_MAX <= ($value += 0) || ~PHP_INT_MAX >= $value) {
    69             throw new \Error(sprintf('%s() expects parameter %d to be integer, %s given', $caller, $pos, \gettype($value)));
     69            throw new \TypeError(sprintf('%s() expects parameter %d to be integer, %s given', $caller, $pos, \gettype($value)));
    7070        }
    7171
  • quick-login/trunk/vendor/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php

    r2364279 r2458198  
    11<?php
     2
     3class ArithmeticError extends Error
     4{
     5}
  • quick-login/trunk/vendor/symfony/polyfill-php70/Resources/stubs/AssertionError.php

    r2364279 r2458198  
    11<?php
     2
     3class AssertionError extends Error
     4{
     5}
  • quick-login/trunk/vendor/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php

    r2364279 r2458198  
    11<?php
     2
     3class DivisionByZeroError extends Error
     4{
     5}
  • quick-login/trunk/vendor/symfony/polyfill-php70/Resources/stubs/ParseError.php

    r2364279 r2458198  
    11<?php
     2
     3class ParseError extends Error
     4{
     5}
  • quick-login/trunk/vendor/symfony/polyfill-php70/Resources/stubs/TypeError.php

    r2364279 r2458198  
    11<?php
     2
     3class TypeError extends Error
     4{
     5}
  • quick-login/trunk/vendor/symfony/polyfill-php70/bootstrap.php

    r2364279 r2458198  
    2121
    2222if (!function_exists('intdiv')) {
    23     function intdiv($dividend, $divisor) { return p\Php70::intdiv($dividend, $divisor); }
     23    function intdiv($num1, $num2) { return p\Php70::intdiv($num1, $num2); }
    2424}
    2525if (!function_exists('preg_replace_callback_array')) {
    26     function preg_replace_callback_array(array $patterns, $subject, $limit = -1, &$count = 0) { return p\Php70::preg_replace_callback_array($patterns, $subject, $limit, $count); }
     26    function preg_replace_callback_array(array $pattern, $subject, $limit = -1, &$count = 0, $flags = null) { return p\Php70::preg_replace_callback_array($pattern, $subject, $limit, $count); }
    2727}
    2828if (!function_exists('error_clear_last')) {
  • quick-login/trunk/vendor/symfony/polyfill-php70/composer.json

    r2364279 r2458198  
    2828    "extra": {
    2929        "branch-alias": {
    30             "dev-master": "1.18-dev"
     30            "dev-main": "1.19-dev"
    3131        },
    3232        "thanks": {
  • quick-login/trunk/vendor/symfony/polyfill-php72/Php72.php

    r2303737 r2458198  
    192192    public static function mb_ord($s, $encoding = null)
    193193    {
    194         if (null == $encoding) {
     194        if (null === $encoding) {
    195195            $s = mb_convert_encoding($s, 'UTF-8');
    196196        } elseif ('UTF-8' !== $encoding) {
  • quick-login/trunk/vendor/symfony/polyfill-php72/bootstrap.php

    r2303737 r2458198  
    3939}
    4040if (!function_exists('utf8_encode')) {
    41     function utf8_encode($s) { return p\Php72::utf8_encode($s); }
     41    function utf8_encode($string) { return p\Php72::utf8_encode($string); }
    4242}
    4343if (!function_exists('utf8_decode')) {
    44     function utf8_decode($s) { return p\Php72::utf8_decode($s); }
     44    function utf8_decode($string) { return p\Php72::utf8_decode($string); }
    4545}
    4646if (!function_exists('spl_object_id')) {
    47     function spl_object_id($s) { return p\Php72::spl_object_id($s); }
     47    function spl_object_id($object) { return p\Php72::spl_object_id($object); }
    4848}
    4949if (!function_exists('mb_ord')) {
    50     function mb_ord($s, $enc = null) { return p\Php72::mb_ord($s, $enc); }
     50    function mb_ord($string, $encoding = null) { return p\Php72::mb_ord($string, $encoding); }
    5151}
    5252if (!function_exists('mb_chr')) {
    53     function mb_chr($code, $enc = null) { return p\Php72::mb_chr($code, $enc); }
     53    function mb_chr($codepoint, $encoding = null) { return p\Php72::mb_chr($codepoint, $encoding); }
    5454}
    5555if (!function_exists('mb_scrub')) {
    56     function mb_scrub($s, $enc = null) { $enc = null === $enc ? mb_internal_encoding() : $enc; return mb_convert_encoding($s, $enc, $enc); }
     56    function mb_scrub($string, $encoding = null) { $encoding = null === $encoding ? mb_internal_encoding() : $encoding; return mb_convert_encoding($string, $encoding, $encoding); }
    5757}
  • quick-login/trunk/vendor/symfony/polyfill-php72/composer.json

    r2364279 r2458198  
    2626    "extra": {
    2727        "branch-alias": {
    28             "dev-master": "1.18-dev"
     28            "dev-main": "1.19-dev"
    2929        },
    3030        "thanks": {
Note: See TracChangeset for help on using the changeset viewer.