diff --git a/.gitignore b/.gitignore index 0d614e8dc..b05ab9233 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,10 @@ +<<<<<<< HEAD # Vendor folder - na produkciji vkljucimo vendor ##/vendor/ +======= +# Vendor folder +#vendor/ +>>>>>>> master # DEV tools .vscode/ diff --git a/composer.lock b/composer.lock index 0f35bb0c7..f792825e9 100644 --- a/composer.lock +++ b/composer.lock @@ -1,10 +1,9 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "hash": "c9fc655cdb58743c38114c03e68c1cc7", "content-hash": "a150435d7f20bef4fdda8cb6c59eb1a6", "packages": [ { @@ -61,7 +60,7 @@ "ssl", "tls" ], - "time": "2020-08-23 12:54:47" + "time": "2020-08-23T12:54:47+00:00" }, { "name": "fgrosse/phpasn1", @@ -132,7 +131,7 @@ "x509", "x690" ], - "time": "2020-10-11 16:28:18" + "time": "2020-10-11T16:28:18+00:00" }, { "name": "geoip2/geoip2", @@ -185,7 +184,7 @@ "geolocation", "maxmind" ], - "time": "2020-10-01 18:48:34" + "time": "2020-10-01T18:48:34+00:00" }, { "name": "guzzlehttp/guzzle", @@ -252,7 +251,7 @@ "rest", "web service" ], - "time": "2020-06-16 21:01:06" + "time": "2020-06-16T21:01:06+00:00" }, { "name": "guzzlehttp/promises", @@ -303,7 +302,7 @@ "keywords": [ "promise" ], - "time": "2020-09-30 07:37:28" + "time": "2020-09-30T07:37:28+00:00" }, { "name": "guzzlehttp/psr7", @@ -374,7 +373,7 @@ "uri", "url" ], - "time": "2020-09-30 07:37:11" + "time": "2020-09-30T07:37:11+00:00" }, { "name": "maxmind-db/reader", @@ -434,7 +433,7 @@ "geolocation", "maxmind" ], - "time": "2020-10-01 17:30:21" + "time": "2020-10-01T17:30:21+00:00" }, { "name": "maxmind/web-service-common", @@ -480,7 +479,7 @@ ], "description": "Internal MaxMind Web Service API", "homepage": "https://github.com/maxmind/web-service-common-php", - "time": "2020-11-02 17:00:53" + "time": "2020-11-02T17:00:53+00:00" }, { "name": "minishlink/web-push", @@ -536,7 +535,7 @@ "push", "web" ], - "time": "2020-08-02 08:58:01" + "time": "2020-08-02T08:58:01+00:00" }, { "name": "paragonie/random_compat", @@ -581,20 +580,20 @@ "pseudorandom", "random" ], - "time": "2020-10-15 08:29:30" + "time": "2020-10-15T08:29:30+00:00" }, { "name": "paragonie/sodium_compat", - "version": "v1.13.0", + "version": "v1.14.0", "source": { "type": "git", "url": "https://github.com/paragonie/sodium_compat.git", - "reference": "bbade402cbe84c69b718120911506a3aa2bae653" + "reference": "a1cfe0b21faf9c0b61ac0c6188c4af7fd6fd0db3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/bbade402cbe84c69b718120911506a3aa2bae653", - "reference": "bbade402cbe84c69b718120911506a3aa2bae653", + "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/a1cfe0b21faf9c0b61ac0c6188c4af7fd6fd0db3", + "reference": "a1cfe0b21faf9c0b61ac0c6188c4af7fd6fd0db3", "shasum": "" }, "require": { @@ -602,7 +601,7 @@ "php": "^5.2.4|^5.3|^5.4|^5.5|^5.6|^7|^8" }, "require-dev": { - "phpunit/phpunit": "^3|^4|^5|^6|^7" + "phpunit/phpunit": "^3|^4|^5|^6|^7|^8|^9" }, "suggest": { "ext-libsodium": "PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.", @@ -663,7 +662,7 @@ "secret-key cryptography", "side-channel resistant" ], - "time": "2020-03-20 21:48:09" + "time": "2020-12-03T16:26:19+00:00" }, { "name": "paypal/paypal-checkout-sdk", @@ -712,7 +711,7 @@ "rest", "sdk" ], - "time": "2019-11-07 23:16:44" + "time": "2019-11-07T23:16:44+00:00" }, { "name": "paypal/paypalhttp", @@ -751,21 +750,20 @@ "homepage": "https://github.com/paypal/paypalhttp_php/contributors" } ], - "abandoned": true, - "time": "2019-11-06 21:27:12" + "time": "2019-11-06T21:27:12+00:00" }, { "name": "phpmailer/phpmailer", - "version": "v6.1.8", + "version": "v6.2.0", "source": { "type": "git", "url": "https://github.com/PHPMailer/PHPMailer.git", - "reference": "917ab212fa00dc6eacbb26e8bc387ebe40993bc1" + "reference": "e38888a75c070304ca5514197d4847a59a5c853f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/917ab212fa00dc6eacbb26e8bc387ebe40993bc1", - "reference": "917ab212fa00dc6eacbb26e8bc387ebe40993bc1", + "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/e38888a75c070304ca5514197d4847a59a5c853f", + "reference": "e38888a75c070304ca5514197d4847a59a5c853f", "shasum": "" }, "require": { @@ -775,9 +773,12 @@ "php": ">=5.5.0" }, "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", "doctrine/annotations": "^1.2", - "friendsofphp/php-cs-fixer": "^2.2", - "phpunit/phpunit": "^4.8 || ^5.7" + "phpcompatibility/php-compatibility": "^9.3.5", + "roave/security-advisories": "dev-latest", + "squizlabs/php_codesniffer": "^3.5.6", + "yoast/phpunit-polyfills": "^0.2.0" }, "suggest": { "ext-mbstring": "Needed to send email in multibyte encoding charset", @@ -815,7 +816,7 @@ } ], "description": "PHPMailer is a full-featured email creation and transfer class for PHP", - "time": "2020-10-09 14:55:58" + "time": "2020-11-25T15:24:57+00:00" }, { "name": "psr/http-message", @@ -865,7 +866,7 @@ "request", "response" ], - "time": "2016-08-06 14:39:51" + "time": "2016-08-06T14:39:51+00:00" }, { "name": "ralouphie/getallheaders", @@ -905,7 +906,7 @@ } ], "description": "A polyfill for getallheaders.", - "time": "2019-03-08 08:55:37" + "time": "2019-03-08T08:55:37+00:00" }, { "name": "sonata-project/google-authenticator", @@ -962,7 +963,7 @@ "keywords": [ "google authenticator" ], - "time": "2018-07-18 22:08:02" + "time": "2018-07-18T22:08:02+00:00" }, { "name": "spomky-labs/base64url", @@ -1013,20 +1014,20 @@ "safe", "url" ], - "time": "2020-11-03 09:10:25" + "time": "2020-11-03T09:10:25+00:00" }, { "name": "stripe/stripe-php", - "version": "v7.61.0", + "version": "v7.66.1", "source": { "type": "git", "url": "https://github.com/stripe/stripe-php.git", - "reference": "51c6cd18cb51740101c940a3fefc876ef7cd8cae" + "reference": "a2ebaa272a8797b21e81afaf8d5ba0953ff15e13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stripe/stripe-php/zipball/51c6cd18cb51740101c940a3fefc876ef7cd8cae", - "reference": "51c6cd18cb51740101c940a3fefc876ef7cd8cae", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/a2ebaa272a8797b21e81afaf8d5ba0953ff15e13", + "reference": "a2ebaa272a8797b21e81afaf8d5ba0953ff15e13", "shasum": "" }, "require": { @@ -1036,7 +1037,7 @@ "php": ">=5.6.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "2.16.1", + "friendsofphp/php-cs-fixer": "2.16.5", "php-coveralls/php-coveralls": "^2.1", "phpunit/phpunit": "^5.7", "squizlabs/php_codesniffer": "^3.3", @@ -1070,7 +1071,7 @@ "payment processing", "stripe" ], - "time": "2020-10-20 20:01:45" + "time": "2020-12-01T18:44:12+00:00" }, { "name": "symfony/polyfill-intl-idn", @@ -1140,7 +1141,7 @@ "portable", "shim" ], - "time": "2020-10-23 14:02:19" + "time": "2020-10-23T14:02:19+00:00" }, { "name": "symfony/polyfill-intl-normalizer", @@ -1207,7 +1208,7 @@ "portable", "shim" ], - "time": "2020-10-23 14:02:19" + "time": "2020-10-23T14:02:19+00:00" }, { "name": "symfony/polyfill-php72", @@ -1266,7 +1267,7 @@ "portable", "shim" ], - "time": "2020-10-23 14:02:19" + "time": "2020-10-23T14:02:19+00:00" }, { "name": "web-token/jwt-core", @@ -1341,7 +1342,7 @@ "jwt", "symfony" ], - "time": "2020-03-20 13:29:04" + "time": "2020-03-20T13:29:04+00:00" }, { "name": "web-token/jwt-key-mgmt", @@ -1418,7 +1419,7 @@ "jwt", "symfony" ], - "time": "2020-03-20 13:29:04" + "time": "2020-03-20T13:29:04+00:00" }, { "name": "web-token/jwt-signature", @@ -1498,7 +1499,7 @@ "jwt", "symfony" ], - "time": "2020-03-20 13:29:04" + "time": "2020-03-20T13:29:04+00:00" }, { "name": "web-token/jwt-signature-algorithm-ecdsa", @@ -1565,7 +1566,7 @@ "jwt", "symfony" ], - "time": "2020-03-20 13:29:04" + "time": "2020-03-20T13:29:04+00:00" }, { "name": "web-token/jwt-signature-algorithm-eddsa", @@ -1632,7 +1633,7 @@ "jwt", "symfony" ], - "time": "2020-03-20 13:29:04" + "time": "2020-03-20T13:29:04+00:00" }, { "name": "web-token/jwt-signature-algorithm-hmac", @@ -1699,7 +1700,7 @@ "jwt", "symfony" ], - "time": "2020-03-20 13:29:04" + "time": "2020-03-20T13:29:04+00:00" }, { "name": "web-token/jwt-signature-algorithm-none", @@ -1766,7 +1767,7 @@ "jwt", "symfony" ], - "time": "2020-03-20 13:29:04" + "time": "2020-03-20T13:29:04+00:00" }, { "name": "web-token/jwt-signature-algorithm-rsa", @@ -1833,7 +1834,7 @@ "jwt", "symfony" ], - "time": "2020-03-20 13:29:04" + "time": "2020-03-20T13:29:04+00:00" }, { "name": "web-token/jwt-util-ecc", @@ -1902,7 +1903,7 @@ "jwt", "symfony" ], - "time": "2020-03-20 13:29:04" + "time": "2020-03-20T13:29:04+00:00" } ], "packages-dev": [ @@ -1965,7 +1966,7 @@ "throwable", "whoops" ], - "time": "2020-11-01 12:00:00" + "time": "2020-11-01T12:00:00+00:00" }, { "name": "kint-php/kint", @@ -2016,7 +2017,7 @@ "kint", "php" ], - "time": "2017-01-15 14:23:43" + "time": "2017-01-15T14:23:43+00:00" }, { "name": "maximebf/debugbar", @@ -2077,7 +2078,7 @@ "debug", "debugbar" ], - "time": "2020-05-06 07:06:27" + "time": "2020-05-06T07:06:27+00:00" }, { "name": "psr/log", @@ -2124,7 +2125,7 @@ "psr", "psr-3" ], - "time": "2020-03-23 09:12:05" + "time": "2020-03-23T09:12:05+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -2187,7 +2188,7 @@ "portable", "shim" ], - "time": "2020-10-23 14:02:19" + "time": "2020-10-23T14:02:19+00:00" }, { "name": "symfony/polyfill-php80", @@ -2253,20 +2254,20 @@ "portable", "shim" ], - "time": "2020-10-23 14:02:19" + "time": "2020-10-23T14:02:19+00:00" }, { "name": "symfony/var-dumper", - "version": "v4.4.16", + "version": "v4.4.17", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "3718e18b68d955348ad860e505991802c09f5f73" + "reference": "65c6f1e848cda840ef7278686c8e30a7cc353c93" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/3718e18b68d955348ad860e505991802c09f5f73", - "reference": "3718e18b68d955348ad860e505991802c09f5f73", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/65c6f1e848cda840ef7278686c8e30a7cc353c93", + "reference": "65c6f1e848cda840ef7278686c8e30a7cc353c93", "shasum": "" }, "require": { @@ -2325,7 +2326,7 @@ "debug", "dump" ], - "time": "2020-10-26 20:47:51" + "time": "2020-11-24T09:55:37+00:00" } ], "aliases": [], diff --git a/vendor/autoload.php b/vendor/autoload.php index 46bbce65e..3463efc32 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -2,6 +2,12 @@ // autoload.php @generated by Composer +<<<<<<< HEAD require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInit817d358f3360c5248956ccfb4ef6d09a::getLoader(); +======= +require_once __DIR__ . '/composer/autoload_real.php'; + +return ComposerAutoloaderInit0d06eb1022200eb96b7e4bb652ca3996::getLoader(); +>>>>>>> master diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php index ff6ecfb82..45ed99322 100644 --- a/vendor/composer/ClassLoader.php +++ b/vendor/composer/ClassLoader.php @@ -53,8 +53,14 @@ class ClassLoader private $useIncludePath = false; private $classMap = array(); +<<<<<<< HEAD private $classMapAuthoritative = false; +======= + private $classMapAuthoritative = false; + private $missingClasses = array(); + private $apcuPrefix; +>>>>>>> master public function getPrefixes() { @@ -272,6 +278,29 @@ class ClassLoader } /** +<<<<<<< HEAD +======= + * APCu prefix to use to cache found/not-found classes, if the extension is enabled. + * + * @param string|null $apcuPrefix + */ + public function setApcuPrefix($apcuPrefix) + { + $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; + } + + /** + * The APCu prefix in use, or null if APCu caching is not enabled. + * + * @return string|null + */ + public function getApcuPrefix() + { + return $this->apcuPrefix; + } + + /** +>>>>>>> master * Registers this instance as an autoloader. * * @param bool $prepend Whether to prepend the autoloader or not @@ -313,22 +342,38 @@ class ClassLoader */ public function findFile($class) { +<<<<<<< HEAD // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731 if ('\\' == $class[0]) { $class = substr($class, 1); } +======= +>>>>>>> master // class map lookup if (isset($this->classMap[$class])) { return $this->classMap[$class]; } +<<<<<<< HEAD if ($this->classMapAuthoritative) { return false; } +======= + if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { + return false; + } + if (null !== $this->apcuPrefix) { + $file = apcu_fetch($this->apcuPrefix.$class, $hit); + if ($hit) { + return $file; + } + } +>>>>>>> master $file = $this->findFileWithExtension($class, '.php'); // Search for Hack files if we are running on HHVM +<<<<<<< HEAD if ($file === null && defined('HHVM_VERSION')) { $file = $this->findFileWithExtension($class, '.hh'); } @@ -336,6 +381,19 @@ class ClassLoader if ($file === null) { // Remember that this class does not exist. return $this->classMap[$class] = false; +======= + if (false === $file && defined('HHVM_VERSION')) { + $file = $this->findFileWithExtension($class, '.hh'); + } + + if (null !== $this->apcuPrefix) { + apcu_add($this->apcuPrefix.$class, $file); + } + + if (false === $file) { + // Remember that this class does not exist. + $this->missingClasses[$class] = true; +>>>>>>> master } return $file; @@ -348,10 +406,21 @@ class ClassLoader $first = $class[0]; if (isset($this->prefixLengthsPsr4[$first])) { +<<<<<<< HEAD foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) { if (0 === strpos($class, $prefix)) { foreach ($this->prefixDirsPsr4[$prefix] as $dir) { if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { +======= + $subPath = $class; + while (false !== $lastPos = strrpos($subPath, '\\')) { + $subPath = substr($subPath, 0, $lastPos); + $search = $subPath . '\\'; + if (isset($this->prefixDirsPsr4[$search])) { + $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); + foreach ($this->prefixDirsPsr4[$search] as $dir) { + if (file_exists($file = $dir . $pathEnd)) { +>>>>>>> master return $file; } } @@ -399,6 +468,11 @@ class ClassLoader if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { return $file; } +<<<<<<< HEAD +======= + + return false; +>>>>>>> master } } diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE index 1a2812488..4e29f24b1 100644 --- a/vendor/composer/LICENSE +++ b/vendor/composer/LICENSE @@ -1,5 +1,9 @@ +<<<<<<< HEAD Copyright (c) 2016 Nils Adermann, Jordi Boggiano +======= +Copyright (c) Nils Adermann, Jordi Boggiano +>>>>>>> master Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 2d42503c6..670d501be 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -54,12 +54,18 @@ return array( 'App\\Controllers\\Vprasanja\\TextController' => $baseDir . '/main/survey/app/Controllers/Vprasanja/TextController.php', 'App\\Controllers\\Vprasanja\\VprasanjaController' => $baseDir . '/main/survey/app/Controllers/Vprasanja/VprasanjaController.php', 'App\\Controllers\\Vprasanja\\VsotaController' => $baseDir . '/main/survey/app/Controllers/Vprasanja/VsotaController.php', +<<<<<<< HEAD 'App\\Controllers\\Vprasanja\\in' => $baseDir . '/main/survey/app/Controllers/Vprasanja/MultigridController.php', 'App\\Models\\Model' => $baseDir . '/main/survey/app/Models/Model.php', 'App\\Models\\SaveSurvey' => $baseDir . '/main/survey/app/Models/SaveSurvey.php', 'App\\Models\\User' => $baseDir . '/main/survey/app/Models/User.php', 'ArithmeticError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php', 'AssertionError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php', +======= + 'App\\Models\\Model' => $baseDir . '/main/survey/app/Models/Model.php', + 'App\\Models\\SaveSurvey' => $baseDir . '/main/survey/app/Models/SaveSurvey.php', + 'App\\Models\\User' => $baseDir . '/main/survey/app/Models/User.php', +>>>>>>> master 'Base64Url\\Base64Url' => $vendorDir . '/spomky-labs/base64url/src/Base64Url.php', 'BesediloLatex' => $baseDir . '/admin/survey/export/latexclasses/Vprasanja/BesediloLatex.php', 'BesediloXml' => $baseDir . '/admin/survey/export/xmlClasses/Vprasanja/BesediloXml.php', @@ -67,15 +73,22 @@ return array( 'BranchingAjax' => $baseDir . '/admin/survey/BranchingAjax.php', 'Cache' => $baseDir . '/admin/survey/classes/class.Cache.php', 'CheckboxXml' => $baseDir . '/admin/survey/export/xmlClasses/Vprasanja/CheckboxXml.php', +<<<<<<< HEAD 'CollectIncrementalData' => $baseDir . '/admin/survey/classes/surveyData/old/class.CollectIncrementalData.php', +======= +>>>>>>> master 'Common' => $baseDir . '/admin/survey/classes/class.Common.php', 'Composer\\CaBundle\\CaBundle' => $vendorDir . '/composer/ca-bundle/src/CaBundle.php', 'CrossRoad' => $baseDir . '/admin/survey/classes/CrossRoad.php', 'DatumLatex' => $baseDir . '/admin/survey/export/latexclasses/Vprasanja/DatumLatex.php', 'Demografija' => $baseDir . '/admin/survey/classes/class.Demografija.php', +<<<<<<< HEAD 'DivisionByZeroError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php', 'Dostop' => $baseDir . '/admin/survey/classes/class.Dostop.php', 'Error' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/Error.php', +======= + 'Dostop' => $baseDir . '/admin/survey/classes/class.Dostop.php', +>>>>>>> master 'Evalvacija' => $baseDir . '/admin/survey/modules/Evalvacija/class.Evalvacija.php', 'EvoliForm' => $baseDir . '/admin/survey/modules/mod_EVOLI/class.EvoliForm.php', 'ExclusiveLock' => $baseDir . '/admin/survey/classes/surveyData/class.ExclusiveLock.php', @@ -206,8 +219,16 @@ return array( 'GuzzleHttp\\Promise\\AggregateException' => $vendorDir . '/guzzlehttp/promises/src/AggregateException.php', 'GuzzleHttp\\Promise\\CancellationException' => $vendorDir . '/guzzlehttp/promises/src/CancellationException.php', 'GuzzleHttp\\Promise\\Coroutine' => $vendorDir . '/guzzlehttp/promises/src/Coroutine.php', +<<<<<<< HEAD 'GuzzleHttp\\Promise\\EachPromise' => $vendorDir . '/guzzlehttp/promises/src/EachPromise.php', 'GuzzleHttp\\Promise\\FulfilledPromise' => $vendorDir . '/guzzlehttp/promises/src/FulfilledPromise.php', +======= + 'GuzzleHttp\\Promise\\Create' => $vendorDir . '/guzzlehttp/promises/src/Create.php', + 'GuzzleHttp\\Promise\\Each' => $vendorDir . '/guzzlehttp/promises/src/Each.php', + 'GuzzleHttp\\Promise\\EachPromise' => $vendorDir . '/guzzlehttp/promises/src/EachPromise.php', + 'GuzzleHttp\\Promise\\FulfilledPromise' => $vendorDir . '/guzzlehttp/promises/src/FulfilledPromise.php', + 'GuzzleHttp\\Promise\\Is' => $vendorDir . '/guzzlehttp/promises/src/Is.php', +>>>>>>> master 'GuzzleHttp\\Promise\\Promise' => $vendorDir . '/guzzlehttp/promises/src/Promise.php', 'GuzzleHttp\\Promise\\PromiseInterface' => $vendorDir . '/guzzlehttp/promises/src/PromiseInterface.php', 'GuzzleHttp\\Promise\\PromisorInterface' => $vendorDir . '/guzzlehttp/promises/src/PromisorInterface.php', @@ -215,11 +236,16 @@ return array( 'GuzzleHttp\\Promise\\RejectionException' => $vendorDir . '/guzzlehttp/promises/src/RejectionException.php', 'GuzzleHttp\\Promise\\TaskQueue' => $vendorDir . '/guzzlehttp/promises/src/TaskQueue.php', 'GuzzleHttp\\Promise\\TaskQueueInterface' => $vendorDir . '/guzzlehttp/promises/src/TaskQueueInterface.php', +<<<<<<< HEAD +======= + 'GuzzleHttp\\Promise\\Utils' => $vendorDir . '/guzzlehttp/promises/src/Utils.php', +>>>>>>> master 'GuzzleHttp\\Psr7\\AppendStream' => $vendorDir . '/guzzlehttp/psr7/src/AppendStream.php', 'GuzzleHttp\\Psr7\\BufferStream' => $vendorDir . '/guzzlehttp/psr7/src/BufferStream.php', 'GuzzleHttp\\Psr7\\CachingStream' => $vendorDir . '/guzzlehttp/psr7/src/CachingStream.php', 'GuzzleHttp\\Psr7\\DroppingStream' => $vendorDir . '/guzzlehttp/psr7/src/DroppingStream.php', 'GuzzleHttp\\Psr7\\FnStream' => $vendorDir . '/guzzlehttp/psr7/src/FnStream.php', +<<<<<<< HEAD 'GuzzleHttp\\Psr7\\InflateStream' => $vendorDir . '/guzzlehttp/psr7/src/InflateStream.php', 'GuzzleHttp\\Psr7\\LazyOpenStream' => $vendorDir . '/guzzlehttp/psr7/src/LazyOpenStream.php', 'GuzzleHttp\\Psr7\\LimitStream' => $vendorDir . '/guzzlehttp/psr7/src/LimitStream.php', @@ -227,6 +253,19 @@ return array( 'GuzzleHttp\\Psr7\\MultipartStream' => $vendorDir . '/guzzlehttp/psr7/src/MultipartStream.php', 'GuzzleHttp\\Psr7\\NoSeekStream' => $vendorDir . '/guzzlehttp/psr7/src/NoSeekStream.php', 'GuzzleHttp\\Psr7\\PumpStream' => $vendorDir . '/guzzlehttp/psr7/src/PumpStream.php', +======= + 'GuzzleHttp\\Psr7\\Header' => $vendorDir . '/guzzlehttp/psr7/src/Header.php', + 'GuzzleHttp\\Psr7\\InflateStream' => $vendorDir . '/guzzlehttp/psr7/src/InflateStream.php', + 'GuzzleHttp\\Psr7\\LazyOpenStream' => $vendorDir . '/guzzlehttp/psr7/src/LazyOpenStream.php', + 'GuzzleHttp\\Psr7\\LimitStream' => $vendorDir . '/guzzlehttp/psr7/src/LimitStream.php', + 'GuzzleHttp\\Psr7\\Message' => $vendorDir . '/guzzlehttp/psr7/src/Message.php', + 'GuzzleHttp\\Psr7\\MessageTrait' => $vendorDir . '/guzzlehttp/psr7/src/MessageTrait.php', + 'GuzzleHttp\\Psr7\\MimeType' => $vendorDir . '/guzzlehttp/psr7/src/MimeType.php', + 'GuzzleHttp\\Psr7\\MultipartStream' => $vendorDir . '/guzzlehttp/psr7/src/MultipartStream.php', + 'GuzzleHttp\\Psr7\\NoSeekStream' => $vendorDir . '/guzzlehttp/psr7/src/NoSeekStream.php', + 'GuzzleHttp\\Psr7\\PumpStream' => $vendorDir . '/guzzlehttp/psr7/src/PumpStream.php', + 'GuzzleHttp\\Psr7\\Query' => $vendorDir . '/guzzlehttp/psr7/src/Query.php', +>>>>>>> master 'GuzzleHttp\\Psr7\\Request' => $vendorDir . '/guzzlehttp/psr7/src/Request.php', 'GuzzleHttp\\Psr7\\Response' => $vendorDir . '/guzzlehttp/psr7/src/Response.php', 'GuzzleHttp\\Psr7\\Rfc7230' => $vendorDir . '/guzzlehttp/psr7/src/Rfc7230.php', @@ -238,6 +277,10 @@ return array( 'GuzzleHttp\\Psr7\\Uri' => $vendorDir . '/guzzlehttp/psr7/src/Uri.php', 'GuzzleHttp\\Psr7\\UriNormalizer' => $vendorDir . '/guzzlehttp/psr7/src/UriNormalizer.php', 'GuzzleHttp\\Psr7\\UriResolver' => $vendorDir . '/guzzlehttp/psr7/src/UriResolver.php', +<<<<<<< HEAD +======= + 'GuzzleHttp\\Psr7\\Utils' => $vendorDir . '/guzzlehttp/psr7/src/Utils.php', +>>>>>>> master 'GuzzleHttp\\RedirectMiddleware' => $vendorDir . '/guzzlehttp/guzzle/src/RedirectMiddleware.php', 'GuzzleHttp\\RequestOptions' => $vendorDir . '/guzzlehttp/guzzle/src/RequestOptions.php', 'GuzzleHttp\\RetryMiddleware' => $vendorDir . '/guzzlehttp/guzzle/src/RetryMiddleware.php', @@ -606,7 +649,10 @@ return array( 'PHPMailer\\PHPMailer\\PHPMailer' => $vendorDir . '/phpmailer/phpmailer/src/PHPMailer.php', 'PHPMailer\\PHPMailer\\POP3' => $vendorDir . '/phpmailer/phpmailer/src/POP3.php', 'PHPMailer\\PHPMailer\\SMTP' => $vendorDir . '/phpmailer/phpmailer/src/SMTP.php', +<<<<<<< HEAD 'ParseError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ParseError.php', +======= +>>>>>>> master 'PayPalCheckoutSdk\\Core\\AccessToken' => $vendorDir . '/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/AccessToken.php', 'PayPalCheckoutSdk\\Core\\AccessTokenRequest' => $vendorDir . '/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/AccessTokenRequest.php', 'PayPalCheckoutSdk\\Core\\AuthorizationInjector' => $vendorDir . '/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/AuthorizationInjector.php', @@ -673,7 +719,10 @@ return array( 'Sample\\PatchOrder' => $vendorDir . '/paypal/paypal-checkout-sdk/samples/PatchOrder.php', 'Sample\\PayPalClient' => $vendorDir . '/paypal/paypal-checkout-sdk/samples/PayPalClient.php', 'Sample\\RefundOrder' => $vendorDir . '/paypal/paypal-checkout-sdk/samples/RefundOrder.php', +<<<<<<< HEAD 'SessionUpdateTimestampHandlerInterface' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php', +======= +>>>>>>> master 'Setting' => $baseDir . '/admin/survey/classes/class.Setting.php', 'Sonata\\GoogleAuthenticator\\FixedBitNotation' => $vendorDir . '/sonata-project/google-authenticator/src/FixedBitNotation.php', 'Sonata\\GoogleAuthenticator\\GoogleAuthenticator' => $vendorDir . '/sonata-project/google-authenticator/src/GoogleAuthenticator.php', @@ -838,6 +887,10 @@ return array( 'Stripe\\Service\\Reporting\\ReportTypeService' => $vendorDir . '/stripe/stripe-php/lib/Service/Reporting/ReportTypeService.php', 'Stripe\\Service\\Reporting\\ReportingServiceFactory' => $vendorDir . '/stripe/stripe-php/lib/Service/Reporting/ReportingServiceFactory.php', 'Stripe\\Service\\ReviewService' => $vendorDir . '/stripe/stripe-php/lib/Service/ReviewService.php', +<<<<<<< HEAD +======= + 'Stripe\\Service\\SetupAttemptService' => $vendorDir . '/stripe/stripe-php/lib/Service/SetupAttemptService.php', +>>>>>>> master 'Stripe\\Service\\SetupIntentService' => $vendorDir . '/stripe/stripe-php/lib/Service/SetupIntentService.php', 'Stripe\\Service\\Sigma\\ScheduledQueryRunService' => $vendorDir . '/stripe/stripe-php/lib/Service/Sigma/ScheduledQueryRunService.php', 'Stripe\\Service\\Sigma\\SigmaServiceFactory' => $vendorDir . '/stripe/stripe-php/lib/Service/Sigma/SigmaServiceFactory.php', @@ -855,6 +908,10 @@ return array( 'Stripe\\Service\\TopupService' => $vendorDir . '/stripe/stripe-php/lib/Service/TopupService.php', 'Stripe\\Service\\TransferService' => $vendorDir . '/stripe/stripe-php/lib/Service/TransferService.php', 'Stripe\\Service\\WebhookEndpointService' => $vendorDir . '/stripe/stripe-php/lib/Service/WebhookEndpointService.php', +<<<<<<< HEAD +======= + 'Stripe\\SetupAttempt' => $vendorDir . '/stripe/stripe-php/lib/SetupAttempt.php', +>>>>>>> master 'Stripe\\SetupIntent' => $vendorDir . '/stripe/stripe-php/lib/SetupIntent.php', 'Stripe\\Sigma\\ScheduledQueryRun' => $vendorDir . '/stripe/stripe-php/lib/Sigma/ScheduledQueryRun.php', 'Stripe\\SingletonApiResource' => $vendorDir . '/stripe/stripe-php/lib/SingletonApiResource.php', @@ -923,7 +980,10 @@ return array( 'SurveyDataFile' => $baseDir . '/admin/survey/classes/surveyData/class.SurveyDataFile.php', 'SurveyDataSettingProfiles' => $baseDir . '/admin/survey/classes/class.SurveyDataSettingProfiles.php', 'SurveyDiagnostics' => $baseDir . '/admin/survey/classes/class.SurveyDiagnostics.php', +<<<<<<< HEAD 'SurveyDisplayData' => $baseDir . '/admin/survey/classes/surveyData/old/class.SurveyDisplayData.php', +======= +>>>>>>> master 'SurveyEditsAnalysis' => $baseDir . '/admin/survey/classes/class.SurveyEditsAnalysis.php', 'SurveyEmployMeter' => $baseDir . '/admin/survey/modules/mod_EVOLI/class.SurveyEmployMeter.php', 'SurveyEvoli' => $baseDir . '/admin/survey/modules/mod_EVOLI/class.SurveyEvoli.php', @@ -964,7 +1024,10 @@ return array( 'SurveyRecoding' => $baseDir . '/admin/survey/classes/class.SurveyRecoding.php', 'SurveyReminderTracking' => $baseDir . '/admin/survey/classes/class.SurveyReminderTracking.php', 'SurveyRespondents' => $baseDir . '/admin/survey/classes/class.SurveyRespondents.php', +<<<<<<< HEAD 'SurveySNDataFile' => $baseDir . '/admin/survey/classes/surveyData/old/class.SurveySNDataFile.php', +======= +>>>>>>> master 'SurveySession' => $baseDir . '/admin/survey/classes/class.SurveySession.php', 'SurveySessionDestructor' => $baseDir . '/admin/survey/classes/class.SurveySession.php', 'SurveySetting' => $baseDir . '/admin/survey/classes/class.SurveySetting.php', @@ -985,7 +1048,10 @@ return array( 'SurveyTheme' => $baseDir . '/admin/survey/classes/class.SurveyTheme.php', 'SurveyThemeEditor' => $baseDir . '/admin/survey/classes/class.SurveyThemeEditor.php', 'SurveyTimeProfiles' => $baseDir . '/admin/survey/classes/class.SurveyTimeProfiles.php', +<<<<<<< HEAD 'SurveyTrackIncremental' => $baseDir . '/admin/survey/classes/surveyData/old/class.SurveyTrackIncremental.php', +======= +>>>>>>> master 'SurveyUnsubscribe' => $baseDir . '/admin/survey/classes/class.SurveyUnsubscribe.php', 'SurveyUporabnost' => $baseDir . '/admin/survey/modules/mod_uporabnost/class.SurveyUporabnost.php', 'SurveyUrlLinks' => $baseDir . '/admin/survey/classes/class.SurveyUrlLinks.php', @@ -1002,11 +1068,17 @@ return array( 'Symfony\\Polyfill\\Intl\\Idn\\Resources\\unidata\\DisallowedRanges' => $vendorDir . '/symfony/polyfill-intl-idn/Resources/unidata/DisallowedRanges.php', 'Symfony\\Polyfill\\Intl\\Idn\\Resources\\unidata\\Regex' => $vendorDir . '/symfony/polyfill-intl-idn/Resources/unidata/Regex.php', 'Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Normalizer.php', +<<<<<<< HEAD 'Symfony\\Polyfill\\Php70\\Php70' => $vendorDir . '/symfony/polyfill-php70/Php70.php', 'Symfony\\Polyfill\\Php72\\Php72' => $vendorDir . '/symfony/polyfill-php72/Php72.php', 'Timer' => $baseDir . '/admin/survey/classes/class.Timer.php', 'TrackingClass' => $baseDir . '/admin/survey/classes/TrackingClass.php', 'TypeError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/TypeError.php', +======= + 'Symfony\\Polyfill\\Php72\\Php72' => $vendorDir . '/symfony/polyfill-php72/Php72.php', + 'Timer' => $baseDir . '/admin/survey/classes/class.Timer.php', + 'TrackingClass' => $baseDir . '/admin/survey/classes/TrackingClass.php', +>>>>>>> master 'User' => $baseDir . '/admin/survey/classes/class.User.php', 'UserAccess' => $baseDir . '/frontend/payments/classes/class.UserAccess.php', 'UserNarocila' => $baseDir . '/frontend/payments/classes/class.UserNarocila.php', diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php index 8ff82b662..6e60e6b6c 100644 --- a/vendor/composer/autoload_files.php +++ b/vendor/composer/autoload_files.php @@ -7,12 +7,20 @@ $baseDir = dirname($vendorDir); return array( '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', +<<<<<<< HEAD '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php', '023d27dca8066ef29e6739335ea73bad' => $vendorDir . '/symfony/polyfill-php70/bootstrap.php', 'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php', '3109cb1a231dcd04bee1f9f620d46975' => $vendorDir . '/paragonie/sodium_compat/autoload.php', 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', +======= + 'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php', + '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php', + 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', + 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', + '3109cb1a231dcd04bee1f9f620d46975' => $vendorDir . '/paragonie/sodium_compat/autoload.php', +>>>>>>> master 'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', '2bf0564df058fbe21b5554296cc8571a' => $baseDir . '/main/survey/class.EvalvacijaMain.php', diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index 661835f8f..cf5ce4159 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -7,7 +7,10 @@ $baseDir = dirname($vendorDir); return array( 'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'), +<<<<<<< HEAD 'Symfony\\Polyfill\\Php70\\' => array($vendorDir . '/symfony/polyfill-php70'), +======= +>>>>>>> master 'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'), 'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'), 'Stripe\\' => array($vendorDir . '/stripe/stripe-php/lib'), @@ -21,7 +24,11 @@ return array( 'MaxMind\\WebService\\' => array($vendorDir . '/maxmind/web-service-common/src/WebService'), 'MaxMind\\Exception\\' => array($vendorDir . '/maxmind/web-service-common/src/Exception'), 'MaxMind\\Db\\' => array($vendorDir . '/maxmind-db/reader/src/MaxMind/Db'), +<<<<<<< HEAD 'Jose\\Component\\Signature\\Algorithm\\' => array($vendorDir . '/web-token/jwt-signature-algorithm-rsa', $vendorDir . '/web-token/jwt-signature-algorithm-none', $vendorDir . '/web-token/jwt-signature-algorithm-hmac', $vendorDir . '/web-token/jwt-signature-algorithm-eddsa', $vendorDir . '/web-token/jwt-signature-algorithm-ecdsa'), +======= + 'Jose\\Component\\Signature\\Algorithm\\' => array($vendorDir . '/web-token/jwt-signature-algorithm-ecdsa', $vendorDir . '/web-token/jwt-signature-algorithm-eddsa', $vendorDir . '/web-token/jwt-signature-algorithm-hmac', $vendorDir . '/web-token/jwt-signature-algorithm-none', $vendorDir . '/web-token/jwt-signature-algorithm-rsa'), +>>>>>>> master 'Jose\\Component\\Signature\\' => array($vendorDir . '/web-token/jwt-signature'), 'Jose\\Component\\KeyManagement\\' => array($vendorDir . '/web-token/jwt-key-mgmt'), 'Jose\\Component\\Core\\Util\\Ecc\\' => array($vendorDir . '/web-token/jwt-util-ecc'), diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 4feb52fe1..ce5db375d 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,11 @@ // autoload_real.php @generated by Composer +<<<<<<< HEAD class ComposerAutoloaderInit817d358f3360c5248956ccfb4ef6d09a +======= +class ComposerAutoloaderInit0d06eb1022200eb96b7e4bb652ca3996 +>>>>>>> master { private static $loader; @@ -19,6 +23,7 @@ class ComposerAutoloaderInit817d358f3360c5248956ccfb4ef6d09a return self::$loader; } +<<<<<<< HEAD spl_autoload_register(array('ComposerAutoloaderInit817d358f3360c5248956ccfb4ef6d09a', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); spl_autoload_unregister(array('ComposerAutoloaderInit817d358f3360c5248956ccfb4ef6d09a', 'loadClassLoader')); @@ -28,6 +33,17 @@ class ComposerAutoloaderInit817d358f3360c5248956ccfb4ef6d09a require_once __DIR__ . '/autoload_static.php'; call_user_func(\Composer\Autoload\ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a::getInitializer($loader)); +======= + spl_autoload_register(array('ComposerAutoloaderInit0d06eb1022200eb96b7e4bb652ca3996', 'loadClassLoader'), true, true); + self::$loader = $loader = new \Composer\Autoload\ClassLoader(); + spl_autoload_unregister(array('ComposerAutoloaderInit0d06eb1022200eb96b7e4bb652ca3996', 'loadClassLoader')); + + $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); + if ($useStaticLoader) { + require_once __DIR__ . '/autoload_static.php'; + + call_user_func(\Composer\Autoload\ComposerStaticInit0d06eb1022200eb96b7e4bb652ca3996::getInitializer($loader)); +>>>>>>> master } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -48,19 +64,31 @@ class ComposerAutoloaderInit817d358f3360c5248956ccfb4ef6d09a $loader->register(true); if ($useStaticLoader) { +<<<<<<< HEAD $includeFiles = Composer\Autoload\ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a::$files; +======= + $includeFiles = Composer\Autoload\ComposerStaticInit0d06eb1022200eb96b7e4bb652ca3996::$files; +>>>>>>> master } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { +<<<<<<< HEAD composerRequire817d358f3360c5248956ccfb4ef6d09a($fileIdentifier, $file); +======= + composerRequire0d06eb1022200eb96b7e4bb652ca3996($fileIdentifier, $file); +>>>>>>> master } return $loader; } } +<<<<<<< HEAD function composerRequire817d358f3360c5248956ccfb4ef6d09a($fileIdentifier, $file) +======= +function composerRequire0d06eb1022200eb96b7e4bb652ca3996($fileIdentifier, $file) +>>>>>>> master { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 226e8471f..49c727793 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,6 +4,7 @@ namespace Composer\Autoload; +<<<<<<< HEAD class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a { public static $files = array ( @@ -14,6 +15,17 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a '3109cb1a231dcd04bee1f9f620d46975' => __DIR__ . '/..' . '/paragonie/sodium_compat/autoload.php', 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php', 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', +======= +class ComposerStaticInit0d06eb1022200eb96b7e4bb652ca3996 +{ + public static $files = array ( + '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', + 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php', + '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php', + 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', + 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php', + '3109cb1a231dcd04bee1f9f620d46975' => __DIR__ . '/..' . '/paragonie/sodium_compat/autoload.php', +>>>>>>> master 'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', '2bf0564df058fbe21b5554296cc8571a' => __DIR__ . '/../..' . '/main/survey/class.EvalvacijaMain.php', @@ -29,7 +41,10 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'S' => array ( 'Symfony\\Polyfill\\Php72\\' => 23, +<<<<<<< HEAD 'Symfony\\Polyfill\\Php70\\' => 23, +======= +>>>>>>> master 'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33, 'Symfony\\Polyfill\\Intl\\Idn\\' => 26, 'Stripe\\' => 7, @@ -93,10 +108,13 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php72', ), +<<<<<<< HEAD 'Symfony\\Polyfill\\Php70\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php70', ), +======= +>>>>>>> master 'Symfony\\Polyfill\\Intl\\Normalizer\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer', @@ -151,11 +169,19 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a ), 'Jose\\Component\\Signature\\Algorithm\\' => array ( +<<<<<<< HEAD 0 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-rsa', 1 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-none', 2 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-hmac', 3 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-eddsa', 4 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-ecdsa', +======= + 0 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-ecdsa', + 1 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-eddsa', + 2 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-hmac', + 3 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-none', + 4 => __DIR__ . '/..' . '/web-token/jwt-signature-algorithm-rsa', +>>>>>>> master ), 'Jose\\Component\\Signature\\' => array ( @@ -264,12 +290,18 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'App\\Controllers\\Vprasanja\\TextController' => __DIR__ . '/../..' . '/main/survey/app/Controllers/Vprasanja/TextController.php', 'App\\Controllers\\Vprasanja\\VprasanjaController' => __DIR__ . '/../..' . '/main/survey/app/Controllers/Vprasanja/VprasanjaController.php', 'App\\Controllers\\Vprasanja\\VsotaController' => __DIR__ . '/../..' . '/main/survey/app/Controllers/Vprasanja/VsotaController.php', +<<<<<<< HEAD 'App\\Controllers\\Vprasanja\\in' => __DIR__ . '/../..' . '/main/survey/app/Controllers/Vprasanja/MultigridController.php', 'App\\Models\\Model' => __DIR__ . '/../..' . '/main/survey/app/Models/Model.php', 'App\\Models\\SaveSurvey' => __DIR__ . '/../..' . '/main/survey/app/Models/SaveSurvey.php', 'App\\Models\\User' => __DIR__ . '/../..' . '/main/survey/app/Models/User.php', 'ArithmeticError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php', 'AssertionError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php', +======= + 'App\\Models\\Model' => __DIR__ . '/../..' . '/main/survey/app/Models/Model.php', + 'App\\Models\\SaveSurvey' => __DIR__ . '/../..' . '/main/survey/app/Models/SaveSurvey.php', + 'App\\Models\\User' => __DIR__ . '/../..' . '/main/survey/app/Models/User.php', +>>>>>>> master 'Base64Url\\Base64Url' => __DIR__ . '/..' . '/spomky-labs/base64url/src/Base64Url.php', 'BesediloLatex' => __DIR__ . '/../..' . '/admin/survey/export/latexclasses/Vprasanja/BesediloLatex.php', 'BesediloXml' => __DIR__ . '/../..' . '/admin/survey/export/xmlClasses/Vprasanja/BesediloXml.php', @@ -277,15 +309,22 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'BranchingAjax' => __DIR__ . '/../..' . '/admin/survey/BranchingAjax.php', 'Cache' => __DIR__ . '/../..' . '/admin/survey/classes/class.Cache.php', 'CheckboxXml' => __DIR__ . '/../..' . '/admin/survey/export/xmlClasses/Vprasanja/CheckboxXml.php', +<<<<<<< HEAD 'CollectIncrementalData' => __DIR__ . '/../..' . '/admin/survey/classes/surveyData/old/class.CollectIncrementalData.php', +======= +>>>>>>> master 'Common' => __DIR__ . '/../..' . '/admin/survey/classes/class.Common.php', 'Composer\\CaBundle\\CaBundle' => __DIR__ . '/..' . '/composer/ca-bundle/src/CaBundle.php', 'CrossRoad' => __DIR__ . '/../..' . '/admin/survey/classes/CrossRoad.php', 'DatumLatex' => __DIR__ . '/../..' . '/admin/survey/export/latexclasses/Vprasanja/DatumLatex.php', 'Demografija' => __DIR__ . '/../..' . '/admin/survey/classes/class.Demografija.php', +<<<<<<< HEAD 'DivisionByZeroError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php', 'Dostop' => __DIR__ . '/../..' . '/admin/survey/classes/class.Dostop.php', 'Error' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/Error.php', +======= + 'Dostop' => __DIR__ . '/../..' . '/admin/survey/classes/class.Dostop.php', +>>>>>>> master 'Evalvacija' => __DIR__ . '/../..' . '/admin/survey/modules/Evalvacija/class.Evalvacija.php', 'EvoliForm' => __DIR__ . '/../..' . '/admin/survey/modules/mod_EVOLI/class.EvoliForm.php', 'ExclusiveLock' => __DIR__ . '/../..' . '/admin/survey/classes/surveyData/class.ExclusiveLock.php', @@ -416,8 +455,16 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'GuzzleHttp\\Promise\\AggregateException' => __DIR__ . '/..' . '/guzzlehttp/promises/src/AggregateException.php', 'GuzzleHttp\\Promise\\CancellationException' => __DIR__ . '/..' . '/guzzlehttp/promises/src/CancellationException.php', 'GuzzleHttp\\Promise\\Coroutine' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Coroutine.php', +<<<<<<< HEAD 'GuzzleHttp\\Promise\\EachPromise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/EachPromise.php', 'GuzzleHttp\\Promise\\FulfilledPromise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/FulfilledPromise.php', +======= + 'GuzzleHttp\\Promise\\Create' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Create.php', + 'GuzzleHttp\\Promise\\Each' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Each.php', + 'GuzzleHttp\\Promise\\EachPromise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/EachPromise.php', + 'GuzzleHttp\\Promise\\FulfilledPromise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/FulfilledPromise.php', + 'GuzzleHttp\\Promise\\Is' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Is.php', +>>>>>>> master 'GuzzleHttp\\Promise\\Promise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Promise.php', 'GuzzleHttp\\Promise\\PromiseInterface' => __DIR__ . '/..' . '/guzzlehttp/promises/src/PromiseInterface.php', 'GuzzleHttp\\Promise\\PromisorInterface' => __DIR__ . '/..' . '/guzzlehttp/promises/src/PromisorInterface.php', @@ -425,11 +472,16 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'GuzzleHttp\\Promise\\RejectionException' => __DIR__ . '/..' . '/guzzlehttp/promises/src/RejectionException.php', 'GuzzleHttp\\Promise\\TaskQueue' => __DIR__ . '/..' . '/guzzlehttp/promises/src/TaskQueue.php', 'GuzzleHttp\\Promise\\TaskQueueInterface' => __DIR__ . '/..' . '/guzzlehttp/promises/src/TaskQueueInterface.php', +<<<<<<< HEAD +======= + 'GuzzleHttp\\Promise\\Utils' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Utils.php', +>>>>>>> master 'GuzzleHttp\\Psr7\\AppendStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/AppendStream.php', 'GuzzleHttp\\Psr7\\BufferStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/BufferStream.php', 'GuzzleHttp\\Psr7\\CachingStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/CachingStream.php', 'GuzzleHttp\\Psr7\\DroppingStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/DroppingStream.php', 'GuzzleHttp\\Psr7\\FnStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/FnStream.php', +<<<<<<< HEAD 'GuzzleHttp\\Psr7\\InflateStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/InflateStream.php', 'GuzzleHttp\\Psr7\\LazyOpenStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/LazyOpenStream.php', 'GuzzleHttp\\Psr7\\LimitStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/LimitStream.php', @@ -437,6 +489,19 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'GuzzleHttp\\Psr7\\MultipartStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MultipartStream.php', 'GuzzleHttp\\Psr7\\NoSeekStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/NoSeekStream.php', 'GuzzleHttp\\Psr7\\PumpStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/PumpStream.php', +======= + 'GuzzleHttp\\Psr7\\Header' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Header.php', + 'GuzzleHttp\\Psr7\\InflateStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/InflateStream.php', + 'GuzzleHttp\\Psr7\\LazyOpenStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/LazyOpenStream.php', + 'GuzzleHttp\\Psr7\\LimitStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/LimitStream.php', + 'GuzzleHttp\\Psr7\\Message' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Message.php', + 'GuzzleHttp\\Psr7\\MessageTrait' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MessageTrait.php', + 'GuzzleHttp\\Psr7\\MimeType' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MimeType.php', + 'GuzzleHttp\\Psr7\\MultipartStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MultipartStream.php', + 'GuzzleHttp\\Psr7\\NoSeekStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/NoSeekStream.php', + 'GuzzleHttp\\Psr7\\PumpStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/PumpStream.php', + 'GuzzleHttp\\Psr7\\Query' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Query.php', +>>>>>>> master 'GuzzleHttp\\Psr7\\Request' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Request.php', 'GuzzleHttp\\Psr7\\Response' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Response.php', 'GuzzleHttp\\Psr7\\Rfc7230' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Rfc7230.php', @@ -448,6 +513,10 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'GuzzleHttp\\Psr7\\Uri' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Uri.php', 'GuzzleHttp\\Psr7\\UriNormalizer' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/UriNormalizer.php', 'GuzzleHttp\\Psr7\\UriResolver' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/UriResolver.php', +<<<<<<< HEAD +======= + 'GuzzleHttp\\Psr7\\Utils' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Utils.php', +>>>>>>> master 'GuzzleHttp\\RedirectMiddleware' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/RedirectMiddleware.php', 'GuzzleHttp\\RequestOptions' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/RequestOptions.php', 'GuzzleHttp\\RetryMiddleware' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/RetryMiddleware.php', @@ -816,7 +885,10 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'PHPMailer\\PHPMailer\\PHPMailer' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/PHPMailer.php', 'PHPMailer\\PHPMailer\\POP3' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/POP3.php', 'PHPMailer\\PHPMailer\\SMTP' => __DIR__ . '/..' . '/phpmailer/phpmailer/src/SMTP.php', +<<<<<<< HEAD 'ParseError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ParseError.php', +======= +>>>>>>> master 'PayPalCheckoutSdk\\Core\\AccessToken' => __DIR__ . '/..' . '/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/AccessToken.php', 'PayPalCheckoutSdk\\Core\\AccessTokenRequest' => __DIR__ . '/..' . '/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/AccessTokenRequest.php', 'PayPalCheckoutSdk\\Core\\AuthorizationInjector' => __DIR__ . '/..' . '/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/AuthorizationInjector.php', @@ -883,7 +955,10 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'Sample\\PatchOrder' => __DIR__ . '/..' . '/paypal/paypal-checkout-sdk/samples/PatchOrder.php', 'Sample\\PayPalClient' => __DIR__ . '/..' . '/paypal/paypal-checkout-sdk/samples/PayPalClient.php', 'Sample\\RefundOrder' => __DIR__ . '/..' . '/paypal/paypal-checkout-sdk/samples/RefundOrder.php', +<<<<<<< HEAD 'SessionUpdateTimestampHandlerInterface' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php', +======= +>>>>>>> master 'Setting' => __DIR__ . '/../..' . '/admin/survey/classes/class.Setting.php', 'Sonata\\GoogleAuthenticator\\FixedBitNotation' => __DIR__ . '/..' . '/sonata-project/google-authenticator/src/FixedBitNotation.php', 'Sonata\\GoogleAuthenticator\\GoogleAuthenticator' => __DIR__ . '/..' . '/sonata-project/google-authenticator/src/GoogleAuthenticator.php', @@ -1048,6 +1123,10 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'Stripe\\Service\\Reporting\\ReportTypeService' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/Reporting/ReportTypeService.php', 'Stripe\\Service\\Reporting\\ReportingServiceFactory' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/Reporting/ReportingServiceFactory.php', 'Stripe\\Service\\ReviewService' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/ReviewService.php', +<<<<<<< HEAD +======= + 'Stripe\\Service\\SetupAttemptService' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/SetupAttemptService.php', +>>>>>>> master 'Stripe\\Service\\SetupIntentService' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/SetupIntentService.php', 'Stripe\\Service\\Sigma\\ScheduledQueryRunService' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/Sigma/ScheduledQueryRunService.php', 'Stripe\\Service\\Sigma\\SigmaServiceFactory' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/Sigma/SigmaServiceFactory.php', @@ -1065,6 +1144,10 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'Stripe\\Service\\TopupService' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/TopupService.php', 'Stripe\\Service\\TransferService' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/TransferService.php', 'Stripe\\Service\\WebhookEndpointService' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Service/WebhookEndpointService.php', +<<<<<<< HEAD +======= + 'Stripe\\SetupAttempt' => __DIR__ . '/..' . '/stripe/stripe-php/lib/SetupAttempt.php', +>>>>>>> master 'Stripe\\SetupIntent' => __DIR__ . '/..' . '/stripe/stripe-php/lib/SetupIntent.php', 'Stripe\\Sigma\\ScheduledQueryRun' => __DIR__ . '/..' . '/stripe/stripe-php/lib/Sigma/ScheduledQueryRun.php', 'Stripe\\SingletonApiResource' => __DIR__ . '/..' . '/stripe/stripe-php/lib/SingletonApiResource.php', @@ -1133,7 +1216,10 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'SurveyDataFile' => __DIR__ . '/../..' . '/admin/survey/classes/surveyData/class.SurveyDataFile.php', 'SurveyDataSettingProfiles' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyDataSettingProfiles.php', 'SurveyDiagnostics' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyDiagnostics.php', +<<<<<<< HEAD 'SurveyDisplayData' => __DIR__ . '/../..' . '/admin/survey/classes/surveyData/old/class.SurveyDisplayData.php', +======= +>>>>>>> master 'SurveyEditsAnalysis' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyEditsAnalysis.php', 'SurveyEmployMeter' => __DIR__ . '/../..' . '/admin/survey/modules/mod_EVOLI/class.SurveyEmployMeter.php', 'SurveyEvoli' => __DIR__ . '/../..' . '/admin/survey/modules/mod_EVOLI/class.SurveyEvoli.php', @@ -1174,7 +1260,10 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'SurveyRecoding' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyRecoding.php', 'SurveyReminderTracking' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyReminderTracking.php', 'SurveyRespondents' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyRespondents.php', +<<<<<<< HEAD 'SurveySNDataFile' => __DIR__ . '/../..' . '/admin/survey/classes/surveyData/old/class.SurveySNDataFile.php', +======= +>>>>>>> master 'SurveySession' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveySession.php', 'SurveySessionDestructor' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveySession.php', 'SurveySetting' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveySetting.php', @@ -1195,7 +1284,10 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'SurveyTheme' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyTheme.php', 'SurveyThemeEditor' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyThemeEditor.php', 'SurveyTimeProfiles' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyTimeProfiles.php', +<<<<<<< HEAD 'SurveyTrackIncremental' => __DIR__ . '/../..' . '/admin/survey/classes/surveyData/old/class.SurveyTrackIncremental.php', +======= +>>>>>>> master 'SurveyUnsubscribe' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyUnsubscribe.php', 'SurveyUporabnost' => __DIR__ . '/../..' . '/admin/survey/modules/mod_uporabnost/class.SurveyUporabnost.php', 'SurveyUrlLinks' => __DIR__ . '/../..' . '/admin/survey/classes/class.SurveyUrlLinks.php', @@ -1212,11 +1304,17 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a 'Symfony\\Polyfill\\Intl\\Idn\\Resources\\unidata\\DisallowedRanges' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/Resources/unidata/DisallowedRanges.php', 'Symfony\\Polyfill\\Intl\\Idn\\Resources\\unidata\\Regex' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/Resources/unidata/Regex.php', 'Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Normalizer.php', +<<<<<<< HEAD 'Symfony\\Polyfill\\Php70\\Php70' => __DIR__ . '/..' . '/symfony/polyfill-php70/Php70.php', 'Symfony\\Polyfill\\Php72\\Php72' => __DIR__ . '/..' . '/symfony/polyfill-php72/Php72.php', 'Timer' => __DIR__ . '/../..' . '/admin/survey/classes/class.Timer.php', 'TrackingClass' => __DIR__ . '/../..' . '/admin/survey/classes/TrackingClass.php', 'TypeError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/TypeError.php', +======= + 'Symfony\\Polyfill\\Php72\\Php72' => __DIR__ . '/..' . '/symfony/polyfill-php72/Php72.php', + 'Timer' => __DIR__ . '/../..' . '/admin/survey/classes/class.Timer.php', + 'TrackingClass' => __DIR__ . '/../..' . '/admin/survey/classes/TrackingClass.php', +>>>>>>> master 'User' => __DIR__ . '/../..' . '/admin/survey/classes/class.User.php', 'UserAccess' => __DIR__ . '/../..' . '/frontend/payments/classes/class.UserAccess.php', 'UserNarocila' => __DIR__ . '/../..' . '/frontend/payments/classes/class.UserNarocila.php', @@ -1245,9 +1343,15 @@ class ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { +<<<<<<< HEAD $loader->prefixLengthsPsr4 = ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a::$prefixLengthsPsr4; $loader->prefixDirsPsr4 = ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a::$prefixDirsPsr4; $loader->classMap = ComposerStaticInit817d358f3360c5248956ccfb4ef6d09a::$classMap; +======= + $loader->prefixLengthsPsr4 = ComposerStaticInit0d06eb1022200eb96b7e4bb652ca3996::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit0d06eb1022200eb96b7e4bb652ca3996::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit0d06eb1022200eb96b7e4bb652ca3996::$classMap; +>>>>>>> master }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 95b51050a..e95e6cca2 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -1,5 +1,6 @@ [ { +<<<<<<< HEAD "name": "sonata-project/google-authenticator", "version": "2.2.0", "version_normalized": "2.2.0.0", @@ -25,13 +26,48 @@ "extra": { "branch-alias": { "dev-master": "2.x-dev" +======= + "name": "composer/ca-bundle", + "version": "1.2.8", + "version_normalized": "1.2.8.0", + "source": { + "type": "git", + "url": "https://github.com/composer/ca-bundle.git", + "reference": "8a7ecad675253e4654ea05505233285377405215" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/8a7ecad675253e4654ea05505233285377405215", + "reference": "8a7ecad675253e4654ea05505233285377405215", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "ext-pcre": "*", + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8", + "psr/log": "^1.0", + "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0" + }, + "time": "2020-08-23T12:54:47+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" +>>>>>>> master } }, "installation-source": "dist", "autoload": { "psr-4": { +<<<<<<< HEAD "Google\\Authenticator\\": "src/", "Sonata\\GoogleAuthenticator\\": "src/" +======= + "Composer\\CaBundle\\": "src" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", @@ -40,6 +76,7 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Christian Stocker", "email": "me@chregu.tv" }, @@ -97,10 +134,66 @@ "autoload": { "psr-4": { "PHPMailer\\PHPMailer\\": "src/" +======= + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", + "keywords": [ + "cabundle", + "cacert", + "certificate", + "ssl", + "tls" + ] + }, + { + "name": "fgrosse/phpasn1", + "version": "v2.2.0", + "version_normalized": "2.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/fgrosse/PHPASN1.git", + "reference": "d1978f7abd580f3fc33561e7f71d4c12c7531fad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fgrosse/PHPASN1/zipball/d1978f7abd580f3fc33561e7f71d4c12c7531fad", + "reference": "d1978f7abd580f3fc33561e7f71d4c12c7531fad", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.3", + "satooshi/php-coveralls": "~2.0" + }, + "suggest": { + "ext-bcmath": "BCmath is the fallback extension for big integer calculations", + "ext-curl": "For loading OID information from the web if they have not bee defined statically", + "ext-gmp": "GMP is the preferred extension for big integer calculations", + "phpseclib/bcmath_compat": "BCmath polyfill for servers where neither GMP nor BCmath is available" + }, + "time": "2020-10-11T16:28:18+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "FG\\": "lib/" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", "license": [ +<<<<<<< HEAD "LGPL-2.1-only" ], "authors": [ @@ -156,10 +249,75 @@ "autoload": { "psr-4": { "Jose\\Component\\Core\\Util\\Ecc\\": "" +======= + "MIT" + ], + "authors": [ + { + "name": "Friedrich Große", + "email": "friedrich.grosse@gmail.com", + "homepage": "https://github.com/FGrosse", + "role": "Author" + }, + { + "name": "All contributors", + "homepage": "https://github.com/FGrosse/PHPASN1/contributors" + } + ], + "description": "A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using the ITU-T X.690 Encoding Rules.", + "homepage": "https://github.com/FGrosse/PHPASN1", + "keywords": [ + "DER", + "asn.1", + "asn1", + "ber", + "binary", + "decoding", + "encoding", + "x.509", + "x.690", + "x509", + "x690" + ] + }, + { + "name": "geoip2/geoip2", + "version": "v2.11.0", + "version_normalized": "2.11.0.0", + "source": { + "type": "git", + "url": "https://github.com/maxmind/GeoIP2-php.git", + "reference": "d01be5894a5c1a3381c58c9b1795cd07f96c30f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maxmind/GeoIP2-php/zipball/d01be5894a5c1a3381c58c9b1795cd07f96c30f7", + "reference": "d01be5894a5c1a3381c58c9b1795cd07f96c30f7", + "shasum": "" + }, + "require": { + "ext-json": "*", + "maxmind-db/reader": "~1.8", + "maxmind/web-service-common": "~0.8", + "php": ">=7.2" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "2.*", + "phpunit/phpunit": "^8.0 || ^9.0", + "squizlabs/php_codesniffer": "3.*" + }, + "time": "2020-10-01T18:48:34+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "GeoIp2\\": "src" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", "license": [ +<<<<<<< HEAD "MIT" ], "authors": [ @@ -224,13 +382,77 @@ "extra": { "branch-alias": { "dev-master": "2.0.x-dev" +======= + "Apache-2.0" + ], + "authors": [ + { + "name": "Gregory J. Oschwald", + "email": "goschwald@maxmind.com", + "homepage": "https://www.maxmind.com/" + } + ], + "description": "MaxMind GeoIP2 PHP API", + "homepage": "https://github.com/maxmind/GeoIP2-php", + "keywords": [ + "IP", + "geoip", + "geoip2", + "geolocation", + "maxmind" + ] + }, + { + "name": "guzzlehttp/guzzle", + "version": "6.5.5", + "version_normalized": "6.5.5.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", + "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.0", + "guzzlehttp/psr7": "^1.6.1", + "php": ">=5.5", + "symfony/polyfill-intl-idn": "^1.17.0" + }, + "require-dev": { + "ext-curl": "*", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0", + "psr/log": "^1.1" + }, + "suggest": { + "psr/log": "Required for using the Log middleware" + }, + "time": "2020-06-16T21:01:06+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.5-dev" +>>>>>>> master } }, "installation-source": "dist", "autoload": { "psr-4": { +<<<<<<< HEAD "FG\\": "lib/" } +======= + "GuzzleHttp\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] +>>>>>>> master }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -238,6 +460,7 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Friedrich Große", "email": "friedrich.grosse@gmail.com", "homepage": "https://github.com/FGrosse", @@ -298,20 +521,137 @@ "extra": { "branch-alias": { "dev-master": "1.3.x-dev" +======= + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "homepage": "http://guzzlephp.org/", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "rest", + "web service" + ] + }, + { + "name": "guzzlehttp/promises", + "version": "1.4.0", + "version_normalized": "1.4.0.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "60d379c243457e073cff02bc323a2a86cb355631" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/60d379c243457e073cff02bc323a2a86cb355631", + "reference": "60d379c243457e073cff02bc323a2a86cb355631", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" + }, + "time": "2020-09-30T07:37:28+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" +>>>>>>> master } }, "installation-source": "dist", "autoload": { "psr-4": { +<<<<<<< HEAD "Jose\\Component\\Core\\": "" } }, +======= + "GuzzleHttp\\Promise\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ] + }, + { + "name": "guzzlehttp/psr7", + "version": "1.7.0", + "version_normalized": "1.7.0.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3", + "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3", + "shasum": "" + }, + "require": { + "php": ">=5.4.0", + "psr/http-message": "~1.0", + "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" + }, + "provide": { + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "ext-zlib": "*", + "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "time": "2020-09-30T07:37:11+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.7-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, +>>>>>>> master + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { +<<<<<<< HEAD "name": "Florent Morselli", "homepage": "https://github.com/Spomky" }, @@ -339,10 +679,200 @@ "jwa", "jwt", "symfony" +======= + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Schultze", + "homepage": "https://github.com/Tobion" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ] + }, + { + "name": "maxmind-db/reader", + "version": "v1.8.0", + "version_normalized": "1.8.0.0", + "source": { + "type": "git", + "url": "https://github.com/maxmind/MaxMind-DB-Reader-php.git", + "reference": "b566d429ac9aec10594b0935be8ff38302f8d5c8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maxmind/MaxMind-DB-Reader-php/zipball/b566d429ac9aec10594b0935be8ff38302f8d5c8", + "reference": "b566d429ac9aec10594b0935be8ff38302f8d5c8", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "conflict": { + "ext-maxminddb": "<1.8.0,>=2.0.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "2.*", + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpcov": ">=6.0.0", + "phpunit/phpunit": ">=8.0.0,<10.0.0", + "squizlabs/php_codesniffer": "3.*" + }, + "suggest": { + "ext-bcmath": "bcmath or gmp is required for decoding larger integers with the pure PHP decoder", + "ext-gmp": "bcmath or gmp is required for decoding larger integers with the pure PHP decoder", + "ext-maxminddb": "A C-based database decoder that provides significantly faster lookups" + }, + "time": "2020-10-01T17:30:21+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "MaxMind\\Db\\": "src/MaxMind/Db" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Gregory J. Oschwald", + "email": "goschwald@maxmind.com", + "homepage": "https://www.maxmind.com/" + } + ], + "description": "MaxMind DB Reader API", + "homepage": "https://github.com/maxmind/MaxMind-DB-Reader-php", + "keywords": [ + "database", + "geoip", + "geoip2", + "geolocation", + "maxmind" + ] + }, + { + "name": "maxmind/web-service-common", + "version": "v0.8.1", + "version_normalized": "0.8.1.0", + "source": { + "type": "git", + "url": "https://github.com/maxmind/web-service-common-php.git", + "reference": "32f274051c543fc865e5a84d3a2c703913641ea8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maxmind/web-service-common-php/zipball/32f274051c543fc865e5a84d3a2c703913641ea8", + "reference": "32f274051c543fc865e5a84d3a2c703913641ea8", + "shasum": "" + }, + "require": { + "composer/ca-bundle": "^1.0.3", + "ext-curl": "*", + "ext-json": "*", + "php": ">=7.2" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "2.*", + "phpunit/phpunit": "^8.0 || ^9.0", + "squizlabs/php_codesniffer": "3.*" + }, + "time": "2020-11-02T17:00:53+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "MaxMind\\Exception\\": "src/Exception", + "MaxMind\\WebService\\": "src/WebService" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Gregory Oschwald", + "email": "goschwald@maxmind.com" + } + ], + "description": "Internal MaxMind Web Service API", + "homepage": "https://github.com/maxmind/web-service-common-php" + }, + { + "name": "minishlink/web-push", + "version": "v5.2.5", + "version_normalized": "5.2.5.0", + "source": { + "type": "git", + "url": "https://github.com/web-push-libs/web-push-php.git", + "reference": "0e75af425126435794ed42d7aa92119fd563e503" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-push-libs/web-push-php/zipball/0e75af425126435794ed42d7aa92119fd563e503", + "reference": "0e75af425126435794ed42d7aa92119fd563e503", + "shasum": "" + }, + "require": { + "ext-gmp": "*", + "ext-json": "*", + "guzzlehttp/guzzle": "^6.2", + "lib-openssl": "*", + "php": "^7.1", + "web-token/jwt-key-mgmt": "^1.0", + "web-token/jwt-signature": "^1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.14", + "phpstan/phpstan": "0.11.2", + "phpunit/phpunit": "^7.0" + }, + "time": "2020-08-02T08:58:01+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Minishlink\\WebPush\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Louis Lagrange", + "email": "lagrange.louis@gmail.com", + "homepage": "https://github.com/Minishlink" + } + ], + "description": "Web Push library for PHP", + "homepage": "https://github.com/web-push-libs/web-push-php", + "keywords": [ + "Push API", + "WebPush", + "notifications", + "push", + "web" +>>>>>>> master ] }, { "name": "paragonie/random_compat", +<<<<<<< HEAD "version": "v9.99.99", "version_normalized": "9.99.99.0", "source": { @@ -358,6 +888,23 @@ }, "require": { "php": "^7" +======= + "version": "v9.99.100", + "version_normalized": "9.99.100.0", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", + "shasum": "" + }, + "require": { + "php": ">= 7" +>>>>>>> master }, "require-dev": { "phpunit/phpunit": "4.*|5.*", @@ -366,7 +913,11 @@ "suggest": { "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." }, +<<<<<<< HEAD "time": "2018-07-02 15:55:56", +======= + "time": "2020-10-15T08:29:30+00:00", +>>>>>>> master "type": "library", "installation-source": "dist", "notification-url": "https://packagist.org/downloads/", @@ -390,6 +941,7 @@ }, { "name": "paragonie/sodium_compat", +<<<<<<< HEAD "version": "v1.13.0", "version_normalized": "1.13.0.0", "source": { @@ -401,6 +953,19 @@ "type": "zip", "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/bbade402cbe84c69b718120911506a3aa2bae653", "reference": "bbade402cbe84c69b718120911506a3aa2bae653", +======= + "version": "v1.14.0", + "version_normalized": "1.14.0.0", + "source": { + "type": "git", + "url": "https://github.com/paragonie/sodium_compat.git", + "reference": "a1cfe0b21faf9c0b61ac0c6188c4af7fd6fd0db3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/a1cfe0b21faf9c0b61ac0c6188c4af7fd6fd0db3", + "reference": "a1cfe0b21faf9c0b61ac0c6188c4af7fd6fd0db3", +>>>>>>> master "shasum": "" }, "require": { @@ -408,13 +973,21 @@ "php": "^5.2.4|^5.3|^5.4|^5.5|^5.6|^7|^8" }, "require-dev": { +<<<<<<< HEAD "phpunit/phpunit": "^3|^4|^5|^6|^7" +======= + "phpunit/phpunit": "^3|^4|^5|^6|^7|^8|^9" +>>>>>>> master }, "suggest": { "ext-libsodium": "PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.", "ext-sodium": "PHP >= 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security." }, +<<<<<<< HEAD "time": "2020-03-20 21:48:09", +======= + "time": "2020-12-03T16:26:19+00:00", +>>>>>>> master "type": "library", "installation-source": "dist", "autoload": { @@ -473,6 +1046,7 @@ ] }, { +<<<<<<< HEAD "name": "web-token/jwt-key-mgmt", "version": "v1.3.10", "version_normalized": "1.3.10.0", @@ -872,10 +1446,40 @@ "autoload": { "psr-4": { "Jose\\Component\\Signature\\Algorithm\\": "" +======= + "name": "paypal/paypal-checkout-sdk", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "source": { + "type": "git", + "url": "https://github.com/paypal/Checkout-PHP-SDK.git", + "reference": "ed6a55075448308b87a8b59dcb7fedf04a048cb1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paypal/Checkout-PHP-SDK/zipball/ed6a55075448308b87a8b59dcb7fedf04a048cb1", + "reference": "ed6a55075448308b87a8b59dcb7fedf04a048cb1", + "shasum": "" + }, + "require": { + "paypal/paypalhttp": "1.0.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7" + }, + "time": "2019-11-07T23:16:44+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "PayPalCheckoutSdk\\": "lib/PayPalCheckoutSdk", + "Sample\\": "samples/" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", "license": [ +<<<<<<< HEAD "MIT" ], "authors": [ @@ -941,6 +1545,55 @@ "autoload": { "psr-4": { "Jose\\Component\\Signature\\Algorithm\\": "" +======= + "https://github.com/paypal/Checkout-PHP-SDK/blob/master/LICENSE" + ], + "authors": [ + { + "name": "PayPal", + "homepage": "https://github.com/paypal/Checkout-PHP-SDK/contributors" + } + ], + "description": "PayPal's PHP SDK for Checkout REST APIs", + "homepage": "http://github.com/paypal/Checkout-PHP-SDK/", + "keywords": [ + "checkout", + "orders", + "payments", + "paypal", + "rest", + "sdk" + ] + }, + { + "name": "paypal/paypalhttp", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/paypal/paypalhttp_php.git", + "reference": "1ad9b846a046f09d6135cbf2cbaa7701bbc630a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paypal/paypalhttp_php/zipball/1ad9b846a046f09d6135cbf2cbaa7701bbc630a3", + "reference": "1ad9b846a046f09d6135cbf2cbaa7701bbc630a3", + "shasum": "" + }, + "require": { + "ext-curl": "*" + }, + "require-dev": { + "phpunit/phpunit": "^5.7", + "wiremock-php/wiremock-php": "1.43.2" + }, + "time": "2019-11-06T21:27:12+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "PayPalHttp\\": "lib/PayPalHttp" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", @@ -949,6 +1602,7 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Florent Morselli", "homepage": "https://github.com/Spomky" }, @@ -1019,6 +1673,80 @@ } ], "description": "A polyfill for getallheaders." +======= + "name": "PayPal", + "homepage": "https://github.com/paypal/paypalhttp_php/contributors" + } + ] + }, + { + "name": "phpmailer/phpmailer", + "version": "v6.2.0", + "version_normalized": "6.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/PHPMailer/PHPMailer.git", + "reference": "e38888a75c070304ca5514197d4847a59a5c853f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/e38888a75c070304ca5514197d4847a59a5c853f", + "reference": "e38888a75c070304ca5514197d4847a59a5c853f", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", + "php": ">=5.5.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.2", + "phpcompatibility/php-compatibility": "^9.3.5", + "roave/security-advisories": "dev-latest", + "squizlabs/php_codesniffer": "^3.5.6", + "yoast/phpunit-polyfills": "^0.2.0" + }, + "suggest": { + "ext-mbstring": "Needed to send email in multibyte encoding charset", + "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", + "league/oauth2-google": "Needed for Google XOAUTH2 authentication", + "psr/log": "For optional PSR-3 debug logging", + "stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication", + "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)" + }, + "time": "2020-11-25T15:24:57+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "PHPMailer\\PHPMailer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-only" + ], + "authors": [ + { + "name": "Marcus Bointon", + "email": "phpmailer@synchromedia.co.uk" + }, + { + "name": "Jim Jagielski", + "email": "jimjag@gmail.com" + }, + { + "name": "Andy Prevost", + "email": "codeworxtech@users.sourceforge.net" + }, + { + "name": "Brent R. Matzelle" + } + ], + "description": "PHPMailer is a full-featured email creation and transfer class for PHP" +>>>>>>> master }, { "name": "psr/http-message", @@ -1038,7 +1766,11 @@ "require": { "php": ">=5.3.0" }, +<<<<<<< HEAD "time": "2016-08-06 14:39:51", +======= + "time": "2016-08-06T14:39:51+00:00", +>>>>>>> master "type": "library", "extra": { "branch-alias": { @@ -1073,6 +1805,7 @@ ] }, { +<<<<<<< HEAD "name": "guzzlehttp/psr7", "version": "1.6.1", "version_normalized": "1.6.1.0", @@ -1107,15 +1840,34 @@ "extra": { "branch-alias": { "dev-master": "1.6-dev" - } +======= + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "version_normalized": "3.0.3.0", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "time": "2019-03-08T08:55:37+00:00", + "type": "library", "installation-source": "dist", "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, "files": [ - "src/functions_include.php" + "src/getallheaders.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -1124,6 +1876,63 @@ ], "authors": [ { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders." + }, + { + "name": "sonata-project/google-authenticator", + "version": "2.2.0", + "version_normalized": "2.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sonata-project/GoogleAuthenticator.git", + "reference": "feda53899b26af24e3db2fe7a3e5f053ca483762" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sonata-project/GoogleAuthenticator/zipball/feda53899b26af24e3db2fe7a3e5f053ca483762", + "reference": "feda53899b26af24e3db2fe7a3e5f053ca483762", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.0" + }, + "time": "2018-07-18T22:08:02+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" +>>>>>>> master + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { +<<<<<<< HEAD + "GuzzleHttp\\Psr7\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] +======= + "Google\\Authenticator\\": "src/", + "Sonata\\GoogleAuthenticator\\": "src/" + } +>>>>>>> master + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { +<<<<<<< HEAD "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" @@ -1181,6 +1990,59 @@ "files": [ "src/functions_include.php" ] +======= + "name": "Christian Stocker", + "email": "me@chregu.tv" + }, + { + "name": "Andre DeMarre", + "homepage": "http://www.devnetwork.net/viewtopic.php?f=50&t=94989" + }, + { + "name": "Thomas Rabaix", + "email": "thomas.rabaix@gmail.com" + } + ], + "description": "Library to integrate Google Authenticator into a PHP project", + "homepage": "https://github.com/sonata-project/GoogleAuthenticator", + "keywords": [ + "google authenticator" + ] + }, + { + "name": "spomky-labs/base64url", + "version": "v2.0.4", + "version_normalized": "2.0.4.0", + "source": { + "type": "git", + "url": "https://github.com/Spomky-Labs/base64url.git", + "reference": "7752ce931ec285da4ed1f4c5aa27e45e097be61d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Spomky-Labs/base64url/zipball/7752ce931ec285da4ed1f4c5aa27e45e097be61d", + "reference": "7752ce931ec285da4ed1f4c5aa27e45e097be61d", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.11|^0.12", + "phpstan/phpstan-beberlei-assert": "^0.11|^0.12", + "phpstan/phpstan-deprecation-rules": "^0.11|^0.12", + "phpstan/phpstan-phpunit": "^0.11|^0.12", + "phpstan/phpstan-strict-rules": "^0.11|^0.12" + }, + "time": "2020-11-03T09:10:25+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Base64Url\\": "src/" + } +>>>>>>> master }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1188,6 +2050,7 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" @@ -1225,16 +2088,69 @@ "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" +======= + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky-Labs/base64url/contributors" + } + ], + "description": "Base 64 URL Safe Encoding/Decoding PHP Library", + "homepage": "https://github.com/Spomky-Labs/base64url", + "keywords": [ + "base64", + "rfc4648", + "safe", + "url" + ] + }, + { + "name": "stripe/stripe-php", + "version": "v7.66.1", + "version_normalized": "7.66.1.0", + "source": { + "type": "git", + "url": "https://github.com/stripe/stripe-php.git", + "reference": "a2ebaa272a8797b21e81afaf8d5ba0953ff15e13" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/a2ebaa272a8797b21e81afaf8d5ba0953ff15e13", + "reference": "a2ebaa272a8797b21e81afaf8d5ba0953ff15e13", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "php": ">=5.6.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "2.16.5", + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5.7", + "squizlabs/php_codesniffer": "^3.3", + "symfony/process": "~3.4" + }, + "time": "2020-12-01T18:44:12+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" +>>>>>>> master } }, "installation-source": "dist", "autoload": { "psr-4": { +<<<<<<< HEAD "Symfony\\Polyfill\\Php72\\": "" }, "files": [ "bootstrap.php" ] +======= + "Stripe\\": "lib/" + } +>>>>>>> master }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1242,6 +2158,7 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Nicolas Grekas", "email": "p@tchwork.com" }, @@ -1283,6 +2200,48 @@ "extra": { "branch-alias": { "dev-master": "1.18-dev" +======= + "name": "Stripe and contributors", + "homepage": "https://github.com/stripe/stripe-php/contributors" + } + ], + "description": "Stripe PHP Library", + "homepage": "https://stripe.com/", + "keywords": [ + "api", + "payment processing", + "stripe" + ] + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.20.0", + "version_normalized": "1.20.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "3b75acd829741c768bc8b1f84eb33265e7cc5117" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/3b75acd829741c768bc8b1f84eb33265e7cc5117", + "reference": "3b75acd829741c768bc8b1f84eb33265e7cc5117", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "symfony/polyfill-intl-normalizer": "^1.10", + "symfony/polyfill-php72": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "time": "2020-10-23T14:02:19+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.20-dev" +>>>>>>> master }, "thanks": { "name": "symfony/polyfill", @@ -1292,6 +2251,7 @@ "installation-source": "dist", "autoload": { "psr-4": { +<<<<<<< HEAD "Symfony\\Polyfill\\Php70\\": "" }, "files": [ @@ -1299,6 +2259,12 @@ ], "classmap": [ "Resources/stubs" +======= + "Symfony\\Polyfill\\Intl\\Idn\\": "" + }, + "files": [ + "bootstrap.php" +>>>>>>> master ] }, "notification-url": "https://packagist.org/downloads/", @@ -1307,18 +2273,36 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Nicolas Grekas", "email": "p@tchwork.com" +======= + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" +>>>>>>> master }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], +<<<<<<< HEAD "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", +======= + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", +>>>>>>> master "polyfill", "portable", "shim" @@ -1326,6 +2310,7 @@ }, { "name": "symfony/polyfill-intl-normalizer", +<<<<<<< HEAD "version": "v1.18.1", "version_normalized": "1.18.1.0", "source": { @@ -1341,15 +2326,40 @@ }, "require": { "php": ">=5.3.3" +======= + "version": "v1.20.0", + "version_normalized": "1.20.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "727d1096295d807c309fb01a851577302394c897" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/727d1096295d807c309fb01a851577302394c897", + "reference": "727d1096295d807c309fb01a851577302394c897", + "shasum": "" + }, + "require": { + "php": ">=7.1" +>>>>>>> master }, "suggest": { "ext-intl": "For best performance" }, +<<<<<<< HEAD "time": "2020-07-14 12:35:20", "type": "library", "extra": { "branch-alias": { "dev-master": "1.18-dev" +======= + "time": "2020-10-23T14:02:19+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.20-dev" +>>>>>>> master }, "thanks": { "name": "symfony/polyfill", @@ -1394,6 +2404,7 @@ ] }, { +<<<<<<< HEAD "name": "symfony/polyfill-intl-idn", "version": "v1.18.1", "version_normalized": "1.18.1.0", @@ -1422,6 +2433,30 @@ "extra": { "branch-alias": { "dev-master": "1.18-dev" +======= + "name": "symfony/polyfill-php72", + "version": "v1.20.0", + "version_normalized": "1.20.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "cede45fcdfabdd6043b3592e83678e42ec69e930" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/cede45fcdfabdd6043b3592e83678e42ec69e930", + "reference": "cede45fcdfabdd6043b3592e83678e42ec69e930", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "time": "2020-10-23T14:02:19+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.20-dev" +>>>>>>> master }, "thanks": { "name": "symfony/polyfill", @@ -1431,7 +2466,11 @@ "installation-source": "dist", "autoload": { "psr-4": { +<<<<<<< HEAD "Symfony\\Polyfill\\Intl\\Idn\\": "" +======= + "Symfony\\Polyfill\\Php72\\": "" +>>>>>>> master }, "files": [ "bootstrap.php" @@ -1443,30 +2482,43 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Laurent Bassin", "email": "laurent@bassin.info" }, { "name": "Trevor Rowbotham", "email": "trevor.rowbotham@pm.me" +======= + "name": "Nicolas Grekas", + "email": "p@tchwork.com" +>>>>>>> master }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], +<<<<<<< HEAD "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", "homepage": "https://symfony.com", "keywords": [ "compatibility", "idn", "intl", +======= + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", +>>>>>>> master "polyfill", "portable", "shim" ] }, { +<<<<<<< HEAD "name": "guzzlehttp/guzzle", "version": "6.5.5", "version_normalized": "6.5.5.0", @@ -1570,6 +2622,47 @@ "autoload": { "psr-4": { "Minishlink\\WebPush\\": "src" +======= + "name": "web-token/jwt-core", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", + "source": { + "type": "git", + "url": "https://github.com/web-token/jwt-core.git", + "reference": "30e9df9e040d933043b16237f9dba7a3be746566" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-token/jwt-core/zipball/30e9df9e040d933043b16237f9dba7a3be746566", + "reference": "30e9df9e040d933043b16237f9dba7a3be746566", + "shasum": "" + }, + "require": { + "ext-gmp": "*", + "ext-mbstring": "*", + "fgrosse/phpasn1": "^2.0", + "php": "^7.1", + "spomky-labs/base64url": "^1.0|^2.0", + "web-token/jwt-util-ecc": "^1.3" + }, + "conflict": { + "spomky-labs/jose": "*" + }, + "require-dev": { + "phpunit/phpunit": "^6.0|^7.0" + }, + "time": "2020-03-20T13:29:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Jose\\Component\\Core\\": "" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", @@ -1578,6 +2671,7 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Louis Lagrange", "email": "lagrange.louis@gmail.com", "homepage": "https://github.com/Minishlink" @@ -1623,12 +2717,83 @@ "extra": { "branch-alias": { "dev-master": "1.x-dev" +======= + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-core/contributors" + } + ], + "description": "Core component of the JWT Framework.", + "homepage": "https://github.com/web-token", + "keywords": [ + "JOSE", + "JWE", + "JWK", + "JWKSet", + "JWS", + "Jot", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "bundle", + "jwa", + "jwt", + "symfony" + ] + }, + { + "name": "web-token/jwt-key-mgmt", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", + "source": { + "type": "git", + "url": "https://github.com/web-token/jwt-key-mgmt.git", + "reference": "65b1e908e50b0e5be6b28135085d3c1097b81801" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-token/jwt-key-mgmt/zipball/65b1e908e50b0e5be6b28135085d3c1097b81801", + "reference": "65b1e908e50b0e5be6b28135085d3c1097b81801", + "shasum": "" + }, + "require": { + "lib-openssl": "*", + "paragonie/sodium_compat": "^1.2", + "web-token/jwt-core": "^1.3", + "web-token/jwt-util-ecc": "^1.3" + }, + "require-dev": { + "php-http/httplug": "^1.1", + "php-http/message-factory": "^1.0", + "php-http/mock-client": "^1.0", + "phpunit/phpunit": "^6.0|^7.0" + }, + "suggest": { + "php-http/httplug": "To enable JKU/X5U support.", + "php-http/message-factory": "To enable JKU/X5U support." + }, + "time": "2020-03-20T13:29:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" +>>>>>>> master } }, "installation-source": "dist", "autoload": { "psr-4": { +<<<<<<< HEAD "Composer\\CaBundle\\": "src" +======= + "Jose\\Component\\KeyManagement\\": "" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", @@ -1637,6 +2802,7 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Jordi Boggiano", "email": "j.boggiano@seld.be", "homepage": "http://seld.be" @@ -1684,10 +2850,87 @@ "psr-4": { "MaxMind\\Exception\\": "src/Exception", "MaxMind\\WebService\\": "src/WebService" +======= + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-key-mgmt/contributors" + } + ], + "description": "Key Management component of the JWT Framework.", + "homepage": "https://github.com/web-token", + "keywords": [ + "JOSE", + "JWE", + "JWK", + "JWKSet", + "JWS", + "Jot", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "bundle", + "jwa", + "jwt", + "symfony" + ] + }, + { + "name": "web-token/jwt-signature", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", + "source": { + "type": "git", + "url": "https://github.com/web-token/jwt-signature.git", + "reference": "00f23e997c9032536444f819bc3338ab475d69f9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-token/jwt-signature/zipball/00f23e997c9032536444f819bc3338ab475d69f9", + "reference": "00f23e997c9032536444f819bc3338ab475d69f9", + "shasum": "" + }, + "require": { + "web-token/jwt-core": "^1.3", + "web-token/jwt-signature-algorithm-ecdsa": "^1.3", + "web-token/jwt-signature-algorithm-eddsa": "^1.3", + "web-token/jwt-signature-algorithm-hmac": "^1.3", + "web-token/jwt-signature-algorithm-none": "^1.3", + "web-token/jwt-signature-algorithm-rsa": "^1.3" + }, + "require-dev": { + "phpunit/phpunit": "^6.0|^7.0" + }, + "suggest": { + "web-token/jwt-signature-algorithm-ecdsa": "ECDSA Based Signature Algorithms", + "web-token/jwt-signature-algorithm-eddsa": "EdDSA Based Signature Algorithms", + "web-token/jwt-signature-algorithm-experimental": "Experimental Signature Algorithms", + "web-token/jwt-signature-algorithm-hmac": "HMAC Based Signature Algorithms", + "web-token/jwt-signature-algorithm-none": "None Signature Algorithm", + "web-token/jwt-signature-algorithm-rsa": "RSA Based Signature Algorithms" + }, + "time": "2020-03-20T13:29:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Jose\\Component\\Signature\\": "" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", "license": [ +<<<<<<< HEAD "Apache-2.0" ], "authors": [ @@ -1738,10 +2981,78 @@ "autoload": { "psr-4": { "MaxMind\\Db\\": "src/MaxMind/Db" +======= + "MIT" + ], + "authors": [ + { + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-signature/contributors" + } + ], + "description": "Signature component of the JWT Framework.", + "homepage": "https://github.com/web-token", + "keywords": [ + "JOSE", + "JWE", + "JWK", + "JWKSet", + "JWS", + "Jot", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "bundle", + "jwa", + "jwt", + "symfony" + ] + }, + { + "name": "web-token/jwt-signature-algorithm-ecdsa", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", + "source": { + "type": "git", + "url": "https://github.com/web-token/jwt-signature-algorithm-ecdsa.git", + "reference": "a3babd3b82c29c739d426271ccb9dc1a56222e36" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-token/jwt-signature-algorithm-ecdsa/zipball/a3babd3b82c29c739d426271ccb9dc1a56222e36", + "reference": "a3babd3b82c29c739d426271ccb9dc1a56222e36", + "shasum": "" + }, + "require": { + "web-token/jwt-signature": "^1.3" + }, + "require-dev": { + "phpunit/phpunit": "^6.0|^7.0" + }, + "time": "2020-03-20T13:29:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Jose\\Component\\Signature\\Algorithm\\": "" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", "license": [ +<<<<<<< HEAD "Apache-2.0" ], "authors": [ @@ -1793,10 +3104,78 @@ "autoload": { "psr-4": { "GeoIp2\\": "src" +======= + "MIT" + ], + "authors": [ + { + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-core/contributors" + } + ], + "description": "ECDSA Based Signature Algorithms the JWT Framework.", + "homepage": "https://github.com/web-token", + "keywords": [ + "JOSE", + "JWE", + "JWK", + "JWKSet", + "JWS", + "Jot", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "bundle", + "jwa", + "jwt", + "symfony" + ] + }, + { + "name": "web-token/jwt-signature-algorithm-eddsa", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", + "source": { + "type": "git", + "url": "https://github.com/web-token/jwt-signature-algorithm-eddsa.git", + "reference": "b0dad134313b14b3ba077b63a7afcc2b38e5f793" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-token/jwt-signature-algorithm-eddsa/zipball/b0dad134313b14b3ba077b63a7afcc2b38e5f793", + "reference": "b0dad134313b14b3ba077b63a7afcc2b38e5f793", + "shasum": "" + }, + "require": { + "web-token/jwt-signature": "^1.3" + }, + "require-dev": { + "phpunit/phpunit": "^6.0|^7.0" + }, + "time": "2020-03-20T13:29:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Jose\\Component\\Signature\\Algorithm\\": "" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", "license": [ +<<<<<<< HEAD "Apache-2.0" ], "authors": [ @@ -1849,12 +3228,77 @@ "extra": { "branch-alias": { "dev-master": "2.0-dev" +======= + "MIT" + ], + "authors": [ + { + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-core/contributors" + } + ], + "description": "EdDSA Signature Algorithm the JWT Framework.", + "homepage": "https://github.com/web-token", + "keywords": [ + "JOSE", + "JWE", + "JWK", + "JWKSet", + "JWS", + "Jot", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "bundle", + "jwa", + "jwt", + "symfony" + ] + }, + { + "name": "web-token/jwt-signature-algorithm-hmac", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", + "source": { + "type": "git", + "url": "https://github.com/web-token/jwt-signature-algorithm-hmac.git", + "reference": "3bc85e1d13804902a8d81a11f58c28c9a471b5e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-token/jwt-signature-algorithm-hmac/zipball/3bc85e1d13804902a8d81a11f58c28c9a471b5e2", + "reference": "3bc85e1d13804902a8d81a11f58c28c9a471b5e2", + "shasum": "" + }, + "require": { + "web-token/jwt-signature": "^1.3" + }, + "require-dev": { + "phpunit/phpunit": "^6.0|^7.0" + }, + "time": "2020-03-20T13:29:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" +>>>>>>> master } }, "installation-source": "dist", "autoload": { "psr-4": { +<<<<<<< HEAD "Stripe\\": "lib/" +======= + "Jose\\Component\\Signature\\Algorithm\\": "" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", @@ -1863,6 +3307,7 @@ ], "authors": [ { +<<<<<<< HEAD "name": "Stripe and contributors", "homepage": "https://github.com/stripe/stripe-php/contributors" } @@ -1908,6 +3353,69 @@ "autoload": { "psr-4": { "Base64Url\\": "src/" +======= + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-core/contributors" + } + ], + "description": "HMAC Based Signature Algorithms the JWT Framework.", + "homepage": "https://github.com/web-token", + "keywords": [ + "JOSE", + "JWE", + "JWK", + "JWKSet", + "JWS", + "Jot", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "bundle", + "jwa", + "jwt", + "symfony" + ] + }, + { + "name": "web-token/jwt-signature-algorithm-none", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", + "source": { + "type": "git", + "url": "https://github.com/web-token/jwt-signature-algorithm-none.git", + "reference": "0391e160367e85846736e63ea6026e2dab667b6e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-token/jwt-signature-algorithm-none/zipball/0391e160367e85846736e63ea6026e2dab667b6e", + "reference": "0391e160367e85846736e63ea6026e2dab667b6e", + "shasum": "" + }, + "require": { + "web-token/jwt-signature": "^1.3" + }, + "require-dev": { + "phpunit/phpunit": "^6.0|^7.0" + }, + "time": "2020-03-20T13:29:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Jose\\Component\\Signature\\Algorithm\\": "" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", @@ -1917,6 +3425,7 @@ "authors": [ { "name": "Florent Morselli", +<<<<<<< HEAD "homepage": "https://github.com/Spomky-Labs/base64url/contributors" } ], @@ -1957,6 +3466,68 @@ "autoload": { "psr-4": { "PayPalHttp\\": "lib/PayPalHttp" +======= + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-core/contributors" + } + ], + "description": "None Signature Algorithm the JWT Framework.", + "homepage": "https://github.com/web-token", + "keywords": [ + "JOSE", + "JWE", + "JWK", + "JWKSet", + "JWS", + "Jot", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "bundle", + "jwa", + "jwt", + "symfony" + ] + }, + { + "name": "web-token/jwt-signature-algorithm-rsa", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", + "source": { + "type": "git", + "url": "https://github.com/web-token/jwt-signature-algorithm-rsa.git", + "reference": "344181ef6cdd3aca77f7ff7defc9fb502eb33ec0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-token/jwt-signature-algorithm-rsa/zipball/344181ef6cdd3aca77f7ff7defc9fb502eb33ec0", + "reference": "344181ef6cdd3aca77f7ff7defc9fb502eb33ec0", + "shasum": "" + }, + "require": { + "web-token/jwt-signature": "^1.3" + }, + "require-dev": { + "phpunit/phpunit": "^6.0|^7.0" + }, + "time": "2020-03-20T13:29:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Jose\\Component\\Signature\\Algorithm\\": "" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", @@ -1965,6 +3536,7 @@ ], "authors": [ { +<<<<<<< HEAD "name": "PayPal", "homepage": "https://github.com/paypal/paypalhttp_php/contributors" } @@ -1999,10 +3571,76 @@ "psr-4": { "PayPalCheckoutSdk\\": "lib/PayPalCheckoutSdk", "Sample\\": "samples/" +======= + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-core/contributors" + } + ], + "description": "RSA Based Signature Algorithms the JWT Framework.", + "homepage": "https://github.com/web-token", + "keywords": [ + "JOSE", + "JWE", + "JWK", + "JWKSet", + "JWS", + "Jot", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "bundle", + "jwa", + "jwt", + "symfony" + ] + }, + { + "name": "web-token/jwt-util-ecc", + "version": "v1.3.10", + "version_normalized": "1.3.10.0", + "source": { + "type": "git", + "url": "https://github.com/web-token/jwt-util-ecc.git", + "reference": "2011af8454561ebce06a77fcd681c29a252e0068" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/web-token/jwt-util-ecc/zipball/2011af8454561ebce06a77fcd681c29a252e0068", + "reference": "2011af8454561ebce06a77fcd681c29a252e0068", + "shasum": "" + }, + "require": { + "ext-gmp": "*", + "ext-mbstring": "*", + "php": "^7.1" + }, + "require-dev": { + "phpunit/phpunit": "^6.0|^7.0" + }, + "time": "2020-03-20T13:29:04+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Jose\\Component\\Core\\Util\\Ecc\\": "" +>>>>>>> master } }, "notification-url": "https://packagist.org/downloads/", "license": [ +<<<<<<< HEAD "https://github.com/paypal/Checkout-PHP-SDK/blob/master/LICENSE" ], "authors": [ @@ -2020,6 +3658,39 @@ "paypal", "rest", "sdk" +======= + "MIT" + ], + "authors": [ + { + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-core/contributors" + } + ], + "description": "ECC Tools for the JWT Framework.", + "homepage": "https://github.com/web-token", + "keywords": [ + "JOSE", + "JWE", + "JWK", + "JWKSet", + "JWS", + "Jot", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "bundle", + "jwa", + "jwt", + "symfony" +>>>>>>> master ] } ] diff --git a/vendor/fgrosse/phpasn1/CHANGELOG.md b/vendor/fgrosse/phpasn1/CHANGELOG.md index 053edc2dc..1b35625d0 100644 --- a/vendor/fgrosse/phpasn1/CHANGELOG.md +++ b/vendor/fgrosse/phpasn1/CHANGELOG.md @@ -1,3 +1,15 @@ +<<<<<<< HEAD +======= +#### v2.2.0 (2020-08) +* support polyfills for bcmath and gmp, and add a composer.json + suggestion for the `phpseclib/bcmath_polyfill` for servers unable + to install PHP the gmp or bcmath extensions. + +#### v.2.1.1 & &v.2.0.2 (2018-12) +* add stricter validation around some structures, highlighed + by wycheproof test suite + +>>>>>>> master #### v.2.1.0 (2018-03) * add support for `bcmath` extension (making `gmp` optional)
https://github.com/fgrosse/PHPASN1/pull/68 diff --git a/vendor/fgrosse/phpasn1/composer.json b/vendor/fgrosse/phpasn1/composer.json index 079e07e56..99a1ba68b 100644 --- a/vendor/fgrosse/phpasn1/composer.json +++ b/vendor/fgrosse/phpasn1/composer.json @@ -27,7 +27,13 @@ }, "suggest": { "ext-gmp": "GMP is the preferred extension for big integer calculations", +<<<<<<< HEAD "php-curl": "For loading OID information from the web if they have not bee defined statically" +======= + "ext-bcmath": "BCmath is the fallback extension for big integer calculations", + "phpseclib/bcmath_compat": "BCmath polyfill for servers where neither GMP nor BCmath is available", + "ext-curl": "For loading OID information from the web if they have not bee defined statically" +>>>>>>> master }, "autoload": { "psr-4": { diff --git a/vendor/fgrosse/phpasn1/lib/Utility/BigInteger.php b/vendor/fgrosse/phpasn1/lib/Utility/BigInteger.php index 77ab5575f..19b9c9205 100644 --- a/vendor/fgrosse/phpasn1/lib/Utility/BigInteger.php +++ b/vendor/fgrosse/phpasn1/lib/Utility/BigInteger.php @@ -53,6 +53,7 @@ abstract class BigInteger } else { // autodetect +<<<<<<< HEAD if (extension_loaded('gmp')) { $ret = new BigIntegerGmp(); } @@ -61,6 +62,14 @@ abstract class BigInteger } else { // TODO: potentially offer pure php implementation? +======= + if (function_exists('gmp_add')) { + $ret = new BigIntegerGmp(); + } + elseif (function_exists('bcadd')) { + $ret = new BigIntegerBcmath(); + } else { +>>>>>>> master throw new \RuntimeException('Requires GMP or bcmath extension.'); } } diff --git a/vendor/geoip2/geoip2/CHANGELOG.md b/vendor/geoip2/geoip2/CHANGELOG.md index 5af399874..4f2335aa8 100644 --- a/vendor/geoip2/geoip2/CHANGELOG.md +++ b/vendor/geoip2/geoip2/CHANGELOG.md @@ -1,6 +1,17 @@ CHANGELOG ========= +<<<<<<< HEAD +======= +2.11.0 (2020-10-01) +------------------- + +* IMPORTANT: PHP 7.2 or greater is now required. +* Added the `isResidentialProxy` property to `GeoIp2\Model\AnonymousIP` and + `GeoIp2\Record\Traits`. +* Additional type hints have been added. + +>>>>>>> master 2.10.0 (2019-12-12) ------------------- diff --git a/vendor/geoip2/geoip2/composer.json b/vendor/geoip2/geoip2/composer.json index a945d1ab8..e15ee0417 100644 --- a/vendor/geoip2/geoip2/composer.json +++ b/vendor/geoip2/geoip2/composer.json @@ -13,14 +13,24 @@ } ], "require": { +<<<<<<< HEAD "maxmind-db/reader": "~1.5", "maxmind/web-service-common": "~0.6", "php": ">=5.6", +======= + "maxmind-db/reader": "~1.8", + "maxmind/web-service-common": "~0.8", + "php": ">=7.2", +>>>>>>> master "ext-json": "*" }, "require-dev": { "friendsofphp/php-cs-fixer": "2.*", +<<<<<<< HEAD "phpunit/phpunit": "5.*", +======= + "phpunit/phpunit": "^8.0 || ^9.0", +>>>>>>> master "squizlabs/php_codesniffer": "3.*" }, "autoload": { diff --git a/vendor/geoip2/geoip2/src/Database/Reader.php b/vendor/geoip2/geoip2/src/Database/Reader.php index 813654753..79327ec09 100644 --- a/vendor/geoip2/geoip2/src/Database/Reader.php +++ b/vendor/geoip2/geoip2/src/Database/Reader.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Database; use GeoIp2\Exception\AddressNotFoundException; @@ -48,8 +53,13 @@ class Reader implements ProviderInterface * is corrupt or invalid */ public function __construct( +<<<<<<< HEAD $filename, $locales = ['en'] +======= + string $filename, + array $locales = ['en'] +>>>>>>> master ) { $this->dbReader = new DbReader($filename); $this->dbType = $this->dbReader->metadata()->databaseType; @@ -65,10 +75,15 @@ class Reader implements ProviderInterface * not in the database * @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database * is corrupt or invalid +<<<<<<< HEAD * * @return \GeoIp2\Model\City */ public function city($ipAddress) +======= + */ + public function city(string $ipAddress): \GeoIp2\Model\City +>>>>>>> master { return $this->modelFor('City', 'City', $ipAddress); } @@ -82,10 +97,15 @@ class Reader implements ProviderInterface * not in the database * @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database * is corrupt or invalid +<<<<<<< HEAD * * @return \GeoIp2\Model\Country */ public function country($ipAddress) +======= + */ + public function country(string $ipAddress): \GeoIp2\Model\Country +>>>>>>> master { return $this->modelFor('Country', 'Country', $ipAddress); } @@ -99,10 +119,15 @@ class Reader implements ProviderInterface * not in the database * @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database * is corrupt or invalid +<<<<<<< HEAD * * @return \GeoIp2\Model\AnonymousIp */ public function anonymousIp($ipAddress) +======= + */ + public function anonymousIp(string $ipAddress): \GeoIp2\Model\AnonymousIp +>>>>>>> master { return $this->flatModelFor( 'AnonymousIp', @@ -120,10 +145,15 @@ class Reader implements ProviderInterface * not in the database * @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database * is corrupt or invalid +<<<<<<< HEAD * * @return \GeoIp2\Model\Asn */ public function asn($ipAddress) +======= + */ + public function asn(string $ipAddress): \GeoIp2\Model\Asn +>>>>>>> master { return $this->flatModelFor( 'Asn', @@ -141,10 +171,15 @@ class Reader implements ProviderInterface * not in the database * @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database * is corrupt or invalid +<<<<<<< HEAD * * @return \GeoIp2\Model\ConnectionType */ public function connectionType($ipAddress) +======= + */ + public function connectionType(string $ipAddress): \GeoIp2\Model\ConnectionType +>>>>>>> master { return $this->flatModelFor( 'ConnectionType', @@ -162,10 +197,15 @@ class Reader implements ProviderInterface * not in the database * @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database * is corrupt or invalid +<<<<<<< HEAD * * @return \GeoIp2\Model\Domain */ public function domain($ipAddress) +======= + */ + public function domain(string $ipAddress): \GeoIp2\Model\Domain +>>>>>>> master { return $this->flatModelFor( 'Domain', @@ -183,10 +223,15 @@ class Reader implements ProviderInterface * not in the database * @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database * is corrupt or invalid +<<<<<<< HEAD * * @return \GeoIp2\Model\Enterprise */ public function enterprise($ipAddress) +======= + */ + public function enterprise(string $ipAddress): \GeoIp2\Model\Enterprise +>>>>>>> master { return $this->modelFor('Enterprise', 'Enterprise', $ipAddress); } @@ -200,10 +245,15 @@ class Reader implements ProviderInterface * not in the database * @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database * is corrupt or invalid +<<<<<<< HEAD * * @return \GeoIp2\Model\Isp */ public function isp($ipAddress) +======= + */ + public function isp(string $ipAddress): \GeoIp2\Model\Isp +>>>>>>> master { return $this->flatModelFor( 'Isp', @@ -212,7 +262,11 @@ class Reader implements ProviderInterface ); } +<<<<<<< HEAD private function modelFor($class, $type, $ipAddress) +======= + private function modelFor(string $class, string $type, string $ipAddress) +>>>>>>> master { list($record, $prefixLen) = $this->getRecord($class, $type, $ipAddress); @@ -224,7 +278,11 @@ class Reader implements ProviderInterface return new $class($record, $this->locales); } +<<<<<<< HEAD private function flatModelFor($class, $type, $ipAddress) +======= + private function flatModelFor(string $class, string $type, string $ipAddress) +>>>>>>> master { list($record, $prefixLen) = $this->getRecord($class, $type, $ipAddress); @@ -235,7 +293,11 @@ class Reader implements ProviderInterface return new $class($record); } +<<<<<<< HEAD private function getRecord($class, $type, $ipAddress) +======= + private function getRecord(string $class, string $type, string $ipAddress): array +>>>>>>> master { if (strpos($this->dbType, $type) === false) { $method = lcfirst($class); @@ -272,7 +334,11 @@ class Reader implements ProviderInterface * * @return \MaxMind\Db\Reader\Metadata object for the database */ +<<<<<<< HEAD public function metadata() +======= + public function metadata(): \MaxMind\Db\Reader\Metadata +>>>>>>> master { return $this->dbReader->metadata(); } @@ -280,7 +346,11 @@ class Reader implements ProviderInterface /** * Closes the GeoIP2 database and returns the resources to the system. */ +<<<<<<< HEAD public function close() +======= + public function close(): void +>>>>>>> master { $this->dbReader->close(); } diff --git a/vendor/geoip2/geoip2/src/Exception/AddressNotFoundException.php b/vendor/geoip2/geoip2/src/Exception/AddressNotFoundException.php index d5483388b..2168e4e88 100644 --- a/vendor/geoip2/geoip2/src/Exception/AddressNotFoundException.php +++ b/vendor/geoip2/geoip2/src/Exception/AddressNotFoundException.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Exception; /** diff --git a/vendor/geoip2/geoip2/src/Exception/AuthenticationException.php b/vendor/geoip2/geoip2/src/Exception/AuthenticationException.php index 2a8b592a7..aab3b59cb 100644 --- a/vendor/geoip2/geoip2/src/Exception/AuthenticationException.php +++ b/vendor/geoip2/geoip2/src/Exception/AuthenticationException.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Exception; /** diff --git a/vendor/geoip2/geoip2/src/Exception/GeoIp2Exception.php b/vendor/geoip2/geoip2/src/Exception/GeoIp2Exception.php index 7c4d7458b..952a4385a 100644 --- a/vendor/geoip2/geoip2/src/Exception/GeoIp2Exception.php +++ b/vendor/geoip2/geoip2/src/Exception/GeoIp2Exception.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Exception; /** diff --git a/vendor/geoip2/geoip2/src/Exception/HttpException.php b/vendor/geoip2/geoip2/src/Exception/HttpException.php index 62ec707ac..5b617619e 100644 --- a/vendor/geoip2/geoip2/src/Exception/HttpException.php +++ b/vendor/geoip2/geoip2/src/Exception/HttpException.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Exception; /** @@ -13,9 +18,15 @@ class HttpException extends GeoIp2Exception public $uri; public function __construct( +<<<<<<< HEAD $message, $httpStatus, $uri, +======= + string $message, + int $httpStatus, + string $uri, +>>>>>>> master \Exception $previous = null ) { $this->uri = $uri; diff --git a/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php b/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php index 6464bcbb1..dcce14884 100644 --- a/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php +++ b/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Exception; /** @@ -14,10 +19,17 @@ class InvalidRequestException extends HttpException public $error; public function __construct( +<<<<<<< HEAD $message, $error, $httpStatus, $uri, +======= + string $message, + string $error, + int $httpStatus, + string $uri, +>>>>>>> master \Exception $previous = null ) { $this->error = $error; diff --git a/vendor/geoip2/geoip2/src/Exception/OutOfQueriesException.php b/vendor/geoip2/geoip2/src/Exception/OutOfQueriesException.php index 87a6ade41..d2da593d5 100644 --- a/vendor/geoip2/geoip2/src/Exception/OutOfQueriesException.php +++ b/vendor/geoip2/geoip2/src/Exception/OutOfQueriesException.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Exception; /** diff --git a/vendor/geoip2/geoip2/src/Model/AbstractModel.php b/vendor/geoip2/geoip2/src/Model/AbstractModel.php index d4b9b70ff..31d64e58a 100644 --- a/vendor/geoip2/geoip2/src/Model/AbstractModel.php +++ b/vendor/geoip2/geoip2/src/Model/AbstractModel.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; /** @@ -11,20 +16,30 @@ abstract class AbstractModel implements \JsonSerializable /** * @ignore +<<<<<<< HEAD * * @param mixed $raw */ public function __construct($raw) +======= + */ + public function __construct(array $raw) +>>>>>>> master { $this->raw = $raw; } /** * @ignore +<<<<<<< HEAD * * @param mixed $field */ protected function get($field) +======= + */ + protected function get(string $field) +>>>>>>> master { if (isset($this->raw[$field])) { return $this->raw[$field]; @@ -38,10 +53,15 @@ abstract class AbstractModel implements \JsonSerializable /** * @ignore +<<<<<<< HEAD * * @param mixed $attr */ public function __get($attr) +======= + */ + public function __get(string $attr) +>>>>>>> master { if ($attr !== 'instance' && property_exists($this, $attr)) { return $this->$attr; @@ -52,15 +72,24 @@ abstract class AbstractModel implements \JsonSerializable /** * @ignore +<<<<<<< HEAD * * @param mixed $attr */ public function __isset($attr) +======= + */ + public function __isset(string $attr): bool +>>>>>>> master { return $attr !== 'instance' && isset($this->$attr); } +<<<<<<< HEAD public function jsonSerialize() +======= + public function jsonSerialize(): array +>>>>>>> master { return $this->raw; } diff --git a/vendor/geoip2/geoip2/src/Model/AnonymousIp.php b/vendor/geoip2/geoip2/src/Model/AnonymousIp.php index a8f946ee8..73286fb31 100644 --- a/vendor/geoip2/geoip2/src/Model/AnonymousIp.php +++ b/vendor/geoip2/geoip2/src/Model/AnonymousIp.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; use GeoIp2\Util; @@ -17,6 +22,11 @@ use GeoIp2\Util; * to a hosting or VPN provider (see description of isAnonymousVpn property). * @property-read bool $isPublicProxy This is true if the IP address belongs to * a public proxy. +<<<<<<< HEAD +======= + * @property-read bool $isResidentialProxy This is true if the IP address is + * on a suspected anonymizing network and belongs to a residential ISP. +>>>>>>> master * @property-read bool $isTorExitNode This is true if the IP address is a Tor * exit node. * @property-read string $ipAddress The IP address that the data in the model is @@ -31,16 +41,25 @@ class AnonymousIp extends AbstractModel protected $isAnonymousVpn; protected $isHostingProvider; protected $isPublicProxy; +<<<<<<< HEAD +======= + protected $isResidentialProxy; +>>>>>>> master protected $isTorExitNode; protected $ipAddress; protected $network; /** * @ignore +<<<<<<< HEAD * * @param mixed $raw */ public function __construct($raw) +======= + */ + public function __construct(array $raw) +>>>>>>> master { parent::__construct($raw); @@ -48,6 +67,10 @@ class AnonymousIp extends AbstractModel $this->isAnonymousVpn = $this->get('is_anonymous_vpn'); $this->isHostingProvider = $this->get('is_hosting_provider'); $this->isPublicProxy = $this->get('is_public_proxy'); +<<<<<<< HEAD +======= + $this->isResidentialProxy = $this->get('is_residential_proxy'); +>>>>>>> master $this->isTorExitNode = $this->get('is_tor_exit_node'); $ipAddress = $this->get('ip_address'); $this->ipAddress = $ipAddress; diff --git a/vendor/geoip2/geoip2/src/Model/Asn.php b/vendor/geoip2/geoip2/src/Model/Asn.php index 8e7c802ee..849940915 100644 --- a/vendor/geoip2/geoip2/src/Model/Asn.php +++ b/vendor/geoip2/geoip2/src/Model/Asn.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; use GeoIp2\Util; @@ -27,10 +32,15 @@ class Asn extends AbstractModel /** * @ignore +<<<<<<< HEAD * * @param mixed $raw */ public function __construct($raw) +======= + */ + public function __construct(array $raw) +>>>>>>> master { parent::__construct($raw); $this->autonomousSystemNumber = $this->get('autonomous_system_number'); diff --git a/vendor/geoip2/geoip2/src/Model/City.php b/vendor/geoip2/geoip2/src/Model/City.php index 3e78c4f14..dd1db0003 100644 --- a/vendor/geoip2/geoip2/src/Model/City.php +++ b/vendor/geoip2/geoip2/src/Model/City.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; /** @@ -48,11 +53,16 @@ class City extends Country /** * @ignore +<<<<<<< HEAD * * @param mixed $raw * @param mixed $locales */ public function __construct($raw, $locales = ['en']) +======= + */ + public function __construct(array $raw, array $locales = ['en']) +>>>>>>> master { parent::__construct($raw, $locales); @@ -63,7 +73,11 @@ class City extends Country $this->createSubdivisions($raw, $locales); } +<<<<<<< HEAD private function createSubdivisions($raw, $locales) +======= + private function createSubdivisions(array $raw, array $locales): void +>>>>>>> master { if (!isset($raw['subdivisions'])) { return; @@ -79,10 +93,15 @@ class City extends Country /** * @ignore +<<<<<<< HEAD * * @param mixed $attr */ public function __get($attr) +======= + */ + public function __get(string $attr) +>>>>>>> master { if ($attr === 'mostSpecificSubdivision') { return $this->$attr(); @@ -93,10 +112,15 @@ class City extends Country /** * @ignore +<<<<<<< HEAD * * @param mixed $attr */ public function __isset($attr) +======= + */ + public function __isset(string $attr): bool +>>>>>>> master { if ($attr === 'mostSpecificSubdivision') { // We always return a mostSpecificSubdivision, even if it is the @@ -107,7 +131,11 @@ class City extends Country return parent::__isset($attr); } +<<<<<<< HEAD private function mostSpecificSubdivision() +======= + private function mostSpecificSubdivision(): \GeoIp2\Record\Subdivision +>>>>>>> master { return empty($this->subdivisions) ? new \GeoIp2\Record\Subdivision([], $this->locales) : diff --git a/vendor/geoip2/geoip2/src/Model/ConnectionType.php b/vendor/geoip2/geoip2/src/Model/ConnectionType.php index 8091e26ce..861e5b22f 100644 --- a/vendor/geoip2/geoip2/src/Model/ConnectionType.php +++ b/vendor/geoip2/geoip2/src/Model/ConnectionType.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; use GeoIp2\Util; @@ -24,10 +29,15 @@ class ConnectionType extends AbstractModel /** * @ignore +<<<<<<< HEAD * * @param mixed $raw */ public function __construct($raw) +======= + */ + public function __construct(array $raw) +>>>>>>> master { parent::__construct($raw); diff --git a/vendor/geoip2/geoip2/src/Model/Country.php b/vendor/geoip2/geoip2/src/Model/Country.php index a589d25f4..e8da168c0 100644 --- a/vendor/geoip2/geoip2/src/Model/Country.php +++ b/vendor/geoip2/geoip2/src/Model/Country.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; /** @@ -39,11 +44,16 @@ class Country extends AbstractModel /** * @ignore +<<<<<<< HEAD * * @param mixed $raw * @param mixed $locales */ public function __construct($raw, $locales = ['en']) +======= + */ + public function __construct(array $raw, array $locales = ['en']) +>>>>>>> master { parent::__construct($raw); diff --git a/vendor/geoip2/geoip2/src/Model/Domain.php b/vendor/geoip2/geoip2/src/Model/Domain.php index 5e2cf346d..a121bf645 100644 --- a/vendor/geoip2/geoip2/src/Model/Domain.php +++ b/vendor/geoip2/geoip2/src/Model/Domain.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; use GeoIp2\Util; @@ -24,10 +29,15 @@ class Domain extends AbstractModel /** * @ignore +<<<<<<< HEAD * * @param mixed $raw */ public function __construct($raw) +======= + */ + public function __construct(array $raw) +>>>>>>> master { parent::__construct($raw); diff --git a/vendor/geoip2/geoip2/src/Model/Enterprise.php b/vendor/geoip2/geoip2/src/Model/Enterprise.php index c50fb81db..519853ed7 100644 --- a/vendor/geoip2/geoip2/src/Model/Enterprise.php +++ b/vendor/geoip2/geoip2/src/Model/Enterprise.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; /** diff --git a/vendor/geoip2/geoip2/src/Model/Insights.php b/vendor/geoip2/geoip2/src/Model/Insights.php index 61beb2ed6..3630b6ba8 100644 --- a/vendor/geoip2/geoip2/src/Model/Insights.php +++ b/vendor/geoip2/geoip2/src/Model/Insights.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; /** diff --git a/vendor/geoip2/geoip2/src/Model/Isp.php b/vendor/geoip2/geoip2/src/Model/Isp.php index 1a7b51538..e70b87737 100644 --- a/vendor/geoip2/geoip2/src/Model/Isp.php +++ b/vendor/geoip2/geoip2/src/Model/Isp.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Model; use GeoIp2\Util; @@ -33,10 +38,15 @@ class Isp extends AbstractModel /** * @ignore +<<<<<<< HEAD * * @param mixed $raw */ public function __construct($raw) +======= + */ + public function __construct(array $raw) +>>>>>>> master { parent::__construct($raw); $this->autonomousSystemNumber = $this->get('autonomous_system_number'); diff --git a/vendor/geoip2/geoip2/src/ProviderInterface.php b/vendor/geoip2/geoip2/src/ProviderInterface.php index 44851b07e..4fa25178f 100644 --- a/vendor/geoip2/geoip2/src/ProviderInterface.php +++ b/vendor/geoip2/geoip2/src/ProviderInterface.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2; interface ProviderInterface @@ -9,12 +14,20 @@ interface ProviderInterface * * @return \GeoIp2\Model\Country a Country model for the requested IP address */ +<<<<<<< HEAD public function country($ipAddress); +======= + public function country(string $ipAddress): \GeoIp2\Model\Country; +>>>>>>> master /** * @param string $ipAddress an IPv4 or IPv6 address to lookup * * @return \GeoIp2\Model\City a City model for the requested IP address */ +<<<<<<< HEAD public function city($ipAddress); +======= + public function city(string $ipAddress): \GeoIp2\Model\City; +>>>>>>> master } diff --git a/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php b/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php index 1e079c629..afbbf52b1 100644 --- a/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php +++ b/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; abstract class AbstractPlaceRecord extends AbstractRecord @@ -8,11 +13,16 @@ abstract class AbstractPlaceRecord extends AbstractRecord /** * @ignore +<<<<<<< HEAD * * @param mixed $record * @param mixed $locales */ public function __construct($record, $locales = ['en']) +======= + */ + public function __construct(?array $record, array $locales = ['en']) +>>>>>>> master { $this->locales = $locales; parent::__construct($record); @@ -20,10 +30,15 @@ abstract class AbstractPlaceRecord extends AbstractRecord /** * @ignore +<<<<<<< HEAD * * @param mixed $attr */ public function __get($attr) +======= + */ + public function __get(string $attr) +>>>>>>> master { if ($attr === 'name') { return $this->name(); @@ -34,6 +49,7 @@ abstract class AbstractPlaceRecord extends AbstractRecord /** * @ignore +<<<<<<< HEAD * * @param mixed $attr */ @@ -41,19 +57,34 @@ abstract class AbstractPlaceRecord extends AbstractRecord { if ($attr === 'name') { return $this->firstSetNameLocale() === null ? false : true; +======= + */ + public function __isset(string $attr): bool + { + if ($attr === 'name') { + return $this->firstSetNameLocale() !== null; +>>>>>>> master } return parent::__isset($attr); } +<<<<<<< HEAD private function name() +======= + private function name(): ?string +>>>>>>> master { $locale = $this->firstSetNameLocale(); return $locale === null ? null : $this->names[$locale]; } +<<<<<<< HEAD private function firstSetNameLocale() +======= + private function firstSetNameLocale(): ?string +>>>>>>> master { foreach ($this->locales as $locale) { if (isset($this->names[$locale])) { diff --git a/vendor/geoip2/geoip2/src/Record/AbstractRecord.php b/vendor/geoip2/geoip2/src/Record/AbstractRecord.php index dad2fd3f3..09c52aa7b 100644 --- a/vendor/geoip2/geoip2/src/Record/AbstractRecord.php +++ b/vendor/geoip2/geoip2/src/Record/AbstractRecord.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; abstract class AbstractRecord implements \JsonSerializable @@ -8,20 +13,30 @@ abstract class AbstractRecord implements \JsonSerializable /** * @ignore +<<<<<<< HEAD * * @param mixed $record */ public function __construct($record) +======= + */ + public function __construct(?array $record) +>>>>>>> master { $this->record = isset($record) ? $record : []; } /** * @ignore +<<<<<<< HEAD * * @param mixed $attr */ public function __get($attr) +======= + */ + public function __get(string $attr) +>>>>>>> master { // XXX - kind of ugly but greatly reduces boilerplate code $key = $this->attributeToKey($attr); @@ -38,23 +53,39 @@ abstract class AbstractRecord implements \JsonSerializable throw new \RuntimeException("Unknown attribute: $attr"); } +<<<<<<< HEAD public function __isset($attr) +======= + public function __isset(string $attr): bool +>>>>>>> master { return $this->validAttribute($attr) && isset($this->record[$this->attributeToKey($attr)]); } +<<<<<<< HEAD private function attributeToKey($attr) +======= + private function attributeToKey(string $attr): string +>>>>>>> master { return strtolower(preg_replace('/([A-Z])/', '_\1', $attr)); } +<<<<<<< HEAD private function validAttribute($attr) +======= + private function validAttribute(string $attr): bool +>>>>>>> master { return \in_array($attr, $this->validAttributes, true); } +<<<<<<< HEAD public function jsonSerialize() +======= + public function jsonSerialize(): ?array +>>>>>>> master { return $this->record; } diff --git a/vendor/geoip2/geoip2/src/Record/City.php b/vendor/geoip2/geoip2/src/Record/City.php index 7f495ad7c..55966edb2 100644 --- a/vendor/geoip2/geoip2/src/Record/City.php +++ b/vendor/geoip2/geoip2/src/Record/City.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; /** diff --git a/vendor/geoip2/geoip2/src/Record/Continent.php b/vendor/geoip2/geoip2/src/Record/Continent.php index c6b17056e..87753cb84 100644 --- a/vendor/geoip2/geoip2/src/Record/Continent.php +++ b/vendor/geoip2/geoip2/src/Record/Continent.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; /** diff --git a/vendor/geoip2/geoip2/src/Record/Country.php b/vendor/geoip2/geoip2/src/Record/Country.php index ff9ecc7cd..8549e336d 100644 --- a/vendor/geoip2/geoip2/src/Record/Country.php +++ b/vendor/geoip2/geoip2/src/Record/Country.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; /** diff --git a/vendor/geoip2/geoip2/src/Record/Location.php b/vendor/geoip2/geoip2/src/Record/Location.php index b59b3ee70..02e926a40 100644 --- a/vendor/geoip2/geoip2/src/Record/Location.php +++ b/vendor/geoip2/geoip2/src/Record/Location.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; /** diff --git a/vendor/geoip2/geoip2/src/Record/MaxMind.php b/vendor/geoip2/geoip2/src/Record/MaxMind.php index 2e2cc0024..e8a79c2be 100644 --- a/vendor/geoip2/geoip2/src/Record/MaxMind.php +++ b/vendor/geoip2/geoip2/src/Record/MaxMind.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; /** diff --git a/vendor/geoip2/geoip2/src/Record/Postal.php b/vendor/geoip2/geoip2/src/Record/Postal.php index 69508c782..69e1cee55 100644 --- a/vendor/geoip2/geoip2/src/Record/Postal.php +++ b/vendor/geoip2/geoip2/src/Record/Postal.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; /** diff --git a/vendor/geoip2/geoip2/src/Record/RepresentedCountry.php b/vendor/geoip2/geoip2/src/Record/RepresentedCountry.php index bc79ee157..80d7be176 100644 --- a/vendor/geoip2/geoip2/src/Record/RepresentedCountry.php +++ b/vendor/geoip2/geoip2/src/Record/RepresentedCountry.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; /** diff --git a/vendor/geoip2/geoip2/src/Record/Subdivision.php b/vendor/geoip2/geoip2/src/Record/Subdivision.php index 74ae3e2ca..fa4a0a4e4 100644 --- a/vendor/geoip2/geoip2/src/Record/Subdivision.php +++ b/vendor/geoip2/geoip2/src/Record/Subdivision.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; /** diff --git a/vendor/geoip2/geoip2/src/Record/Traits.php b/vendor/geoip2/geoip2/src/Record/Traits.php index e6b798f41..591865716 100644 --- a/vendor/geoip2/geoip2/src/Record/Traits.php +++ b/vendor/geoip2/geoip2/src/Record/Traits.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\Record; use GeoIp2\Util; @@ -56,6 +61,12 @@ use GeoIp2\Util; * @property-read bool $isPublicProxy This is true if the IP address belongs to * a public proxy. This property is only available from GeoIP2 Precision * Insights. +<<<<<<< HEAD +======= + * @property-read bool $isResidentialProxy This is true if the IP address is + * on a suspected anonymizing network and belongs to a residential ISP. This + * property is only available from GeoIP2 Precision Insights. +>>>>>>> master * @property-read bool $isSatelliteProvider *Deprecated.* Due to the * increased coverage by mobile carriers, very few satellite providers now * serve multiple countries. As a result, the output does not provide @@ -120,6 +131,10 @@ class Traits extends AbstractRecord 'isLegitimateProxy', 'isp', 'isPublicProxy', +<<<<<<< HEAD +======= + 'isResidentialProxy', +>>>>>>> master 'isSatelliteProvider', 'isTorExitNode', 'network', @@ -129,7 +144,11 @@ class Traits extends AbstractRecord 'userType', ]; +<<<<<<< HEAD public function __construct($record) +======= + public function __construct(?array $record) +>>>>>>> master { if (!isset($record['network']) && isset($record['ip_address']) && isset($record['prefix_len'])) { $record['network'] = Util::cidr($record['ip_address'], $record['prefix_len']); diff --git a/vendor/geoip2/geoip2/src/Util.php b/vendor/geoip2/geoip2/src/Util.php index c158fb551..215ca7403 100644 --- a/vendor/geoip2/geoip2/src/Util.php +++ b/vendor/geoip2/geoip2/src/Util.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2; class Util @@ -10,11 +15,16 @@ class Util * * @internal * @ignore +<<<<<<< HEAD * * @param mixed $ipAddress * @param mixed $prefixLen */ public static function cidr($ipAddress, $prefixLen) +======= + */ + public static function cidr(string $ipAddress, int $prefixLen): string +>>>>>>> master { $ipBytes = inet_pton($ipAddress); $networkBytes = str_repeat("\0", \strlen($ipBytes)); diff --git a/vendor/geoip2/geoip2/src/WebService/Client.php b/vendor/geoip2/geoip2/src/WebService/Client.php index e7708cec4..c48ef3310 100644 --- a/vendor/geoip2/geoip2/src/WebService/Client.php +++ b/vendor/geoip2/geoip2/src/WebService/Client.php @@ -1,5 +1,10 @@ >>>>>> master namespace GeoIp2\WebService; use GeoIp2\Exception\AddressNotFoundException; @@ -47,7 +52,11 @@ class Client implements ProviderInterface private $client; private static $basePath = '/geoip/v2.1'; +<<<<<<< HEAD const VERSION = 'v2.10.0'; +======= + const VERSION = 'v2.11.0'; +>>>>>>> master /** * Constructor. @@ -65,10 +74,17 @@ class Client implements ProviderInterface * `http://username:password@127.0.0.1:10`. */ public function __construct( +<<<<<<< HEAD $accountId, $licenseKey, $locales = ['en'], $options = [] +======= + int $accountId, + string $licenseKey, + array $locales = ['en'], + array $options = [] +>>>>>>> master ) { $this->locales = $locales; @@ -87,7 +103,11 @@ class Client implements ProviderInterface $this->client = new WsClient($accountId, $licenseKey, $options); } +<<<<<<< HEAD private function userAgent() +======= + private function userAgent(): string +>>>>>>> master { return 'GeoIP2-API/' . self::VERSION; } @@ -115,10 +135,15 @@ class Client implements ProviderInterface * @throws \GeoIp2\Exception\GeoIp2Exception This serves as the parent * class to the above exceptions. It will be thrown directly * if a 200 status code is returned but the body is invalid. +<<<<<<< HEAD * * @return \GeoIp2\Model\City */ public function city($ipAddress = 'me') +======= + */ + public function city(string $ipAddress = 'me'): \GeoIp2\Model\City +>>>>>>> master { return $this->responseFor('city', 'City', $ipAddress); } @@ -146,10 +171,15 @@ class Client implements ProviderInterface * @throws \GeoIp2\Exception\GeoIp2Exception This serves as the parent class to the above exceptions. It * will be thrown directly if a 200 status code is returned but * the body is invalid. +<<<<<<< HEAD * * @return \GeoIp2\Model\Country */ public function country($ipAddress = 'me') +======= + */ + public function country(string $ipAddress = 'me'): \GeoIp2\Model\Country +>>>>>>> master { return $this->responseFor('country', 'Country', $ipAddress); } @@ -177,15 +207,24 @@ class Client implements ProviderInterface * @throws \GeoIp2\Exception\GeoIp2Exception This serves as the parent * class to the above exceptions. It will be thrown directly * if a 200 status code is returned but the body is invalid. +<<<<<<< HEAD * * @return \GeoIp2\Model\Insights */ public function insights($ipAddress = 'me') +======= + */ + public function insights(string $ipAddress = 'me'): \GeoIp2\Model\Insights +>>>>>>> master { return $this->responseFor('insights', 'Insights', $ipAddress); } +<<<<<<< HEAD private function responseFor($endpoint, $class, $ipAddress) +======= + private function responseFor(string $endpoint, string $class, string $ipAddress) +>>>>>>> master { $path = implode('/', [self::$basePath, $endpoint, $ipAddress]); diff --git a/vendor/guzzlehttp/promises/CHANGELOG.md b/vendor/guzzlehttp/promises/CHANGELOG.md index 551929f6b..0da6ad438 100644 --- a/vendor/guzzlehttp/promises/CHANGELOG.md +++ b/vendor/guzzlehttp/promises/CHANGELOG.md @@ -1,6 +1,25 @@ # CHANGELOG +<<<<<<< HEAD +======= +## 1.4.0 - 2020-09-30 + +### Added + +- Support for PHP 8 +- Optional `$recursive` flag to `all` +- Replaced functions by static methods + +### Fixed + +- Fix empty `each` processing +- Fix promise handling for Iterators of non-unique keys +- Fixed `method_exists` crashes on PHP 8 +- Memory leak on exceptions + + +>>>>>>> master ## 1.3.1 - 2016-12-20 ### Fixed diff --git a/vendor/guzzlehttp/promises/README.md b/vendor/guzzlehttp/promises/README.md index 7b607e28b..da0aa24d0 100644 --- a/vendor/guzzlehttp/promises/README.md +++ b/vendor/guzzlehttp/promises/README.md @@ -26,7 +26,11 @@ for a general introduction to promises. - Promises can be cancelled. - Works with any object that has a `then` function. - C# style async/await coroutine promises using +<<<<<<< HEAD `GuzzleHttp\Promise\coroutine()`. +======= + `GuzzleHttp\Promise\Coroutine::of()`. +>>>>>>> master # Quick start @@ -88,7 +92,11 @@ $promise }); // Resolving the promise triggers the $onFulfilled callbacks and outputs +<<<<<<< HEAD // "Hello, reader". +======= +// "Hello, reader." +>>>>>>> master $promise->resolve('reader.'); ``` @@ -150,7 +158,11 @@ use GuzzleHttp\Promise\Promise; $promise = new Promise(); $promise->then(null, function ($reason) { +<<<<<<< HEAD throw new \Exception($reason); +======= + throw new Exception($reason); +>>>>>>> master })->then(null, function ($reason) { assert($reason->getMessage() === 'Error!'); }); @@ -182,7 +194,10 @@ invoked using the value returned from the `$onRejected` callback. ```php use GuzzleHttp\Promise\Promise; +<<<<<<< HEAD use GuzzleHttp\Promise\RejectedPromise; +======= +>>>>>>> master $promise = new Promise(); $promise @@ -220,7 +235,11 @@ the promise is rejected with the exception and the exception is thrown. ```php $promise = new Promise(function () use (&$promise) { +<<<<<<< HEAD throw new \Exception('foo'); +======= + throw new Exception('foo'); +>>>>>>> master }); $promise->wait(); // throws the exception. @@ -397,7 +416,11 @@ $deferred = new React\Promise\Deferred(); $reactPromise = $deferred->promise(); // Create a Guzzle promise that is fulfilled with a React promise. +<<<<<<< HEAD $guzzlePromise = new \GuzzleHttp\Promise\Promise(); +======= +$guzzlePromise = new GuzzleHttp\Promise\Promise(); +>>>>>>> master $guzzlePromise->then(function ($value) use ($reactPromise) { // Do something something with the value... // Return the React promise @@ -424,7 +447,11 @@ instance. ```php // Get the global task queue +<<<<<<< HEAD $queue = \GuzzleHttp\Promise\queue(); +======= +$queue = GuzzleHttp\Promise\Utils::queue(); +>>>>>>> master $queue->run(); ``` @@ -502,3 +529,35 @@ $promise->then(function ($value) { echo $value; }); $promise->resolve('foo'); // prints "foo" ``` +<<<<<<< HEAD +======= + + +## Upgrading from Function API + +A 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: + +| Original Function | Replacement Method | +|----------------|----------------| +| `queue` | `Utils::queue` | +| `task` | `Utils::task` | +| `promise_for` | `Create::promiseFor` | +| `rejection_for` | `Create::rejectionFor` | +| `exception_for` | `Create::exceptionFor` | +| `iter_for` | `Create::iterFor` | +| `inspect` | `Utils::inspect` | +| `inspect_all` | `Utils::inspectAll` | +| `unwrap` | `Utils::unwrap` | +| `all` | `Utils::all` | +| `some` | `Utils::some` | +| `any` | `Utils::any` | +| `settle` | `Utils::settle` | +| `each` | `Each::of` | +| `each_limit` | `Each::ofLimit` | +| `each_limit_all` | `Each::ofLimitAll` | +| `!is_fulfilled` | `Is::pending` | +| `is_fulfilled` | `Is::fulfilled` | +| `is_rejected` | `Is::rejected` | +| `is_settled` | `Is::settled` | +| `coroutine` | `Coroutine::of` | +>>>>>>> master diff --git a/vendor/guzzlehttp/promises/composer.json b/vendor/guzzlehttp/promises/composer.json index ec41a61e6..390d34cf9 100644 --- a/vendor/guzzlehttp/promises/composer.json +++ b/vendor/guzzlehttp/promises/composer.json @@ -11,10 +11,17 @@ } ], "require": { +<<<<<<< HEAD "php": ">=5.5.0" }, "require-dev": { "phpunit/phpunit": "^4.0" +======= + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" +>>>>>>> master }, "autoload": { "psr-4": { @@ -22,9 +29,20 @@ }, "files": ["src/functions_include.php"] }, +<<<<<<< HEAD "scripts": { "test": "vendor/bin/phpunit", "test-ci": "vendor/bin/phpunit --coverage-text" +======= + "autoload-dev": { + "psr-4": { + "GuzzleHttp\\Promise\\Tests\\": "tests/" + } + }, + "scripts": { + "test": "vendor/bin/simple-phpunit", + "test-ci": "vendor/bin/simple-phpunit --coverage-text" +>>>>>>> master }, "extra": { "branch-alias": { diff --git a/vendor/guzzlehttp/promises/src/AggregateException.php b/vendor/guzzlehttp/promises/src/AggregateException.php index 6a5690c37..6143948cf 100644 --- a/vendor/guzzlehttp/promises/src/AggregateException.php +++ b/vendor/guzzlehttp/promises/src/AggregateException.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** diff --git a/vendor/guzzlehttp/promises/src/CancellationException.php b/vendor/guzzlehttp/promises/src/CancellationException.php index cb360b805..8c2cdea48 100644 --- a/vendor/guzzlehttp/promises/src/CancellationException.php +++ b/vendor/guzzlehttp/promises/src/CancellationException.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** diff --git a/vendor/guzzlehttp/promises/src/Coroutine.php b/vendor/guzzlehttp/promises/src/Coroutine.php index 6aa095870..36b2de87e 100644 --- a/vendor/guzzlehttp/promises/src/Coroutine.php +++ b/vendor/guzzlehttp/promises/src/Coroutine.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; use Exception; @@ -9,7 +13,11 @@ use Throwable; * Creates a promise that is resolved using a generator that yields values or * promises (somewhat similar to C#'s async keyword). * +<<<<<<< HEAD * When called, the coroutine function will start an instance of the generator +======= + * When called, the Coroutine::of method will start an instance of the generator +>>>>>>> master * and returns a promise that is fulfilled with its final yielded value. * * Control is returned back to the generator when the yielded promise settles. @@ -22,7 +30,11 @@ use Throwable; * return new Promise\FulfilledPromise($value); * } * +<<<<<<< HEAD * $promise = Promise\coroutine(function () { +======= + * $promise = Promise\Coroutine::of(function () { +>>>>>>> master * $value = (yield createPromise('a')); * try { * $value = (yield createPromise($value . 'b')); @@ -38,6 +50,10 @@ use Throwable; * @param callable $generatorFn Generator function to wrap into a promise. * * @return Promise +<<<<<<< HEAD +======= + * +>>>>>>> master * @link https://github.com/petkaantonov/bluebird/blob/master/API.md#generators inspiration */ final class Coroutine implements PromiseInterface @@ -65,7 +81,27 @@ final class Coroutine implements PromiseInterface $this->currentPromise->wait(); } }); +<<<<<<< HEAD $this->nextCoroutine($this->generator->current()); +======= + try { + $this->nextCoroutine($this->generator->current()); + } catch (\Exception $exception) { + $this->result->reject($exception); + } catch (Throwable $throwable) { + $this->result->reject($throwable); + } + } + + /** + * Create a new coroutine. + * + * @return self + */ + public static function of(callable $generatorFn) + { + return new self($generatorFn); +>>>>>>> master } public function then( @@ -108,7 +144,11 @@ final class Coroutine implements PromiseInterface private function nextCoroutine($yielded) { +<<<<<<< HEAD $this->currentPromise = promise_for($yielded) +======= + $this->currentPromise = Create::promiseFor($yielded) +>>>>>>> master ->then([$this, '_handleSuccess'], [$this, '_handleFailure']); } @@ -139,7 +179,11 @@ final class Coroutine implements PromiseInterface { unset($this->currentPromise); try { +<<<<<<< HEAD $nextYield = $this->generator->throw(exception_for($reason)); +======= + $nextYield = $this->generator->throw(Create::exceptionFor($reason)); +>>>>>>> master // The throw was caught, so keep iterating on the coroutine $this->nextCoroutine($nextYield); } catch (Exception $exception) { diff --git a/vendor/guzzlehttp/promises/src/EachPromise.php b/vendor/guzzlehttp/promises/src/EachPromise.php index d0ddf603f..d3c8539e4 100644 --- a/vendor/guzzlehttp/promises/src/EachPromise.php +++ b/vendor/guzzlehttp/promises/src/EachPromise.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** @@ -9,6 +13,7 @@ class EachPromise implements PromisorInterface { private $pending = []; +<<<<<<< HEAD /** @var \Iterator */ private $iterable; @@ -25,6 +30,24 @@ class EachPromise implements PromisorInterface private $aggregate; /** @var bool */ +======= + /** @var \Iterator|null */ + private $iterable; + + /** @var callable|int|null */ + private $concurrency; + + /** @var callable|null */ + private $onFulfilled; + + /** @var callable|null */ + private $onRejected; + + /** @var Promise|null */ + private $aggregate; + + /** @var bool|null */ +>>>>>>> master private $mutex; /** @@ -45,12 +68,21 @@ class EachPromise implements PromisorInterface * allowed number of outstanding concurrently executing promises, * creating a capped pool of promises. There is no limit by default. * +<<<<<<< HEAD * @param mixed $iterable Promises or values to iterate. * @param array $config Configuration options */ public function __construct($iterable, array $config = []) { $this->iterable = iter_for($iterable); +======= + * @param mixed $iterable Promises or values to iterate. + * @param array $config Configuration options + */ + public function __construct($iterable, array $config = []) + { + $this->iterable = Create::iterFor($iterable); +>>>>>>> master if (isset($config['concurrency'])) { $this->concurrency = $config['concurrency']; @@ -65,6 +97,10 @@ class EachPromise implements PromisorInterface } } +<<<<<<< HEAD +======= + /** @psalm-suppress InvalidNullableReturnType */ +>>>>>>> master public function promise() { if ($this->aggregate) { @@ -73,6 +109,7 @@ class EachPromise implements PromisorInterface try { $this->createPromise(); +<<<<<<< HEAD $this->iterable->rewind(); $this->refillPending(); } catch (\Throwable $e) { @@ -81,6 +118,31 @@ class EachPromise implements PromisorInterface $this->aggregate->reject($e); } +======= + /** @psalm-assert Promise $this->aggregate */ + $this->iterable->rewind(); + if (!$this->checkIfFinished()) { + $this->refillPending(); + } + } catch (\Throwable $e) { + /** + * @psalm-suppress NullReference + * @phpstan-ignore-next-line + */ + $this->aggregate->reject($e); + } catch (\Exception $e) { + /** + * @psalm-suppress NullReference + * @phpstan-ignore-next-line + */ + $this->aggregate->reject($e); + } + + /** + * @psalm-suppress NullableReturnStatement + * @phpstan-ignore-next-line + */ +>>>>>>> master return $this->aggregate; } @@ -89,17 +151,24 @@ class EachPromise implements PromisorInterface $this->mutex = false; $this->aggregate = new Promise(function () { reset($this->pending); +<<<<<<< HEAD if (empty($this->pending) && !$this->iterable->valid()) { $this->aggregate->resolve(null); return; } +======= +>>>>>>> master // Consume a potentially fluctuating list of promises while // ensuring that indexes are maintained (precluding array_shift). while ($promise = current($this->pending)) { next($this->pending); $promise->wait(); +<<<<<<< HEAD if ($this->aggregate->getState() !== PromiseInterface::PENDING) { +======= + if (Is::settled($this->aggregate)) { +>>>>>>> master return; } } @@ -148,6 +217,7 @@ class EachPromise implements PromisorInterface return false; } +<<<<<<< HEAD $promise = promise_for($this->iterable->current()); $idx = $this->iterable->key(); @@ -156,14 +226,43 @@ class EachPromise implements PromisorInterface if ($this->onFulfilled) { call_user_func( $this->onFulfilled, $value, $idx, $this->aggregate +======= + $promise = Create::promiseFor($this->iterable->current()); + $key = $this->iterable->key(); + + // Iterable keys may not be unique, so we add the promises at the end + // of the pending array and retrieve the array index being used + $this->pending[] = null; + end($this->pending); + $idx = key($this->pending); + + $this->pending[$idx] = $promise->then( + function ($value) use ($idx, $key) { + if ($this->onFulfilled) { + call_user_func( + $this->onFulfilled, + $value, + $key, + $this->aggregate +>>>>>>> master ); } $this->step($idx); }, +<<<<<<< HEAD function ($reason) use ($idx) { if ($this->onRejected) { call_user_func( $this->onRejected, $reason, $idx, $this->aggregate +======= + function ($reason) use ($idx, $key) { + if ($this->onRejected) { + call_user_func( + $this->onRejected, + $reason, + $key, + $this->aggregate +>>>>>>> master ); } $this->step($idx); @@ -201,7 +300,11 @@ class EachPromise implements PromisorInterface private function step($idx) { // If the promise was already resolved, then ignore this step. +<<<<<<< HEAD if ($this->aggregate->getState() !== PromiseInterface::PENDING) { +======= + if (Is::settled($this->aggregate)) { +>>>>>>> master return; } diff --git a/vendor/guzzlehttp/promises/src/FulfilledPromise.php b/vendor/guzzlehttp/promises/src/FulfilledPromise.php index dbbeeb9f7..28628957e 100644 --- a/vendor/guzzlehttp/promises/src/FulfilledPromise.php +++ b/vendor/guzzlehttp/promises/src/FulfilledPromise.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** @@ -13,9 +17,16 @@ class FulfilledPromise implements PromiseInterface public function __construct($value) { +<<<<<<< HEAD if (method_exists($value, 'then')) { throw new \InvalidArgumentException( 'You cannot create a FulfilledPromise with a promise.'); +======= + if (is_object($value) && method_exists($value, 'then')) { + throw new \InvalidArgumentException( + 'You cannot create a FulfilledPromise with a promise.' + ); +>>>>>>> master } $this->value = $value; @@ -30,11 +41,19 @@ class FulfilledPromise implements PromiseInterface return $this; } +<<<<<<< HEAD $queue = queue(); $p = new Promise([$queue, 'run']); $value = $this->value; $queue->add(static function () use ($p, $value, $onFulfilled) { if ($p->getState() === self::PENDING) { +======= + $queue = Utils::queue(); + $p = new Promise([$queue, 'run']); + $value = $this->value; + $queue->add(static function () use ($p, $value, $onFulfilled) { + if (Is::pending($p)) { +>>>>>>> master try { $p->resolve($onFulfilled($value)); } catch (\Throwable $e) { diff --git a/vendor/guzzlehttp/promises/src/Promise.php b/vendor/guzzlehttp/promises/src/Promise.php index 844ada073..f41a39c2f 100644 --- a/vendor/guzzlehttp/promises/src/Promise.php +++ b/vendor/guzzlehttp/promises/src/Promise.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** @@ -41,14 +45,23 @@ class Promise implements PromiseInterface // Return a fulfilled promise and immediately invoke any callbacks. if ($this->state === self::FULFILLED) { +<<<<<<< HEAD return $onFulfilled ? promise_for($this->result)->then($onFulfilled) : promise_for($this->result); +======= + $promise = Create::promiseFor($this->result); + return $onFulfilled ? $promise->then($onFulfilled) : $promise; +>>>>>>> master } // It's either cancelled or rejected, so return a rejected promise // and immediately invoke any callbacks. +<<<<<<< HEAD $rejection = rejection_for($this->result); +======= + $rejection = Create::rejectionFor($this->result); +>>>>>>> master return $onRejected ? $rejection->then(null, $onRejected) : $rejection; } @@ -61,6 +74,7 @@ class Promise implements PromiseInterface { $this->waitIfPending(); +<<<<<<< HEAD $inner = $this->result instanceof PromiseInterface ? $this->result->wait($unwrap) : $this->result; @@ -74,6 +88,17 @@ class Promise implements PromiseInterface // It's rejected so "unwrap" and throw an exception. throw exception_for($inner); } +======= + if ($this->result instanceof PromiseInterface) { + return $this->result->wait($unwrap); + } + if ($unwrap) { + if ($this->state === self::FULFILLED) { + return $this->result; + } + // It's rejected so "unwrap" and throw an exception. + throw Create::exceptionFor($this->result); +>>>>>>> master } } @@ -103,6 +128,10 @@ class Promise implements PromiseInterface } // Reject the promise only if it wasn't rejected in a then callback. +<<<<<<< HEAD +======= + /** @psalm-suppress RedundantCondition */ +>>>>>>> master if ($this->state === self::PENDING) { $this->reject(new CancellationException('Promise has been cancelled')); } @@ -148,17 +177,28 @@ class Promise implements PromiseInterface // If the value was not a settled promise or a thenable, then resolve // it in the task queue using the correct ID. +<<<<<<< HEAD if (!method_exists($value, 'then')) { $id = $state === self::FULFILLED ? 1 : 2; // It's a success, so resolve the handlers in the queue. queue()->add(static function () use ($id, $value, $handlers) { +======= + if (!is_object($value) || !method_exists($value, 'then')) { + $id = $state === self::FULFILLED ? 1 : 2; + // It's a success, so resolve the handlers in the queue. + Utils::queue()->add(static function () use ($id, $value, $handlers) { +>>>>>>> master foreach ($handlers as $handler) { self::callHandler($id, $value, $handler); } }); +<<<<<<< HEAD } elseif ($value instanceof Promise && $value->getState() === self::PENDING ) { +======= + } elseif ($value instanceof Promise && Is::pending($value)) { +>>>>>>> master // We can just merge our handlers onto the next promise. $value->handlers = array_merge($value->handlers, $handlers); } else { @@ -184,8 +224,11 @@ class Promise implements PromiseInterface * @param int $index 1 (resolve) or 2 (reject). * @param mixed $value Value to pass to the callback. * @param array $handler Array of handler data (promise and callbacks). +<<<<<<< HEAD * * @return array Returns the next group to resolve. +======= +>>>>>>> master */ private static function callHandler($index, $value, array $handler) { @@ -194,13 +237,29 @@ class Promise implements PromiseInterface // The promise may have been cancelled or resolved before placing // this thunk in the queue. +<<<<<<< HEAD if ($promise->getState() !== self::PENDING) { +======= + if (Is::settled($promise)) { +>>>>>>> master return; } try { if (isset($handler[$index])) { +<<<<<<< HEAD $promise->resolve($handler[$index]($value)); +======= + /* + * If $f throws an exception, then $handler will be in the exception + * stack trace. Since $handler contains a reference to the callable + * itself we get a circular reference. We clear the $handler + * here to avoid that memory leak. + */ + $f = $handler[$index]; + unset($handler); + $promise->resolve($f($value)); +>>>>>>> master } elseif ($index === 1) { // Forward resolution values as-is. $promise->resolve($value); @@ -224,15 +283,25 @@ class Promise implements PromiseInterface } elseif ($this->waitList) { $this->invokeWaitList(); } else { +<<<<<<< HEAD // If there's not wait function, then reject the promise. +======= + // If there's no wait function, then reject the promise. +>>>>>>> master $this->reject('Cannot wait on a promise that has ' . 'no internal wait function. You must provide a wait ' . 'function when constructing the promise to be able to ' . 'wait on a promise.'); } +<<<<<<< HEAD queue()->run(); +======= + Utils::queue()->run(); + + /** @psalm-suppress RedundantCondition */ +>>>>>>> master if ($this->state === self::PENDING) { $this->reject('Invoking the wait callback did not resolve the promise'); } @@ -263,6 +332,7 @@ class Promise implements PromiseInterface $this->waitList = null; foreach ($waitList as $result) { +<<<<<<< HEAD while (true) { $result->waitIfPending(); @@ -274,6 +344,15 @@ class Promise implements PromiseInterface } break; } +======= + do { + $result->waitIfPending(); + $result = $result->result; + } while ($result instanceof Promise); + + if ($result instanceof PromiseInterface) { + $result->wait(false); +>>>>>>> master } } } diff --git a/vendor/guzzlehttp/promises/src/PromiseInterface.php b/vendor/guzzlehttp/promises/src/PromiseInterface.php index 8f5f4b99b..18c5df038 100644 --- a/vendor/guzzlehttp/promises/src/PromiseInterface.php +++ b/vendor/guzzlehttp/promises/src/PromiseInterface.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** @@ -56,6 +60,10 @@ interface PromiseInterface * Resolve the promise with the given value. * * @param mixed $value +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws \RuntimeException if the promise is already resolved. */ public function resolve($value); @@ -64,6 +72,10 @@ interface PromiseInterface * Reject the promise with the given reason. * * @param mixed $reason +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws \RuntimeException if the promise is already resolved. */ public function reject($reason); @@ -86,6 +98,10 @@ interface PromiseInterface * @param bool $unwrap * * @return mixed +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws \LogicException if the promise has no wait function or if the * promise does not settle after waiting. */ diff --git a/vendor/guzzlehttp/promises/src/PromisorInterface.php b/vendor/guzzlehttp/promises/src/PromisorInterface.php index b07fe32bc..f6b8d2e8b 100644 --- a/vendor/guzzlehttp/promises/src/PromisorInterface.php +++ b/vendor/guzzlehttp/promises/src/PromisorInterface.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** diff --git a/vendor/guzzlehttp/promises/src/RejectedPromise.php b/vendor/guzzlehttp/promises/src/RejectedPromise.php index 2bc6508e7..c9a15fda6 100644 --- a/vendor/guzzlehttp/promises/src/RejectedPromise.php +++ b/vendor/guzzlehttp/promises/src/RejectedPromise.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** @@ -13,9 +17,16 @@ class RejectedPromise implements PromiseInterface public function __construct($reason) { +<<<<<<< HEAD if (method_exists($reason, 'then')) { throw new \InvalidArgumentException( 'You cannot create a RejectedPromise with a promise.'); +======= + if (is_object($reason) && method_exists($reason, 'then')) { + throw new \InvalidArgumentException( + 'You cannot create a RejectedPromise with a promise.' + ); +>>>>>>> master } $this->reason = $reason; @@ -30,11 +41,19 @@ class RejectedPromise implements PromiseInterface return $this; } +<<<<<<< HEAD $queue = queue(); $reason = $this->reason; $p = new Promise([$queue, 'run']); $queue->add(static function () use ($p, $reason, $onRejected) { if ($p->getState() === self::PENDING) { +======= + $queue = Utils::queue(); + $reason = $this->reason; + $p = new Promise([$queue, 'run']); + $queue->add(static function () use ($p, $reason, $onRejected) { + if (Is::pending($p)) { +>>>>>>> master try { // Return a resolved promise if onRejected does not throw. $p->resolve($onRejected($reason)); @@ -59,8 +78,15 @@ class RejectedPromise implements PromiseInterface public function wait($unwrap = true, $defaultDelivery = null) { if ($unwrap) { +<<<<<<< HEAD throw exception_for($this->reason); } +======= + throw Create::exceptionFor($this->reason); + } + + return null; +>>>>>>> master } public function getState() diff --git a/vendor/guzzlehttp/promises/src/RejectionException.php b/vendor/guzzlehttp/promises/src/RejectionException.php index 07c1136da..8893e106a 100644 --- a/vendor/guzzlehttp/promises/src/RejectionException.php +++ b/vendor/guzzlehttp/promises/src/RejectionException.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** @@ -12,7 +16,11 @@ class RejectionException extends \RuntimeException private $reason; /** +<<<<<<< HEAD * @param mixed $reason Rejection reason. +======= + * @param mixed $reason Rejection reason. +>>>>>>> master * @param string $description Optional description */ public function __construct($reason, $description = null) diff --git a/vendor/guzzlehttp/promises/src/TaskQueue.php b/vendor/guzzlehttp/promises/src/TaskQueue.php index 6e8a2a083..50dc7e14d 100644 --- a/vendor/guzzlehttp/promises/src/TaskQueue.php +++ b/vendor/guzzlehttp/promises/src/TaskQueue.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** @@ -8,7 +12,11 @@ namespace GuzzleHttp\Promise; * maintains a constant stack size. You can use the task queue asynchronously * by calling the `run()` function of the global task queue in an event loop. * +<<<<<<< HEAD * GuzzleHttp\Promise\queue()->run(); +======= + * GuzzleHttp\Promise\Utils::queue()->run(); +>>>>>>> master */ class TaskQueue implements TaskQueueInterface { @@ -42,8 +50,13 @@ class TaskQueue implements TaskQueueInterface public function run() { +<<<<<<< HEAD /** @var callable $task */ while ($task = array_shift($this->queue)) { +======= + while ($task = array_shift($this->queue)) { + /** @var callable $task */ +>>>>>>> master $task(); } } diff --git a/vendor/guzzlehttp/promises/src/TaskQueueInterface.php b/vendor/guzzlehttp/promises/src/TaskQueueInterface.php index ac8306e19..eac993a4f 100644 --- a/vendor/guzzlehttp/promises/src/TaskQueueInterface.php +++ b/vendor/guzzlehttp/promises/src/TaskQueueInterface.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; interface TaskQueueInterface @@ -13,8 +17,11 @@ interface TaskQueueInterface /** * Adds a task to the queue that will be executed the next time run is * called. +<<<<<<< HEAD * * @param callable $task +======= +>>>>>>> master */ public function add(callable $task); diff --git a/vendor/guzzlehttp/promises/src/functions.php b/vendor/guzzlehttp/promises/src/functions.php index 4e27709af..2d2eb5a17 100644 --- a/vendor/guzzlehttp/promises/src/functions.php +++ b/vendor/guzzlehttp/promises/src/functions.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Promise; /** @@ -17,6 +21,7 @@ namespace GuzzleHttp\Promise; * @param TaskQueueInterface $assign Optionally specify a new queue instance. * * @return TaskQueueInterface +<<<<<<< HEAD */ function queue(TaskQueueInterface $assign = null) { @@ -29,6 +34,14 @@ function queue(TaskQueueInterface $assign = null) } return $queue; +======= + * + * @deprecated queue will be removed in guzzlehttp/promises:2.0. Use Utils::queue instead. + */ +function queue(TaskQueueInterface $assign = null) +{ + return Utils::queue($assign); +>>>>>>> master } /** @@ -38,6 +51,7 @@ function queue(TaskQueueInterface $assign = null) * @param callable $task Task function to run. * * @return PromiseInterface +<<<<<<< HEAD */ function task(callable $task) { @@ -54,6 +68,14 @@ function task(callable $task) }); return $promise; +======= + * + * @deprecated task will be removed in guzzlehttp/promises:2.0. Use Utils::task instead. + */ +function task(callable $task) +{ + return Utils::task($task); +>>>>>>> master } /** @@ -62,6 +84,7 @@ function task(callable $task) * @param mixed $value Promise or value. * * @return PromiseInterface +<<<<<<< HEAD */ function promise_for($value) { @@ -79,6 +102,14 @@ function promise_for($value) } return new FulfilledPromise($value); +======= + * + * @deprecated promise_for will be removed in guzzlehttp/promises:2.0. Use Create::promiseFor instead. + */ +function promise_for($value) +{ + return Create::promiseFor($value); +>>>>>>> master } /** @@ -88,6 +119,7 @@ function promise_for($value) * @param mixed $reason Promise or reason. * * @return PromiseInterface +<<<<<<< HEAD */ function rejection_for($reason) { @@ -96,6 +128,14 @@ function rejection_for($reason) } return new RejectedPromise($reason); +======= + * + * @deprecated rejection_for will be removed in guzzlehttp/promises:2.0. Use Create::rejectionFor instead. + */ +function rejection_for($reason) +{ + return Create::rejectionFor($reason); +>>>>>>> master } /** @@ -104,12 +144,21 @@ function rejection_for($reason) * @param mixed $reason * * @return \Exception|\Throwable +<<<<<<< HEAD */ function exception_for($reason) { return $reason instanceof \Exception || $reason instanceof \Throwable ? $reason : new RejectionException($reason); +======= + * + * @deprecated exception_for will be removed in guzzlehttp/promises:2.0. Use Create::exceptionFor instead. + */ +function exception_for($reason) +{ + return Create::exceptionFor($reason); +>>>>>>> master } /** @@ -118,6 +167,7 @@ function exception_for($reason) * @param mixed $value * * @return \Iterator +<<<<<<< HEAD */ function iter_for($value) { @@ -128,6 +178,14 @@ function iter_for($value) } else { return new \ArrayIterator([$value]); } +======= + * + * @deprecated iter_for will be removed in guzzlehttp/promises:2.0. Use Create::iterFor instead. + */ +function iter_for($value) +{ + return Create::iterFor($value); +>>>>>>> master } /** @@ -143,6 +201,7 @@ function iter_for($value) * @param PromiseInterface $promise Promise or value. * * @return array +<<<<<<< HEAD */ function inspect(PromiseInterface $promise) { @@ -158,6 +217,14 @@ function inspect(PromiseInterface $promise) } catch (\Exception $e) { return ['state' => PromiseInterface::REJECTED, 'reason' => $e]; } +======= + * + * @deprecated inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspect instead. + */ +function inspect(PromiseInterface $promise) +{ + return Utils::inspect($promise); +>>>>>>> master } /** @@ -166,6 +233,7 @@ function inspect(PromiseInterface $promise) * * Returns an array of inspection state arrays. * +<<<<<<< HEAD * @param PromiseInterface[] $promises Traversable of promises to wait upon. * * @return array @@ -179,6 +247,19 @@ function inspect_all($promises) } return $results; +======= + * @see inspect for the inspection state array format. + * + * @param PromiseInterface[] $promises Traversable of promises to wait upon. + * + * @return array + * + * @deprecated inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspectAll instead. + */ +function inspect_all($promises) +{ + return Utils::inspectAll($promises); +>>>>>>> master } /** @@ -188,6 +269,7 @@ function inspect_all($promises) * the promises were provided). An exception is thrown if any of the promises * are rejected. * +<<<<<<< HEAD * @param mixed $promises Iterable of PromiseInterface objects to wait on. * * @return array @@ -202,6 +284,20 @@ function unwrap($promises) } return $results; +======= + * @param iterable $promises Iterable of PromiseInterface objects to wait on. + * + * @return array + * + * @throws \Exception on error + * @throws \Throwable on error in PHP >=7 + * + * @deprecated unwrap will be removed in guzzlehttp/promises:2.0. Use Utils::unwrap instead. + */ +function unwrap($promises) +{ + return Utils::unwrap($promises); +>>>>>>> master } /** @@ -212,6 +308,7 @@ function unwrap($promises) * respective positions to the original array. If any promise in the array * rejects, the returned promise is rejected with the rejection reason. * +<<<<<<< HEAD * @param mixed $promises Promises or values. * * @return PromiseInterface @@ -231,6 +328,18 @@ function all($promises) ksort($results); return $results; }); +======= + * @param mixed $promises Promises or values. + * @param bool $recursive If true, resolves new promises that might have been added to the stack during its own resolution. + * + * @return PromiseInterface + * + * @deprecated all will be removed in guzzlehttp/promises:2.0. Use Utils::all instead. + */ +function all($promises, $recursive = false) +{ + return Utils::all($promises, $recursive); +>>>>>>> master } /** @@ -241,13 +350,19 @@ function all($promises) * fulfilled with an array that contains the fulfillment values of the winners * in order of resolution. * +<<<<<<< HEAD * This prommise is rejected with a {@see GuzzleHttp\Promise\AggregateException} * if the number of fulfilled promises is less than the desired $count. +======= + * This promise is rejected with a {@see AggregateException} if the number of + * fulfilled promises is less than the desired $count. +>>>>>>> master * * @param int $count Total number of promises. * @param mixed $promises Promises or values. * * @return PromiseInterface +<<<<<<< HEAD */ function some($count, $promises) { @@ -280,6 +395,14 @@ function some($count, $promises) return array_values($results); } ); +======= + * + * @deprecated some will be removed in guzzlehttp/promises:2.0. Use Utils::some instead. + */ +function some($count, $promises) +{ + return Utils::some($count, $promises); +>>>>>>> master } /** @@ -289,10 +412,19 @@ function some($count, $promises) * @param mixed $promises Promises or values. * * @return PromiseInterface +<<<<<<< HEAD */ function any($promises) { return some(1, $promises)->then(function ($values) { return $values[0]; }); +======= + * + * @deprecated any will be removed in guzzlehttp/promises:2.0. Use Utils::any instead. + */ +function any($promises) +{ + return Utils::any($promises); +>>>>>>> master } /** @@ -301,6 +433,7 @@ function any($promises) * * The returned promise is fulfilled with an array of inspection state arrays. * +<<<<<<< HEAD * @param mixed $promises Promises or values. * * @return PromiseInterface @@ -322,6 +455,19 @@ function settle($promises) ksort($results); return $results; }); +======= + * @see inspect for the inspection state array format. + * + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + * + * @deprecated settle will be removed in guzzlehttp/promises:2.0. Use Utils::settle instead. + */ +function settle($promises) +{ + return Utils::settle($promises); +>>>>>>> master } /** @@ -329,6 +475,7 @@ function settle($promises) * fulfilled with a null value when the iterator has been consumed or the * aggregate promise has been fulfilled or rejected. * +<<<<<<< HEAD * $onFulfilled is a function that accepts the fulfilled value, iterator * index, and the aggregate promise. The callback can invoke any necessary side * effects and choose to resolve or reject the aggregate promise if needed. @@ -336,22 +483,40 @@ function settle($promises) * $onRejected is a function that accepts the rejection reason, iterator * index, and the aggregate promise. The callback can invoke any necessary side * effects and choose to resolve or reject the aggregate promise if needed. +======= + * $onFulfilled is a function that accepts the fulfilled value, iterator index, + * and the aggregate promise. The callback can invoke any necessary side + * effects and choose to resolve or reject the aggregate if needed. + * + * $onRejected is a function that accepts the rejection reason, iterator index, + * and the aggregate promise. The callback can invoke any necessary side + * effects and choose to resolve or reject the aggregate if needed. +>>>>>>> master * * @param mixed $iterable Iterator or array to iterate over. * @param callable $onFulfilled * @param callable $onRejected * * @return PromiseInterface +<<<<<<< HEAD +======= + * + * @deprecated each will be removed in guzzlehttp/promises:2.0. Use Each::of instead. +>>>>>>> master */ function each( $iterable, callable $onFulfilled = null, callable $onRejected = null ) { +<<<<<<< HEAD return (new EachPromise($iterable, [ 'fulfilled' => $onFulfilled, 'rejected' => $onRejected ]))->promise(); +======= + return Each::of($iterable, $onFulfilled, $onRejected); +>>>>>>> master } /** @@ -368,6 +533,11 @@ function each( * @param callable $onRejected * * @return PromiseInterface +<<<<<<< HEAD +======= + * + * @deprecated each_limit will be removed in guzzlehttp/promises:2.0. Use Each::ofLimit instead. +>>>>>>> master */ function each_limit( $iterable, @@ -375,11 +545,15 @@ function each_limit( callable $onFulfilled = null, callable $onRejected = null ) { +<<<<<<< HEAD return (new EachPromise($iterable, [ 'fulfilled' => $onFulfilled, 'rejected' => $onRejected, 'concurrency' => $concurrency ]))->promise(); +======= + return Each::ofLimit($iterable, $concurrency, $onFulfilled, $onRejected); +>>>>>>> master } /** @@ -392,12 +566,18 @@ function each_limit( * @param callable $onFulfilled * * @return PromiseInterface +<<<<<<< HEAD +======= + * + * @deprecated each_limit_all will be removed in guzzlehttp/promises:2.0. Use Each::ofLimitAll instead. +>>>>>>> master */ function each_limit_all( $iterable, $concurrency, callable $onFulfilled = null ) { +<<<<<<< HEAD return each_limit( $iterable, $concurrency, @@ -406,11 +586,15 @@ function each_limit_all( $aggregate->reject($reason); } ); +======= + return Each::ofLimitAll($iterable, $concurrency, $onFulfilled); +>>>>>>> master } /** * Returns true if a promise is fulfilled. * +<<<<<<< HEAD * @param PromiseInterface $promise * * @return bool @@ -418,11 +602,21 @@ function each_limit_all( function is_fulfilled(PromiseInterface $promise) { return $promise->getState() === PromiseInterface::FULFILLED; +======= + * @return bool + * + * @deprecated is_fulfilled will be removed in guzzlehttp/promises:2.0. Use Is::fulfilled instead. + */ +function is_fulfilled(PromiseInterface $promise) +{ + return Is::fulfilled($promise); +>>>>>>> master } /** * Returns true if a promise is rejected. * +<<<<<<< HEAD * @param PromiseInterface $promise * * @return bool @@ -430,11 +624,21 @@ function is_fulfilled(PromiseInterface $promise) function is_rejected(PromiseInterface $promise) { return $promise->getState() === PromiseInterface::REJECTED; +======= + * @return bool + * + * @deprecated is_rejected will be removed in guzzlehttp/promises:2.0. Use Is::rejected instead. + */ +function is_rejected(PromiseInterface $promise) +{ + return Is::rejected($promise); +>>>>>>> master } /** * Returns true if a promise is fulfilled or rejected. * +<<<<<<< HEAD * @param PromiseInterface $promise * * @return bool @@ -454,4 +658,27 @@ function is_settled(PromiseInterface $promise) function coroutine(callable $generatorFn) { return new Coroutine($generatorFn); +======= + * @return bool + * + * @deprecated is_settled will be removed in guzzlehttp/promises:2.0. Use Is::settled instead. + */ +function is_settled(PromiseInterface $promise) +{ + return Is::settled($promise); +} + +/** + * Create a new coroutine. + * + * @see Coroutine + * + * @return PromiseInterface + * + * @deprecated coroutine will be removed in guzzlehttp/promises:2.0. Use Coroutine::of instead. + */ +function coroutine(callable $generatorFn) +{ + return Coroutine::of($generatorFn); +>>>>>>> master } diff --git a/vendor/guzzlehttp/psr7/CHANGELOG.md b/vendor/guzzlehttp/psr7/CHANGELOG.md index 8a3743dba..12cc747ee 100644 --- a/vendor/guzzlehttp/psr7/CHANGELOG.md +++ b/vendor/guzzlehttp/psr7/CHANGELOG.md @@ -9,8 +9,37 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +<<<<<<< HEAD ## [1.6.0] +======= +## [1.7.0] - 2020-09-30 + +### Added + +- Replaced functions by static methods + +### Fixed + +- Converting a non-seekable stream to a string +- Handle multiple Set-Cookie correctly +- Ignore array keys in header values when merging +- Allow multibyte characters to be parsed in `Message:bodySummary()` + +### Changed + +- Restored partial HHVM 3 support + + +## [1.6.1] - 2019-07-02 + +### Fixed + +- Accept null and bool header values again + + +## [1.6.0] - 2019-06-30 +>>>>>>> master ### Added diff --git a/vendor/guzzlehttp/psr7/README.md b/vendor/guzzlehttp/psr7/README.md index c60a6a38d..6ebc1efd9 100644 --- a/vendor/guzzlehttp/psr7/README.md +++ b/vendor/guzzlehttp/psr7/README.md @@ -23,11 +23,19 @@ Reads from multiple streams, one after the other. ```php use GuzzleHttp\Psr7; +<<<<<<< HEAD $a = Psr7\stream_for('abc, '); $b = Psr7\stream_for('123.'); $composed = new Psr7\AppendStream([$a, $b]); $composed->addStream(Psr7\stream_for(' Above all listen to me')); +======= +$a = Psr7\Utils::streamFor('abc, '); +$b = Psr7\Utils::streamFor('123.'); +$composed = new Psr7\AppendStream([$a, $b]); + +$composed->addStream(Psr7\Utils::streamFor(' Above all listen to me')); +>>>>>>> master echo $composed; // abc, 123. Above all listen to me. ``` @@ -65,7 +73,11 @@ then on disk. ```php use GuzzleHttp\Psr7; +<<<<<<< HEAD $original = Psr7\stream_for(fopen('http://www.google.com', 'r')); +======= +$original = Psr7\Utils::streamFor(fopen('http://www.google.com', 'r')); +>>>>>>> master $stream = new Psr7\CachingStream($original); $stream->read(1024); @@ -89,7 +101,11 @@ stream becomes too full. use GuzzleHttp\Psr7; // Create an empty stream +<<<<<<< HEAD $stream = Psr7\stream_for(); +======= +$stream = Psr7\Utils::streamFor(); +>>>>>>> master // Start dropping data when the stream has more than 10 bytes $dropping = new Psr7\DroppingStream($stream, 10); @@ -112,7 +128,11 @@ to create a concrete class for a simple extension point. use GuzzleHttp\Psr7; +<<<<<<< HEAD $stream = Psr7\stream_for('hi'); +======= +$stream = Psr7\Utils::streamFor('hi'); +>>>>>>> master $fnStream = Psr7\FnStream::decorate($stream, [ 'rewind' => function () use ($stream) { echo 'About to rewind - '; @@ -167,7 +187,11 @@ chunks (e.g. Amazon S3's multipart upload API). ```php use GuzzleHttp\Psr7; +<<<<<<< HEAD $original = Psr7\stream_for(fopen('/tmp/test.txt', 'r+')); +======= +$original = Psr7\Utils::streamFor(fopen('/tmp/test.txt', 'r+')); +>>>>>>> master echo $original->getSize(); // >>> 1048576 @@ -197,7 +221,11 @@ NoSeekStream wraps a stream and does not allow seeking. ```php use GuzzleHttp\Psr7; +<<<<<<< HEAD $original = Psr7\stream_for('foo'); +======= +$original = Psr7\Utils::streamFor('foo'); +>>>>>>> master $noSeek = new Psr7\NoSeekStream($original); echo $noSeek->read(3); @@ -271,7 +299,11 @@ This decorator could be added to any existing stream and used like so: ```php use GuzzleHttp\Psr7; +<<<<<<< HEAD $original = Psr7\stream_for('foo'); +======= +$original = Psr7\Utils::streamFor('foo'); +>>>>>>> master $eofStream = new EofCallbackStream($original, function () { echo 'EOF!'; @@ -297,12 +329,17 @@ stream from a PSR-7 stream. ```php use GuzzleHttp\Psr7\StreamWrapper; +<<<<<<< HEAD $stream = GuzzleHttp\Psr7\stream_for('hello!'); +======= +$stream = GuzzleHttp\Psr7\Utils::streamFor('hello!'); +>>>>>>> master $resource = StreamWrapper::getResource($stream); echo fread($resource, 6); // outputs hello! ``` +<<<<<<< HEAD # Function API There are various functions available under the `GuzzleHttp\Psr7` namespace. @@ -311,11 +348,22 @@ There are various functions available under the `GuzzleHttp\Psr7` namespace. ## `function str` `function str(MessageInterface $message)` +======= +# Static API + +There are various static methods available under the `GuzzleHttp\Psr7` namespace. + + +## `GuzzleHttp\Psr7\Message::toString` + +`public static function toString(MessageInterface $message): string` +>>>>>>> master Returns the string representation of an HTTP message. ```php $request = new GuzzleHttp\Psr7\Request('GET', 'http://example.com'); +<<<<<<< HEAD echo GuzzleHttp\Psr7\str($request); ``` @@ -464,10 +512,163 @@ a rolling hash (based on PHP's hash_init functions). ## `function readline` `function readline(StreamInterface $stream, $maxLength = null)` +======= +echo GuzzleHttp\Psr7\Message::toString($request); +``` + + +## `GuzzleHttp\Psr7\Message::bodySummary` + +`public static function bodySummary(MessageInterface $message, int $truncateAt = 120): string|null` + +Get a short summary of the message body. + +Will return `null` if the response is not printable. + + +## `GuzzleHttp\Psr7\Message::rewindBody` + +`public static function rewindBody(MessageInterface $message): void` + +Attempts to rewind a message body and throws an exception on failure. + +The body of the message will only be rewound if a call to `tell()` +returns a value other than `0`. + + +## `GuzzleHttp\Psr7\Message::parseMessage` + +`public static function parseMessage(string $message): array` + +Parses an HTTP message into an associative array. + +The array contains the "start-line" key containing the start line of +the message, "headers" key containing an associative array of header +array values, and a "body" key containing the body of the message. + + +## `GuzzleHttp\Psr7\Message::parseRequestUri` + +`public static function parseRequestUri(string $path, array $headers): string` + +Constructs a URI for an HTTP request message. + + +## `GuzzleHttp\Psr7\Message::parseRequest` + +`public static function parseRequest(string $message): Request` + +Parses a request message string into a request object. + + +## `GuzzleHttp\Psr7\Message::parseResponse` + +`public static function parseResponse(string $message): Response` + +Parses a response message string into a response object. + + +## `GuzzleHttp\Psr7\Header::parse` + +`public static function parse(string|array $header): array` + +Parse an array of header values containing ";" separated data into an +array of associative arrays representing the header key value pair data +of the header. When a parameter does not contain a value, but just +contains a key, this function will inject a key with a '' string value. + + +## `GuzzleHttp\Psr7\Header::normalize` + +`public static function normalize(string|array $header): array` + +Converts an array of header values that may contain comma separated +headers into an array of headers with no comma separated values. + + +## `GuzzleHttp\Psr7\Query::parse` + +`public static function parse(string $str, int|bool $urlEncoding = true): array` + +Parse a query string into an associative array. + +If multiple values are found for the same key, the value of that key +value pair will become an array. This function does not parse nested +PHP style arrays into an associative array (e.g., `foo[a]=1&foo[b]=2` +will be parsed into `['foo[a]' => '1', 'foo[b]' => '2'])`. + + +## `GuzzleHttp\Psr7\Query::build` + +`public static function build(array $params, int|false $encoding = PHP_QUERY_RFC3986): string` + +Build a query string from an array of key value pairs. + +This function can use the return value of `parse()` to build a query +string. This function does not modify the provided keys when an array is +encountered (like `http_build_query()` would). + + +## `GuzzleHttp\Psr7\Utils::caselessRemove` + +`public static function caselessRemove(iterable $keys, $keys, array $data): array` + +Remove the items given by the keys, case insensitively from the data. + + +## `GuzzleHttp\Psr7\Utils::copyToStream` + +`public static function copyToStream(StreamInterface $source, StreamInterface $dest, int $maxLen = -1): void` + +Copy the contents of a stream into another stream until the given number +of bytes have been read. + + +## `GuzzleHttp\Psr7\Utils::copyToString` + +`public static function copyToString(StreamInterface $stream, int $maxLen = -1): string` + +Copy the contents of a stream into a string until the given number of +bytes have been read. + + +## `GuzzleHttp\Psr7\Utils::hash` + +`public static function hash(StreamInterface $stream, string $algo, bool $rawOutput = false): string` + +Calculate a hash of a stream. + +This method reads the entire stream to calculate a rolling hash, based on +PHP's `hash_init` functions. + + +## `GuzzleHttp\Psr7\Utils::modifyRequest` + +`public static function modifyRequest(RequestInterface $request, array $changes): RequestInterface` + +Clone and modify a request with the given changes. + +This method is useful for reducing the number of clones needed to mutate +a message. + +- method: (string) Changes the HTTP method. +- set_headers: (array) Sets the given headers. +- remove_headers: (array) Remove the given headers. +- body: (mixed) Sets the given body. +- uri: (UriInterface) Set the URI. +- query: (string) Set the query string value of the URI. +- version: (string) Set the protocol version. + + +## `GuzzleHttp\Psr7\Utils::readLine` + +`public static function readLine(StreamInterface $stream, int $maxLength = null): string` +>>>>>>> master Read a line from the stream up to the maximum allowed buffer length. +<<<<<<< HEAD ## `function parse_request` `function parse_request($message)` @@ -508,17 +709,130 @@ This function does not modify the provided keys when an array is encountered ## `function mimetype_from_filename` `function mimetype_from_filename($filename)` +======= +## `GuzzleHttp\Psr7\Utils::streamFor` + +`public static function streamFor(resource|string|null|int|float|bool|StreamInterface|callable|\Iterator $resource = '', array $options = []): StreamInterface` + +Create a new stream based on the input type. + +Options is an associative array that can contain the following keys: + +- metadata: Array of custom metadata. +- size: Size of the stream. + +This method accepts the following `$resource` types: + +- `Psr\Http\Message\StreamInterface`: Returns the value as-is. +- `string`: Creates a stream object that uses the given string as the contents. +- `resource`: Creates a stream object that wraps the given PHP stream resource. +- `Iterator`: If the provided value implements `Iterator`, then a read-only + stream object will be created that wraps the given iterable. Each time the + stream is read from, data from the iterator will fill a buffer and will be + continuously called until the buffer is equal to the requested read size. + Subsequent read calls will first read from the buffer and then call `next` + on the underlying iterator until it is exhausted. +- `object` with `__toString()`: If the object has the `__toString()` method, + the object will be cast to a string and then a stream will be returned that + uses the string value. +- `NULL`: When `null` is passed, an empty stream object is returned. +- `callable` When a callable is passed, a read-only stream object will be + created that invokes the given callable. The callable is invoked with the + number of suggested bytes to read. The callable can return any number of + bytes, but MUST return `false` when there is no more data to return. The + stream object that wraps the callable will invoke the callable until the + number of requested bytes are available. Any additional bytes will be + buffered and used in subsequent reads. + +```php +$stream = GuzzleHttp\Psr7\Utils::streamFor('foo'); +$stream = GuzzleHttp\Psr7\Utils::streamFor(fopen('/path/to/file', 'r')); + +$generator = function ($bytes) { + for ($i = 0; $i < $bytes; $i++) { + yield ' '; + } +} + +$stream = GuzzleHttp\Psr7\Utils::streamFor($generator(100)); +``` + + +## `GuzzleHttp\Psr7\Utils::tryFopen` + +`public static function tryFopen(string $filename, string $mode): resource` + +Safely opens a PHP stream resource using a filename. + +When fopen fails, PHP normally raises a warning. This function adds an +error handler that checks for errors and throws an exception instead. + + +## `GuzzleHttp\Psr7\Utils::uriFor` + +`public static function uriFor(string|UriInterface $uri): UriInterface` + +Returns a UriInterface for the given value. + +This function accepts a string or UriInterface and returns a +UriInterface for the given value. If the value is already a +UriInterface, it is returned as-is. + + +## `GuzzleHttp\Psr7\MimeType::fromFilename` + +`public static function fromFilename(string $filename): string|null` +>>>>>>> master Determines the mimetype of a file by looking at its extension. +<<<<<<< HEAD ## `function mimetype_from_extension` `function mimetype_from_extension($extension)` +======= +## `GuzzleHttp\Psr7\MimeType::fromExtension` + +`public static function fromExtension(string $extension): string|null` +>>>>>>> master Maps a file extensions to a mimetype. +<<<<<<< HEAD +======= +## Upgrading from Function API + +The 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: + +| Original Function | Replacement Method | +|----------------|----------------| +| `str` | `Message::toString` | +| `uri_for` | `Utils::uriFor` | +| `stream_for` | `Utils::streamFor` | +| `parse_header` | `Header::parse` | +| `normalize_header` | `Header::normalize` | +| `modify_request` | `Utils::modifyRequest` | +| `rewind_body` | `Message::rewindBody` | +| `try_fopen` | `Utils::tryFopen` | +| `copy_to_string` | `Utils::copyToString` | +| `copy_to_stream` | `Utils::copyToStream` | +| `hash` | `Utils::hash` | +| `readline` | `Utils::readLine` | +| `parse_request` | `Message::parseRequest` | +| `parse_response` | `Message::parseResponse` | +| `parse_query` | `Query::parse` | +| `build_query` | `Query::build` | +| `mimetype_from_filename` | `MimeType::fromFilename` | +| `mimetype_from_extension` | `MimeType::fromExtension` | +| `_parse_message` | `Message::parseMessage` | +| `_parse_request_uri` | `Message::parseRequestUri` | +| `get_message_body_summary` | `Message::bodySummary` | +| `_caseless_remove` | `Utils::caselessRemove` | + + +>>>>>>> master # Additional URI Methods Aside from the standard `Psr\Http\Message\UriInterface` implementation in form of the `GuzzleHttp\Psr7\Uri` class, diff --git a/vendor/guzzlehttp/psr7/composer.json b/vendor/guzzlehttp/psr7/composer.json index 168a055b0..ca0a7b0e2 100644 --- a/vendor/guzzlehttp/psr7/composer.json +++ b/vendor/guzzlehttp/psr7/composer.json @@ -21,14 +21,22 @@ "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" }, "require-dev": { +<<<<<<< HEAD "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8", +======= + "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10", +>>>>>>> master "ext-zlib": "*" }, "provide": { "psr/http-message-implementation": "1.0" }, "suggest": { +<<<<<<< HEAD "zendframework/zend-httphandlerrunner": "Emit PSR-7 responses" +======= + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" +>>>>>>> master }, "autoload": { "psr-4": { @@ -43,7 +51,11 @@ }, "extra": { "branch-alias": { +<<<<<<< HEAD "dev-master": "1.6-dev" +======= + "dev-master": "1.7-dev" +>>>>>>> master } } } diff --git a/vendor/guzzlehttp/psr7/src/AppendStream.php b/vendor/guzzlehttp/psr7/src/AppendStream.php index 472a0d61b..ec1756134 100644 --- a/vendor/guzzlehttp/psr7/src/AppendStream.php +++ b/vendor/guzzlehttp/psr7/src/AppendStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -61,7 +65,11 @@ class AppendStream implements StreamInterface public function getContents() { +<<<<<<< HEAD return copy_to_string($this); +======= + return Utils::copyToString($this); +>>>>>>> master } /** @@ -98,6 +106,11 @@ class AppendStream implements StreamInterface } $this->streams = []; +<<<<<<< HEAD +======= + + return null; +>>>>>>> master } public function tell() diff --git a/vendor/guzzlehttp/psr7/src/BufferStream.php b/vendor/guzzlehttp/psr7/src/BufferStream.php index af4d4c227..57d5d61e9 100644 --- a/vendor/guzzlehttp/psr7/src/BufferStream.php +++ b/vendor/guzzlehttp/psr7/src/BufferStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -49,6 +53,11 @@ class BufferStream implements StreamInterface public function detach() { $this->close(); +<<<<<<< HEAD +======= + + return null; +>>>>>>> master } public function getSize() diff --git a/vendor/guzzlehttp/psr7/src/CachingStream.php b/vendor/guzzlehttp/psr7/src/CachingStream.php index ed68f0861..225772530 100644 --- a/vendor/guzzlehttp/psr7/src/CachingStream.php +++ b/vendor/guzzlehttp/psr7/src/CachingStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -131,7 +135,11 @@ class CachingStream implements StreamInterface private function cacheEntireStream() { $target = new FnStream(['write' => 'strlen']); +<<<<<<< HEAD copy_to_stream($this, $target); +======= + Utils::copyToStream($this, $target); +>>>>>>> master return $this->tell(); } diff --git a/vendor/guzzlehttp/psr7/src/DroppingStream.php b/vendor/guzzlehttp/psr7/src/DroppingStream.php index 8935c80d7..9b36cbf37 100644 --- a/vendor/guzzlehttp/psr7/src/DroppingStream.php +++ b/vendor/guzzlehttp/psr7/src/DroppingStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; diff --git a/vendor/guzzlehttp/psr7/src/FnStream.php b/vendor/guzzlehttp/psr7/src/FnStream.php index 73daea6f3..efedc70d9 100644 --- a/vendor/guzzlehttp/psr7/src/FnStream.php +++ b/vendor/guzzlehttp/psr7/src/FnStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -34,6 +38,10 @@ class FnStream implements StreamInterface /** * Lazily determine which methods are not implemented. +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws \BadMethodCallException */ public function __get($name) diff --git a/vendor/guzzlehttp/psr7/src/InflateStream.php b/vendor/guzzlehttp/psr7/src/InflateStream.php index 5e4f6028c..97d270a22 100644 --- a/vendor/guzzlehttp/psr7/src/InflateStream.php +++ b/vendor/guzzlehttp/psr7/src/InflateStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; diff --git a/vendor/guzzlehttp/psr7/src/LazyOpenStream.php b/vendor/guzzlehttp/psr7/src/LazyOpenStream.php index 02cec3af4..01fd81c18 100644 --- a/vendor/guzzlehttp/psr7/src/LazyOpenStream.php +++ b/vendor/guzzlehttp/psr7/src/LazyOpenStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -34,6 +38,10 @@ class LazyOpenStream implements StreamInterface */ protected function createStream() { +<<<<<<< HEAD return stream_for(try_fopen($this->filename, $this->mode)); +======= + return Utils::streamFor(Utils::tryFopen($this->filename, $this->mode)); +>>>>>>> master } } diff --git a/vendor/guzzlehttp/psr7/src/LimitStream.php b/vendor/guzzlehttp/psr7/src/LimitStream.php index e4f239e30..ac25f1849 100644 --- a/vendor/guzzlehttp/psr7/src/LimitStream.php +++ b/vendor/guzzlehttp/psr7/src/LimitStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; diff --git a/vendor/guzzlehttp/psr7/src/MessageTrait.php b/vendor/guzzlehttp/psr7/src/MessageTrait.php index a7966d10c..7010ce6f4 100644 --- a/vendor/guzzlehttp/psr7/src/MessageTrait.php +++ b/vendor/guzzlehttp/psr7/src/MessageTrait.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -17,7 +21,11 @@ trait MessageTrait /** @var string */ private $protocol = '1.1'; +<<<<<<< HEAD /** @var StreamInterface */ +======= + /** @var StreamInterface|null */ +>>>>>>> master private $stream; public function getProtocolVersion() @@ -117,7 +125,11 @@ trait MessageTrait public function getBody() { if (!$this->stream) { +<<<<<<< HEAD $this->stream = stream_for(''); +======= + $this->stream = Utils::streamFor(''); +>>>>>>> master } return $this->stream; @@ -194,7 +206,11 @@ trait MessageTrait } return trim((string) $value, " \t"); +<<<<<<< HEAD }, $values); +======= + }, array_values($values)); +>>>>>>> master } private function assertHeader($header) diff --git a/vendor/guzzlehttp/psr7/src/MultipartStream.php b/vendor/guzzlehttp/psr7/src/MultipartStream.php index c0fd584f7..ed50b23f8 100644 --- a/vendor/guzzlehttp/psr7/src/MultipartStream.php +++ b/vendor/guzzlehttp/psr7/src/MultipartStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -71,7 +75,11 @@ class MultipartStream implements StreamInterface } // Add the trailing boundary with CRLF +<<<<<<< HEAD $stream->addStream(stream_for("--{$this->boundary}--\r\n")); +======= + $stream->addStream(Utils::streamFor("--{$this->boundary}--\r\n")); +>>>>>>> master return $stream; } @@ -84,7 +92,11 @@ class MultipartStream implements StreamInterface } } +<<<<<<< HEAD $element['contents'] = stream_for($element['contents']); +======= + $element['contents'] = Utils::streamFor($element['contents']); +>>>>>>> master if (empty($element['filename'])) { $uri = $element['contents']->getMetadata('uri'); @@ -100,9 +112,15 @@ class MultipartStream implements StreamInterface isset($element['headers']) ? $element['headers'] : [] ); +<<<<<<< HEAD $stream->addStream(stream_for($this->getHeaders($headers))); $stream->addStream($body); $stream->addStream(stream_for("\r\n")); +======= + $stream->addStream(Utils::streamFor($this->getHeaders($headers))); + $stream->addStream($body); + $stream->addStream(Utils::streamFor("\r\n")); +>>>>>>> master } /** @@ -131,7 +149,11 @@ class MultipartStream implements StreamInterface // Set a default Content-Type if one was not supplied $type = $this->getHeader($headers, 'content-type'); if (!$type && ($filename === '0' || $filename)) { +<<<<<<< HEAD if ($type = mimetype_from_filename($filename)) { +======= + if ($type = MimeType::fromFilename($filename)) { +>>>>>>> master $headers['Content-Type'] = $type; } } diff --git a/vendor/guzzlehttp/psr7/src/NoSeekStream.php b/vendor/guzzlehttp/psr7/src/NoSeekStream.php index 233221805..73541c79c 100644 --- a/vendor/guzzlehttp/psr7/src/NoSeekStream.php +++ b/vendor/guzzlehttp/psr7/src/NoSeekStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; diff --git a/vendor/guzzlehttp/psr7/src/PumpStream.php b/vendor/guzzlehttp/psr7/src/PumpStream.php index ffb5440da..529ab2703 100644 --- a/vendor/guzzlehttp/psr7/src/PumpStream.php +++ b/vendor/guzzlehttp/psr7/src/PumpStream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -51,7 +55,11 @@ class PumpStream implements StreamInterface public function __toString() { try { +<<<<<<< HEAD return copy_to_string($this); +======= + return Utils::copyToString($this); +>>>>>>> master } catch (\Exception $e) { return ''; } @@ -66,6 +74,11 @@ class PumpStream implements StreamInterface { $this->tellPos = false; $this->source = null; +<<<<<<< HEAD +======= + + return null; +>>>>>>> master } public function getSize() diff --git a/vendor/guzzlehttp/psr7/src/Request.php b/vendor/guzzlehttp/psr7/src/Request.php index 59f337db1..94f94ca20 100644 --- a/vendor/guzzlehttp/psr7/src/Request.php +++ b/vendor/guzzlehttp/psr7/src/Request.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use InvalidArgumentException; @@ -51,7 +55,11 @@ class Request implements RequestInterface } if ($body !== '' && $body !== null) { +<<<<<<< HEAD $this->stream = stream_for($body); +======= + $this->stream = Utils::streamFor($body); +>>>>>>> master } } diff --git a/vendor/guzzlehttp/psr7/src/Response.php b/vendor/guzzlehttp/psr7/src/Response.php index e7e04d86a..a5344390e 100644 --- a/vendor/guzzlehttp/psr7/src/Response.php +++ b/vendor/guzzlehttp/psr7/src/Response.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\ResponseInterface; @@ -100,7 +104,11 @@ class Response implements ResponseInterface $this->statusCode = $status; if ($body !== '' && $body !== null) { +<<<<<<< HEAD $this->stream = stream_for($body); +======= + $this->stream = Utils::streamFor($body); +>>>>>>> master } $this->setHeaders($headers); @@ -134,7 +142,11 @@ class Response implements ResponseInterface if ($reasonPhrase == '' && isset(self::$phrases[$new->statusCode])) { $reasonPhrase = self::$phrases[$new->statusCode]; } +<<<<<<< HEAD $new->reasonPhrase = $reasonPhrase; +======= + $new->reasonPhrase = (string) $reasonPhrase; +>>>>>>> master return $new; } diff --git a/vendor/guzzlehttp/psr7/src/ServerRequest.php b/vendor/guzzlehttp/psr7/src/ServerRequest.php index 1a09a6c87..110429531 100644 --- a/vendor/guzzlehttp/psr7/src/ServerRequest.php +++ b/vendor/guzzlehttp/psr7/src/ServerRequest.php @@ -79,8 +79,15 @@ class ServerRequest extends Request implements ServerRequestInterface * Return an UploadedFile instance array. * * @param array $files A array which respect $_FILES structure +<<<<<<< HEAD * @throws InvalidArgumentException for unrecognized values * @return array +======= + * + * @return array + * + * @throws InvalidArgumentException for unrecognized values +>>>>>>> master */ public static function normalizeFiles(array $files) { diff --git a/vendor/guzzlehttp/psr7/src/Stream.php b/vendor/guzzlehttp/psr7/src/Stream.php index d9e7409c7..ee3ccd704 100644 --- a/vendor/guzzlehttp/psr7/src/Stream.php +++ b/vendor/guzzlehttp/psr7/src/Stream.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -76,8 +80,15 @@ class Stream implements StreamInterface public function __toString() { try { +<<<<<<< HEAD $this->seek(0); return (string) stream_get_contents($this->stream); +======= + if ($this->isSeekable()) { + $this->seek(0); + } + return $this->getContents(); +>>>>>>> master } catch (\Exception $e) { return ''; } @@ -193,7 +204,11 @@ class Stream implements StreamInterface public function seek($offset, $whence = SEEK_SET) { $whence = (int) $whence; +<<<<<<< HEAD +======= + +>>>>>>> master if (!isset($this->stream)) { throw new \RuntimeException('Stream is detached'); } diff --git a/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php b/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php index daec6f52e..5d921f743 100644 --- a/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php +++ b/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -52,7 +56,11 @@ trait StreamDecoratorTrait public function getContents() { +<<<<<<< HEAD return copy_to_string($this); +======= + return Utils::copyToString($this); +>>>>>>> master } /** @@ -140,6 +148,10 @@ trait StreamDecoratorTrait * Implement in subclasses to dynamically create streams when requested. * * @return StreamInterface +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws \BadMethodCallException */ protected function createStream() diff --git a/vendor/guzzlehttp/psr7/src/StreamWrapper.php b/vendor/guzzlehttp/psr7/src/StreamWrapper.php index 0f3a2856a..7b5c6ceb5 100644 --- a/vendor/guzzlehttp/psr7/src/StreamWrapper.php +++ b/vendor/guzzlehttp/psr7/src/StreamWrapper.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; @@ -23,6 +27,10 @@ class StreamWrapper * @param StreamInterface $stream The stream to get a resource for * * @return resource +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws \InvalidArgumentException if stream is not readable or writable */ public static function getResource(StreamInterface $stream) diff --git a/vendor/guzzlehttp/psr7/src/UploadedFile.php b/vendor/guzzlehttp/psr7/src/UploadedFile.php index e62bd5c80..206bc38ff 100644 --- a/vendor/guzzlehttp/psr7/src/UploadedFile.php +++ b/vendor/guzzlehttp/psr7/src/UploadedFile.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use InvalidArgumentException; @@ -85,6 +89,10 @@ class UploadedFile implements UploadedFileInterface * Depending on the value set file or stream variable * * @param mixed $streamOrFile +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws InvalidArgumentException */ private function setStreamOrFile($streamOrFile) @@ -104,6 +112,10 @@ class UploadedFile implements UploadedFileInterface /** * @param int $error +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws InvalidArgumentException */ private function setError($error) @@ -125,6 +137,10 @@ class UploadedFile implements UploadedFileInterface /** * @param int $size +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws InvalidArgumentException */ private function setSize($size) @@ -158,6 +174,10 @@ class UploadedFile implements UploadedFileInterface /** * @param string|null $clientFilename +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws InvalidArgumentException */ private function setClientFilename($clientFilename) @@ -173,6 +193,10 @@ class UploadedFile implements UploadedFileInterface /** * @param string|null $clientMediaType +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws InvalidArgumentException */ private function setClientMediaType($clientMediaType) @@ -220,6 +244,10 @@ class UploadedFile implements UploadedFileInterface /** * {@inheritdoc} +<<<<<<< HEAD +======= + * +>>>>>>> master * @throws RuntimeException if the upload was not successful. */ public function getStream() @@ -238,7 +266,13 @@ class UploadedFile implements UploadedFileInterface * * @see http://php.net/is_uploaded_file * @see http://php.net/move_uploaded_file +<<<<<<< HEAD * @param string $targetPath Path to which to move the uploaded file. +======= + * + * @param string $targetPath Path to which to move the uploaded file. + * +>>>>>>> master * @throws RuntimeException if the upload was not successful. * @throws InvalidArgumentException if the $path specified is invalid. * @throws RuntimeException on any error during the move operation, or on @@ -259,7 +293,11 @@ class UploadedFile implements UploadedFileInterface ? rename($this->file, $targetPath) : move_uploaded_file($this->file, $targetPath); } else { +<<<<<<< HEAD copy_to_stream( +======= + Utils::copyToStream( +>>>>>>> master $this->getStream(), new LazyOpenStream($targetPath, 'w') ); diff --git a/vendor/guzzlehttp/psr7/src/Uri.php b/vendor/guzzlehttp/psr7/src/Uri.php index 825a25eed..74f549143 100644 --- a/vendor/guzzlehttp/psr7/src/Uri.php +++ b/vendor/guzzlehttp/psr7/src/Uri.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\UriInterface; diff --git a/vendor/guzzlehttp/psr7/src/UriNormalizer.php b/vendor/guzzlehttp/psr7/src/UriNormalizer.php index 384c29e50..2dfc8d340 100644 --- a/vendor/guzzlehttp/psr7/src/UriNormalizer.php +++ b/vendor/guzzlehttp/psr7/src/UriNormalizer.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\UriInterface; diff --git a/vendor/guzzlehttp/psr7/src/UriResolver.php b/vendor/guzzlehttp/psr7/src/UriResolver.php index c1cb8a275..b01e5693d 100644 --- a/vendor/guzzlehttp/psr7/src/UriResolver.php +++ b/vendor/guzzlehttp/psr7/src/UriResolver.php @@ -1,4 +1,8 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\UriInterface; diff --git a/vendor/guzzlehttp/psr7/src/functions.php b/vendor/guzzlehttp/psr7/src/functions.php index 8e6dafe68..6c5de1efa 100644 --- a/vendor/guzzlehttp/psr7/src/functions.php +++ b/vendor/guzzlehttp/psr7/src/functions.php @@ -1,10 +1,17 @@ >>>>>> master namespace GuzzleHttp\Psr7; use Psr\Http\Message\MessageInterface; use Psr\Http\Message\RequestInterface; +<<<<<<< HEAD use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; +======= +>>>>>>> master use Psr\Http\Message\StreamInterface; use Psr\Http\Message\UriInterface; @@ -14,6 +21,7 @@ use Psr\Http\Message\UriInterface; * @param MessageInterface $message Message to convert to a string. * * @return string +<<<<<<< HEAD */ function str(MessageInterface $message) { @@ -37,18 +45,33 @@ function str(MessageInterface $message) } return "{$msg}\r\n\r\n" . $message->getBody(); +======= + * + * @deprecated str will be removed in guzzlehttp/psr7:2.0. Use Message::toString instead. + */ +function str(MessageInterface $message) +{ + return Message::toString($message); +>>>>>>> master } /** * Returns a UriInterface for the given value. * +<<<<<<< HEAD * This function accepts a string or {@see Psr\Http\Message\UriInterface} and * returns a UriInterface for the given value. If the value is already a * `UriInterface`, it is returned as-is. +======= + * This function accepts a string or UriInterface and returns a + * UriInterface for the given value. If the value is already a + * UriInterface, it is returned as-is. +>>>>>>> master * * @param string|UriInterface $uri * * @return UriInterface +<<<<<<< HEAD * @throws \InvalidArgumentException */ function uri_for($uri) @@ -60,6 +83,16 @@ function uri_for($uri) } throw new \InvalidArgumentException('URI must be a string or UriInterface'); +======= + * + * @throws \InvalidArgumentException + * + * @deprecated uri_for will be removed in guzzlehttp/psr7:2.0. Use Utils::uriFor instead. + */ +function uri_for($uri) +{ + return Utils::uriFor($uri); +>>>>>>> master } /** @@ -69,10 +102,36 @@ function uri_for($uri) * - metadata: Array of custom metadata. * - size: Size of the stream. * +<<<<<<< HEAD +======= + * This method accepts the following `$resource` types: + * - `Psr\Http\Message\StreamInterface`: Returns the value as-is. + * - `string`: Creates a stream object that uses the given string as the contents. + * - `resource`: Creates a stream object that wraps the given PHP stream resource. + * - `Iterator`: If the provided value implements `Iterator`, then a read-only + * stream object will be created that wraps the given iterable. Each time the + * stream is read from, data from the iterator will fill a buffer and will be + * continuously called until the buffer is equal to the requested read size. + * Subsequent read calls will first read from the buffer and then call `next` + * on the underlying iterator until it is exhausted. + * - `object` with `__toString()`: If the object has the `__toString()` method, + * the object will be cast to a string and then a stream will be returned that + * uses the string value. + * - `NULL`: When `null` is passed, an empty stream object is returned. + * - `callable` When a callable is passed, a read-only stream object will be + * created that invokes the given callable. The callable is invoked with the + * number of suggested bytes to read. The callable can return any number of + * bytes, but MUST return `false` when there is no more data to return. The + * stream object that wraps the callable will invoke the callable until the + * number of requested bytes are available. Any additional bytes will be + * buffered and used in subsequent reads. + * +>>>>>>> master * @param resource|string|null|int|float|bool|StreamInterface|callable|\Iterator $resource Entity body data * @param array $options Additional options * * @return StreamInterface +<<<<<<< HEAD * @throws \InvalidArgumentException if the $resource arg is not valid. */ function stream_for($resource = '', array $options = []) @@ -114,17 +173,33 @@ function stream_for($resource = '', array $options = []) } throw new \InvalidArgumentException('Invalid resource type: ' . gettype($resource)); +======= + * + * @throws \InvalidArgumentException if the $resource arg is not valid. + * + * @deprecated stream_for will be removed in guzzlehttp/psr7:2.0. Use Utils::streamFor instead. + */ +function stream_for($resource = '', array $options = []) +{ + return Utils::streamFor($resource, $options); +>>>>>>> master } /** * Parse an array of header values containing ";" separated data into an +<<<<<<< HEAD * array of associative arrays representing the header key value pair * data of the header. When a parameter does not contain a value, but just +======= + * array of associative arrays representing the header key value pair data + * of the header. When a parameter does not contain a value, but just +>>>>>>> master * contains a key, this function will inject a key with a '' string value. * * @param string|array $header Header to parse into components. * * @return array Returns the parsed header values. +<<<<<<< HEAD */ function parse_header($header) { @@ -149,6 +224,14 @@ function parse_header($header) } return $params; +======= + * + * @deprecated parse_header will be removed in guzzlehttp/psr7:2.0. Use Header::parse instead. + */ +function parse_header($header) +{ + return Header::parse($header); +>>>>>>> master } /** @@ -158,6 +241,7 @@ function parse_header($header) * @param string|array $header Header to normalize. * * @return array Returns the normalized header field values. +<<<<<<< HEAD */ function normalize_header($header) { @@ -179,11 +263,25 @@ function normalize_header($header) } return $result; +======= + * + * @deprecated normalize_header will be removed in guzzlehttp/psr7:2.0. Use Header::normalize instead. + */ +function normalize_header($header) +{ + return Header::normalize($header); +>>>>>>> master } /** * Clone and modify a request with the given changes. * +<<<<<<< HEAD +======= + * This method is useful for reducing the number of clones needed to mutate a + * message. + * +>>>>>>> master * The changes can be one of: * - method: (string) Changes the HTTP method. * - set_headers: (array) Sets the given headers. @@ -197,6 +295,7 @@ function normalize_header($header) * @param array $changes Changes to apply. * * @return RequestInterface +<<<<<<< HEAD */ function modify_request(RequestInterface $request, array $changes) { @@ -263,6 +362,14 @@ function modify_request(RequestInterface $request, array $changes) ? $changes['version'] : $request->getProtocolVersion() ); +======= + * + * @deprecated modify_request will be removed in guzzlehttp/psr7:2.0. Use Utils::modifyRequest instead. + */ +function modify_request(RequestInterface $request, array $changes) +{ + return Utils::modifyRequest($request, $changes); +>>>>>>> master } /** @@ -274,6 +381,7 @@ function modify_request(RequestInterface $request, array $changes) * @param MessageInterface $message Message to rewind * * @throws \RuntimeException +<<<<<<< HEAD */ function rewind_body(MessageInterface $message) { @@ -282,6 +390,14 @@ function rewind_body(MessageInterface $message) if ($body->tell()) { $body->rewind(); } +======= + * + * @deprecated rewind_body will be removed in guzzlehttp/psr7:2.0. Use Message::rewindBody instead. + */ +function rewind_body(MessageInterface $message) +{ + Message::rewindBody($message); +>>>>>>> master } /** @@ -294,6 +410,7 @@ function rewind_body(MessageInterface $message) * @param string $mode Mode used to open the file * * @return resource +<<<<<<< HEAD * @throws \RuntimeException if the file cannot be opened */ function try_fopen($filename, $mode) @@ -317,6 +434,16 @@ function try_fopen($filename, $mode) } return $handle; +======= + * + * @throws \RuntimeException if the file cannot be opened + * + * @deprecated try_fopen will be removed in guzzlehttp/psr7:2.0. Use Utils::tryFopen instead. + */ +function try_fopen($filename, $mode) +{ + return Utils::tryFopen($filename, $mode); +>>>>>>> master } /** @@ -327,6 +454,7 @@ function try_fopen($filename, $mode) * @param int $maxLen Maximum number of bytes to read. Pass -1 * to read the entire stream. * @return string +<<<<<<< HEAD * @throws \RuntimeException on error. */ function copy_to_string(StreamInterface $stream, $maxLen = -1) @@ -357,6 +485,16 @@ function copy_to_string(StreamInterface $stream, $maxLen = -1) } return $buffer; +======= + * + * @throws \RuntimeException on error. + * + * @deprecated copy_to_string will be removed in guzzlehttp/psr7:2.0. Use Utils::copyToString instead. + */ +function copy_to_string(StreamInterface $stream, $maxLen = -1) +{ + return Utils::copyToString($stream, $maxLen); +>>>>>>> master } /** @@ -369,6 +507,7 @@ function copy_to_string(StreamInterface $stream, $maxLen = -1) * to read the entire stream. * * @throws \RuntimeException on error. +<<<<<<< HEAD */ function copy_to_stream( StreamInterface $source, @@ -399,12 +538,28 @@ function copy_to_stream( /** * Calculate a hash of a Stream +======= + * + * @deprecated copy_to_stream will be removed in guzzlehttp/psr7:2.0. Use Utils::copyToStream instead. + */ +function copy_to_stream(StreamInterface $source, StreamInterface $dest, $maxLen = -1) +{ + return Utils::copyToStream($source, $dest, $maxLen); +} + +/** + * Calculate a hash of a stream. + * + * This method reads the entire stream to calculate a rolling hash, based on + * PHP's `hash_init` functions. +>>>>>>> master * * @param StreamInterface $stream Stream to calculate the hash for * @param string $algo Hash algorithm (e.g. md5, crc32, etc) * @param bool $rawOutput Whether or not to use raw output * * @return string Returns the hash of the stream +<<<<<<< HEAD * @throws \RuntimeException on error. */ function hash( @@ -455,6 +610,31 @@ function readline(StreamInterface $stream, $maxLength = null) } return $buffer; +======= + * + * @throws \RuntimeException on error. + * + * @deprecated hash will be removed in guzzlehttp/psr7:2.0. Use Utils::hash instead. + */ +function hash(StreamInterface $stream, $algo, $rawOutput = false) +{ + return Utils::hash($stream, $algo, $rawOutput); +} + +/** + * Read a line from the stream up to the maximum allowed buffer length. + * + * @param StreamInterface $stream Stream to read from + * @param int|null $maxLength Maximum buffer length + * + * @return string + * + * @deprecated readline will be removed in guzzlehttp/psr7:2.0. Use Utils::readLine instead. + */ +function readline(StreamInterface $stream, $maxLength = null) +{ + return Utils::readLine($stream, $maxLength); +>>>>>>> master } /** @@ -463,6 +643,7 @@ function readline(StreamInterface $stream, $maxLength = null) * @param string $message Request message string. * * @return Request +<<<<<<< HEAD */ function parse_request($message) { @@ -483,6 +664,14 @@ function parse_request($message) ); return $matches[1] === '/' ? $request : $request->withRequestTarget($parts[1]); +======= + * + * @deprecated parse_request will be removed in guzzlehttp/psr7:2.0. Use Message::parseRequest instead. + */ +function parse_request($message) +{ + return Message::parseRequest($message); +>>>>>>> master } /** @@ -491,6 +680,7 @@ function parse_request($message) * @param string $message Response message string. * * @return Response +<<<<<<< HEAD */ function parse_response($message) { @@ -510,20 +700,36 @@ function parse_response($message) explode('/', $parts[0])[1], isset($parts[2]) ? $parts[2] : null ); +======= + * + * @deprecated parse_response will be removed in guzzlehttp/psr7:2.0. Use Message::parseResponse instead. + */ +function parse_response($message) +{ + return Message::parseResponse($message); +>>>>>>> master } /** * Parse a query string into an associative array. * +<<<<<<< HEAD * If multiple values are found for the same key, the value of that key * value pair will become an array. This function does not parse nested * PHP style arrays into an associative array (e.g., foo[a]=1&foo[b]=2 will * be parsed into ['foo[a]' => '1', 'foo[b]' => '2']). +======= + * If multiple values are found for the same key, the value of that key value + * pair will become an array. This function does not parse nested PHP style + * arrays into an associative array (e.g., `foo[a]=1&foo[b]=2` will be parsed + * into `['foo[a]' => '1', 'foo[b]' => '2'])`. +>>>>>>> master * * @param string $str Query string to parse * @param int|bool $urlEncoding How the query string is encoded * * @return array +<<<<<<< HEAD */ function parse_query($str, $urlEncoding = true) { @@ -560,20 +766,35 @@ function parse_query($str, $urlEncoding = true) } return $result; +======= + * + * @deprecated parse_query will be removed in guzzlehttp/psr7:2.0. Use Query::parse instead. + */ +function parse_query($str, $urlEncoding = true) +{ + return Query::parse($str, $urlEncoding); +>>>>>>> master } /** * Build a query string from an array of key value pairs. * +<<<<<<< HEAD * This function can use the return value of parse_query() to build a query * string. This function does not modify the provided keys when an array is * encountered (like http_build_query would). +======= + * This function can use the return value of `parse_query()` to build a query + * string. This function does not modify the provided keys when an array is + * encountered (like `http_build_query()` would). +>>>>>>> master * * @param array $params Query string parameters. * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 * to encode using RFC3986, or PHP_QUERY_RFC1738 * to encode using RFC1738. * @return string +<<<<<<< HEAD */ function build_query(array $params, $encoding = PHP_QUERY_RFC3986) { @@ -612,11 +833,20 @@ function build_query(array $params, $encoding = PHP_QUERY_RFC3986) } return $qs ? (string) substr($qs, 0, -1) : ''; +======= + * + * @deprecated build_query will be removed in guzzlehttp/psr7:2.0. Use Query::build instead. + */ +function build_query(array $params, $encoding = PHP_QUERY_RFC3986) +{ + return Query::build($params, $encoding); +>>>>>>> master } /** * Determines the mimetype of a file by looking at its extension. * +<<<<<<< HEAD * @param $filename * * @return null|string @@ -624,6 +854,17 @@ function build_query(array $params, $encoding = PHP_QUERY_RFC3986) function mimetype_from_filename($filename) { return mimetype_from_extension(pathinfo($filename, PATHINFO_EXTENSION)); +======= + * @param string $filename + * + * @return string|null + * + * @deprecated mimetype_from_filename will be removed in guzzlehttp/psr7:2.0. Use MimeType::fromFilename instead. + */ +function mimetype_from_filename($filename) +{ + return MimeType::fromFilename($filename); +>>>>>>> master } /** @@ -632,6 +873,7 @@ function mimetype_from_filename($filename) * @param $extension string The file extension. * * @return string|null +<<<<<<< HEAD * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types */ function mimetype_from_extension($extension) @@ -745,6 +987,15 @@ function mimetype_from_extension($extension) return isset($mimetypes[$extension]) ? $mimetypes[$extension] : null; +======= + * + * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types + * @deprecated mimetype_from_extension will be removed in guzzlehttp/psr7:2.0. Use MimeType::fromExtension instead. + */ +function mimetype_from_extension($extension) +{ + return MimeType::fromExtension($extension); +>>>>>>> master } /** @@ -757,6 +1008,7 @@ function mimetype_from_extension($extension) * @param string $message HTTP request or response to parse. * * @return array +<<<<<<< HEAD * @internal */ function _parse_message($message) @@ -812,6 +1064,15 @@ function _parse_message($message) 'headers' => $headers, 'body' => $body, ]; +======= + * + * @internal + * @deprecated _parse_message will be removed in guzzlehttp/psr7:2.0. Use Message::parseMessage instead. + */ +function _parse_message($message) +{ + return Message::parseMessage($message); +>>>>>>> master } /** @@ -821,6 +1082,7 @@ function _parse_message($message) * @param array $headers Array of headers (each value an array). * * @return string +<<<<<<< HEAD * @internal */ function _parse_request_uri($path, array $headers) @@ -842,12 +1104,26 @@ function _parse_request_uri($path, array $headers) /** * Get a short summary of the message body +======= + * + * @internal + * @deprecated _parse_request_uri will be removed in guzzlehttp/psr7:2.0. Use Message::parseRequestUri instead. + */ +function _parse_request_uri($path, array $headers) +{ + return Message::parseRequestUri($path, $headers); +} + +/** + * Get a short summary of the message body. +>>>>>>> master * * Will return `null` if the response is not printable. * * @param MessageInterface $message The message to get the body summary * @param int $truncateAt The maximum allowed size of the summary * +<<<<<<< HEAD * @return null|string */ function get_message_body_summary(MessageInterface $message, $truncateAt = 120) @@ -896,4 +1172,28 @@ function _caseless_remove($keys, array $data) } return $result; +======= + * @return string|null + * + * @deprecated get_message_body_summary will be removed in guzzlehttp/psr7:2.0. Use Message::bodySummary instead. + */ +function get_message_body_summary(MessageInterface $message, $truncateAt = 120) +{ + return Message::bodySummary($message, $truncateAt); +} + +/** + * Remove the items given by the keys, case insensitively from the data. + * + * @param iterable $keys + * + * @return array + * + * @internal + * @deprecated _caseless_remove will be removed in guzzlehttp/psr7:2.0. Use Utils::caselessRemove instead. + */ +function _caseless_remove($keys, array $data) +{ + return Utils::caselessRemove($keys, $data); +>>>>>>> master } diff --git a/vendor/maxmind-db/reader/CHANGELOG.md b/vendor/maxmind-db/reader/CHANGELOG.md index 2a3898462..d69fed1d8 100644 --- a/vendor/maxmind-db/reader/CHANGELOG.md +++ b/vendor/maxmind-db/reader/CHANGELOG.md @@ -1,6 +1,14 @@ CHANGELOG ========= +<<<<<<< HEAD +======= +1.8.0 (2020-10-01) +------------------ + +* Fixes for PHP 8.0. Pull Request by Remi Collet. GitHub #108. + +>>>>>>> master 1.7.0 (2020-08-07) ------------------ diff --git a/vendor/maxmind-db/reader/composer.json b/vendor/maxmind-db/reader/composer.json index bbb43b886..a93bed277 100644 --- a/vendor/maxmind-db/reader/composer.json +++ b/vendor/maxmind-db/reader/composer.json @@ -21,7 +21,11 @@ "ext-maxminddb": "A C-based database decoder that provides significantly faster lookups" }, "conflict": { +<<<<<<< HEAD "ext-maxminddb": "<1.7.0,>=2.0.0" +======= + "ext-maxminddb": "<1.8.0,>=2.0.0" +>>>>>>> master }, "require-dev": { "friendsofphp/php-cs-fixer": "2.*", diff --git a/vendor/maxmind-db/reader/ext/maxminddb.c b/vendor/maxmind-db/reader/ext/maxminddb.c index 4947492ad..a4ef388aa 100644 --- a/vendor/maxmind-db/reader/ext/maxminddb.c +++ b/vendor/maxmind-db/reader/ext/maxminddb.c @@ -45,6 +45,7 @@ typedef size_t strsize_t; typedef zend_object free_obj_t; /* For PHP 8 compatibility */ +<<<<<<< HEAD #ifndef TSRMLS_C #define TSRMLS_C #endif @@ -54,6 +55,23 @@ typedef zend_object free_obj_t; #ifndef TSRMLS_DC #define TSRMLS_DC #endif +======= +#if PHP_VERSION_ID < 80000 + +#define PROP_OBJ(zv) (zv) + +#else + +#define PROP_OBJ(zv) Z_OBJ_P(zv) + +#define TSRMLS_C +#define TSRMLS_CC +#define TSRMLS_DC + +/* End PHP 8 compatibility */ +#endif + +>>>>>>> master #ifndef ZEND_ACC_CTOR #define ZEND_ACC_CTOR 0 #endif @@ -334,14 +352,19 @@ PHP_METHOD(MaxMind_Db_Reader, metadata) { return; } MMDB_free_entry_data_list(entry_data_list); +<<<<<<< HEAD #if PHP_VERSION_ID >= 80000 zend_call_method_with_1_params(Z_OBJ_P(return_value), +======= + zend_call_method_with_1_params(PROP_OBJ(return_value), +>>>>>>> master metadata_ce, &metadata_ce->constructor, ZEND_CONSTRUCTOR_FUNC_NAME, NULL, &metadata_array); zval_ptr_dtor(&metadata_array); +<<<<<<< HEAD #else zend_call_method_with_1_params(return_value, metadata_ce, @@ -351,6 +374,8 @@ PHP_METHOD(MaxMind_Db_Reader, metadata) { &metadata_array); zval_ptr_dtor(&metadata_array); #endif +======= +>>>>>>> master } PHP_METHOD(MaxMind_Db_Reader, close) { @@ -607,7 +632,11 @@ PHP_METHOD(MaxMind_Db_Reader_Metadata, __construct) { "binary_format_major_version", sizeof("binary_format_major_version") - 1))) { zend_update_property(metadata_ce, +<<<<<<< HEAD object, +======= + PROP_OBJ(object), +>>>>>>> master "binaryFormatMajorVersion", sizeof("binaryFormatMajorVersion") - 1, tmp); @@ -617,7 +646,11 @@ PHP_METHOD(MaxMind_Db_Reader_Metadata, __construct) { "binary_format_minor_version", sizeof("binary_format_minor_version") - 1))) { zend_update_property(metadata_ce, +<<<<<<< HEAD object, +======= + PROP_OBJ(object), +>>>>>>> master "binaryFormatMinorVersion", sizeof("binaryFormatMinorVersion") - 1, tmp); @@ -626,15 +659,27 @@ PHP_METHOD(MaxMind_Db_Reader_Metadata, __construct) { if ((tmp = zend_hash_str_find(HASH_OF(metadata_array), "build_epoch", sizeof("build_epoch") - 1))) { +<<<<<<< HEAD zend_update_property( metadata_ce, object, "buildEpoch", sizeof("buildEpoch") - 1, tmp); +======= + zend_update_property(metadata_ce, + PROP_OBJ(object), + "buildEpoch", + sizeof("buildEpoch") - 1, + tmp); +>>>>>>> master } if ((tmp = zend_hash_str_find(HASH_OF(metadata_array), "database_type", sizeof("database_type") - 1))) { zend_update_property(metadata_ce, +<<<<<<< HEAD object, +======= + PROP_OBJ(object), +>>>>>>> master "databaseType", sizeof("databaseType") - 1, tmp); @@ -643,28 +688,60 @@ PHP_METHOD(MaxMind_Db_Reader_Metadata, __construct) { if ((tmp = zend_hash_str_find(HASH_OF(metadata_array), "description", sizeof("description") - 1))) { +<<<<<<< HEAD zend_update_property( metadata_ce, object, "description", sizeof("description") - 1, tmp); +======= + zend_update_property(metadata_ce, + PROP_OBJ(object), + "description", + sizeof("description") - 1, + tmp); +>>>>>>> master } if ((tmp = zend_hash_str_find(HASH_OF(metadata_array), "ip_version", sizeof("ip_version") - 1))) { +<<<<<<< HEAD zend_update_property( metadata_ce, object, "ipVersion", sizeof("ipVersion") - 1, tmp); +======= + zend_update_property(metadata_ce, + PROP_OBJ(object), + "ipVersion", + sizeof("ipVersion") - 1, + tmp); +>>>>>>> master } if ((tmp = zend_hash_str_find( HASH_OF(metadata_array), "languages", sizeof("languages") - 1))) { +<<<<<<< HEAD zend_update_property( metadata_ce, object, "languages", sizeof("languages") - 1, tmp); +======= + zend_update_property(metadata_ce, + PROP_OBJ(object), + "languages", + sizeof("languages") - 1, + tmp); +>>>>>>> master } if ((tmp = zend_hash_str_find(HASH_OF(metadata_array), "record_size", sizeof("record_size") - 1))) { +<<<<<<< HEAD zend_update_property( metadata_ce, object, "recordSize", sizeof("recordSize") - 1, tmp); +======= + zend_update_property(metadata_ce, + PROP_OBJ(object), + "recordSize", + sizeof("recordSize") - 1, + tmp); +>>>>>>> master if (Z_TYPE_P(tmp) == IS_LONG) { record_size = Z_LVAL_P(tmp); } @@ -672,7 +749,11 @@ PHP_METHOD(MaxMind_Db_Reader_Metadata, __construct) { if (record_size != 0) { zend_update_property_long(metadata_ce, +<<<<<<< HEAD object, +======= + PROP_OBJ(object), +>>>>>>> master "nodeByteSize", sizeof("nodeByteSize") - 1, record_size / 4); @@ -681,8 +762,16 @@ PHP_METHOD(MaxMind_Db_Reader_Metadata, __construct) { if ((tmp = zend_hash_str_find(HASH_OF(metadata_array), "node_count", sizeof("node_count") - 1))) { +<<<<<<< HEAD zend_update_property( metadata_ce, object, "nodeCount", sizeof("nodeCount") - 1, tmp); +======= + zend_update_property(metadata_ce, + PROP_OBJ(object), + "nodeCount", + sizeof("nodeCount") - 1, + tmp); +>>>>>>> master if (Z_TYPE_P(tmp) == IS_LONG) { node_count = Z_LVAL_P(tmp); } @@ -690,7 +779,11 @@ PHP_METHOD(MaxMind_Db_Reader_Metadata, __construct) { if (record_size != 0) { zend_update_property_long(metadata_ce, +<<<<<<< HEAD object, +======= + PROP_OBJ(object), +>>>>>>> master "searchTreeSize", sizeof("searchTreeSize") - 1, record_size * node_count / 4); diff --git a/vendor/maxmind-db/reader/ext/php_maxminddb.h b/vendor/maxmind-db/reader/ext/php_maxminddb.h index a6b8e4800..68b46ef21 100644 --- a/vendor/maxmind-db/reader/ext/php_maxminddb.h +++ b/vendor/maxmind-db/reader/ext/php_maxminddb.h @@ -15,7 +15,11 @@ #ifndef PHP_MAXMINDDB_H #define PHP_MAXMINDDB_H 1 +<<<<<<< HEAD #define PHP_MAXMINDDB_VERSION "1.7.0" +======= +#define PHP_MAXMINDDB_VERSION "1.8.0" +>>>>>>> master #define PHP_MAXMINDDB_EXTNAME "maxminddb" extern zend_module_entry maxminddb_module_entry; diff --git a/vendor/maxmind-db/reader/package.xml b/vendor/maxmind-db/reader/package.xml index 7e67a77a2..8885ec744 100644 --- a/vendor/maxmind-db/reader/package.xml +++ b/vendor/maxmind-db/reader/package.xml @@ -14,9 +14,15 @@ goschwald@maxmind.com yes +<<<<<<< HEAD 2020-08-07 1.7.0 +======= + 2020-10-01 + + 1.8.0 +>>>>>>> master 1.7.0 @@ -24,6 +30,7 @@ stable Apache License 2.0 +<<<<<<< HEAD * IMPORTANT: PHP 7.2 or greater is now required. * The extension no longer depends on the pure PHP classes in `maxmind-db/reader`. You can use it independently. @@ -35,6 +42,9 @@ #92. * This is the first release of the extension as a PECL package. GitHub #34. +======= + * Fixes for PHP 8.0. Pull Request by Remi Collet. GitHub #108. +>>>>>>> master diff --git a/vendor/maxmind/web-service-common/CHANGELOG.md b/vendor/maxmind/web-service-common/CHANGELOG.md index 48295470b..029336856 100644 --- a/vendor/maxmind/web-service-common/CHANGELOG.md +++ b/vendor/maxmind/web-service-common/CHANGELOG.md @@ -1,6 +1,24 @@ CHANGELOG ========= +<<<<<<< HEAD +======= +0.8.1 (2020-11-02) +------------------ + +* We now correctly handle responses without a `Content-Type` header. In 0.8.0, + such responses could lead to a type error. In particular, this affected the + minFraud Report Transaction endpoint, which returns a response with no + content. Reported by Dmitry Malashko. GitHub #99 on + `maxmind/minfraud-api-php`. + +0.8.0 (2020-10-01) +------------------ + +* PHP 7.2 or greater is now required. +* Added additional type hints. + +>>>>>>> master 0.7.0 (2020-05-06) ------------------ diff --git a/vendor/maxmind/web-service-common/README.md b/vendor/maxmind/web-service-common/README.md index bee04ac39..2a7118048 100644 --- a/vendor/maxmind/web-service-common/README.md +++ b/vendor/maxmind/web-service-common/README.md @@ -5,7 +5,11 @@ shared code between MaxMind's various web service client APIs. ## Requirements ## +<<<<<<< HEAD The library requires PHP 5.6 or greater. +======= +The library requires PHP 7.2 or greater. +>>>>>>> master There are several other dependencies as defined in the `composer.json` file. diff --git a/vendor/maxmind/web-service-common/composer.json b/vendor/maxmind/web-service-common/composer.json index 21ced3385..7fc785cdb 100644 --- a/vendor/maxmind/web-service-common/composer.json +++ b/vendor/maxmind/web-service-common/composer.json @@ -12,14 +12,22 @@ } ], "require": { +<<<<<<< HEAD "php": ">=5.6", +======= + "php": ">=7.2", +>>>>>>> master "composer/ca-bundle": "^1.0.3", "ext-curl": "*", "ext-json": "*" }, "require-dev": { "friendsofphp/php-cs-fixer": "2.*", +<<<<<<< HEAD "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0", +======= + "phpunit/phpunit": "^8.0 || ^9.0", +>>>>>>> master "squizlabs/php_codesniffer": "3.*" }, "autoload": { diff --git a/vendor/maxmind/web-service-common/src/Exception/AuthenticationException.php b/vendor/maxmind/web-service-common/src/Exception/AuthenticationException.php index ba423627b..e548e0752 100644 --- a/vendor/maxmind/web-service-common/src/Exception/AuthenticationException.php +++ b/vendor/maxmind/web-service-common/src/Exception/AuthenticationException.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\Exception; /** diff --git a/vendor/maxmind/web-service-common/src/Exception/HttpException.php b/vendor/maxmind/web-service-common/src/Exception/HttpException.php index f158944b5..7a58e29db 100644 --- a/vendor/maxmind/web-service-common/src/Exception/HttpException.php +++ b/vendor/maxmind/web-service-common/src/Exception/HttpException.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\Exception; /** @@ -19,21 +24,35 @@ class HttpException extends WebServiceException * @param \Exception $previous the previous exception, if any */ public function __construct( +<<<<<<< HEAD $message, $httpStatus, $uri, +======= + string $message, + int $httpStatus, + string $uri, +>>>>>>> master \Exception $previous = null ) { $this->uri = $uri; parent::__construct($message, $httpStatus, $previous); } +<<<<<<< HEAD public function getUri() +======= + public function getUri(): string +>>>>>>> master { return $this->uri; } +<<<<<<< HEAD public function getStatusCode() +======= + public function getStatusCode(): int +>>>>>>> master { return $this->getCode(); } diff --git a/vendor/maxmind/web-service-common/src/Exception/InsufficientFundsException.php b/vendor/maxmind/web-service-common/src/Exception/InsufficientFundsException.php index fe159a2a5..e32225058 100644 --- a/vendor/maxmind/web-service-common/src/Exception/InsufficientFundsException.php +++ b/vendor/maxmind/web-service-common/src/Exception/InsufficientFundsException.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\Exception; /** diff --git a/vendor/maxmind/web-service-common/src/Exception/InvalidInputException.php b/vendor/maxmind/web-service-common/src/Exception/InvalidInputException.php index 3a6b32ae1..4343b5f6a 100644 --- a/vendor/maxmind/web-service-common/src/Exception/InvalidInputException.php +++ b/vendor/maxmind/web-service-common/src/Exception/InvalidInputException.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\Exception; /** diff --git a/vendor/maxmind/web-service-common/src/Exception/InvalidRequestException.php b/vendor/maxmind/web-service-common/src/Exception/InvalidRequestException.php index 354f4b64f..b6f3be635 100644 --- a/vendor/maxmind/web-service-common/src/Exception/InvalidRequestException.php +++ b/vendor/maxmind/web-service-common/src/Exception/InvalidRequestException.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\Exception; /** @@ -14,23 +19,38 @@ class InvalidRequestException extends HttpException /** * @param string $message the exception message +<<<<<<< HEAD * @param int $error the error code returned by the MaxMind web service +======= + * @param string $error the error code returned by the MaxMind web service +>>>>>>> master * @param int $httpStatus the HTTP status code of the response * @param string $uri the URI queries * @param \Exception $previous the previous exception, if any */ public function __construct( +<<<<<<< HEAD $message, $error, $httpStatus, $uri, +======= + string $message, + string $error, + int $httpStatus, + string $uri, +>>>>>>> master \Exception $previous = null ) { $this->error = $error; parent::__construct($message, $httpStatus, $uri, $previous); } +<<<<<<< HEAD public function getErrorCode() +======= + public function getErrorCode(): string +>>>>>>> master { return $this->error; } diff --git a/vendor/maxmind/web-service-common/src/Exception/IpAddressNotFoundException.php b/vendor/maxmind/web-service-common/src/Exception/IpAddressNotFoundException.php index 31608f718..0eec89d84 100644 --- a/vendor/maxmind/web-service-common/src/Exception/IpAddressNotFoundException.php +++ b/vendor/maxmind/web-service-common/src/Exception/IpAddressNotFoundException.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\Exception; class IpAddressNotFoundException extends InvalidRequestException diff --git a/vendor/maxmind/web-service-common/src/Exception/PermissionRequiredException.php b/vendor/maxmind/web-service-common/src/Exception/PermissionRequiredException.php index 5f8785443..39dafd3d5 100644 --- a/vendor/maxmind/web-service-common/src/Exception/PermissionRequiredException.php +++ b/vendor/maxmind/web-service-common/src/Exception/PermissionRequiredException.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\Exception; /** diff --git a/vendor/maxmind/web-service-common/src/Exception/WebServiceException.php b/vendor/maxmind/web-service-common/src/Exception/WebServiceException.php index ff33452f0..f8515e315 100644 --- a/vendor/maxmind/web-service-common/src/Exception/WebServiceException.php +++ b/vendor/maxmind/web-service-common/src/Exception/WebServiceException.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\Exception; /** diff --git a/vendor/maxmind/web-service-common/src/WebService/Client.php b/vendor/maxmind/web-service-common/src/WebService/Client.php index a8eb379dc..cc35de713 100644 --- a/vendor/maxmind/web-service-common/src/WebService/Client.php +++ b/vendor/maxmind/web-service-common/src/WebService/Client.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\WebService; use Composer\CaBundle\CaBundle; @@ -47,9 +52,15 @@ class Client * username, and password, e.g., `http://username:password@127.0.0.1:10`. */ public function __construct( +<<<<<<< HEAD $accountId, $licenseKey, $options = [] +======= + int $accountId, + string $licenseKey, + array $options = [] +>>>>>>> master ) { $this->accountId = $accountId; $this->licenseKey = $licenseKey; @@ -96,9 +107,15 @@ class Client * @throws WebServiceException when some other error occurs. This also * serves as the base class for the above exceptions. * +<<<<<<< HEAD * @return array The decoded content of a successful response */ public function post($service, $path, $input) +======= + * @return array|null The decoded content of a successful response + */ + public function post(string $service, string $path, array $input): ?array +>>>>>>> master { $requestBody = json_encode($input); if ($requestBody === false) { @@ -124,7 +141,11 @@ class Client ); } +<<<<<<< HEAD public function get($service, $path) +======= + public function get(string $service, string $path): ?array +>>>>>>> master { $request = $this->createRequest($path); @@ -139,7 +160,11 @@ class Client ); } +<<<<<<< HEAD private function userAgent() +======= + private function userAgent(): string +>>>>>>> master { $curlVersion = curl_version(); @@ -147,7 +172,11 @@ class Client ' curl/' . $curlVersion['version']; } +<<<<<<< HEAD private function createRequest($path, $headers = []) +======= + private function createRequest(string $path, array $headers = []): \MaxMind\WebService\Http\Request +>>>>>>> master { array_push( $headers, @@ -170,11 +199,19 @@ class Client } /** +<<<<<<< HEAD * @param int $statusCode the HTTP status code of the response * @param string $contentType the Content-Type of the response * @param string $responseBody the response body * @param string $service the name of the service * @param string $path the path used in the request +======= + * @param int $statusCode the HTTP status code of the response + * @param string|null $contentType the Content-Type of the response + * @param string|null $responseBody the response body + * @param string $service the name of the service + * @param string $path the path used in the request +>>>>>>> master * * @throws AuthenticationException when there is an issue authenticating the * request @@ -185,6 +222,7 @@ class Client * @throws WebServiceException when some other error occurs. This also * serves as the base class for the above exceptions * +<<<<<<< HEAD * @return array The decoded content of a successful response */ private function handleResponse( @@ -194,6 +232,17 @@ class Client $service, $path ) { +======= + * @return array|null The decoded content of a successful response + */ + private function handleResponse( + int $statusCode, + ?string $contentType, + ?string $responseBody, + string $service, + string $path + ): ?array { +>>>>>>> master if ($statusCode >= 400 && $statusCode <= 499) { $this->handle4xx($statusCode, $contentType, $responseBody, $service, $path); } elseif ($statusCode >= 500) { @@ -208,7 +257,11 @@ class Client /** * @return string describing the JSON error */ +<<<<<<< HEAD private function jsonErrorDescription() +======= + private function jsonErrorDescription(): string +>>>>>>> master { $errno = json_last_error(); switch ($errno) { @@ -232,17 +285,29 @@ class Client * * @return string the constructed URL */ +<<<<<<< HEAD private function urlFor($path) +======= + private function urlFor(string $path): string +>>>>>>> master { return 'https://' . $this->host . $path; } /** +<<<<<<< HEAD * @param int $statusCode the HTTP status code * @param string $contentType the response content-type * @param string $body the response body * @param string $service the service name * @param string $path the path used in the request +======= + * @param int $statusCode the HTTP status code + * @param string|null $contentType the response content-type + * @param string|null $body the response body + * @param string $service the service name + * @param string $path the path used in the request +>>>>>>> master * * @throws AuthenticationException * @throws HttpException @@ -250,6 +315,7 @@ class Client * @throws InvalidRequestException */ private function handle4xx( +<<<<<<< HEAD $statusCode, $contentType, $body, @@ -257,13 +323,26 @@ class Client $path ) { if (\strlen($body) === 0) { +======= + int $statusCode, + ?string $contentType, + ?string $body, + string $service, + string $path + ): void { + if ($body === null || $body === '') { +>>>>>>> master throw new HttpException( "Received a $statusCode error for $service with no body", $statusCode, $this->urlFor($path) ); } +<<<<<<< HEAD if (!strstr($contentType, 'json')) { +======= + if ($contentType === null || !strstr($contentType, 'json')) { +>>>>>>> master throw new HttpException( "Received a $statusCode error for $service with " . 'the following body: ' . $body, @@ -311,11 +390,19 @@ class Client * @throws InsufficientFundsException */ private function handleWebServiceError( +<<<<<<< HEAD $message, $code, $statusCode, $path ) { +======= + string $message, + string $code, + int $statusCode, + string $path + ): void { +>>>>>>> master switch ($code) { case 'IP_ADDRESS_NOT_FOUND': case 'IP_ADDRESS_RESERVED': @@ -369,7 +456,11 @@ class Client * * @throws HttpException */ +<<<<<<< HEAD private function handle5xx($statusCode, $service, $path) +======= + private function handle5xx(int $statusCode, string $service, string $path): void +>>>>>>> master { throw new HttpException( "Received a server error ($statusCode) for $service", @@ -385,7 +476,11 @@ class Client * * @throws HttpException */ +<<<<<<< HEAD private function handleUnexpectedStatus($statusCode, $service, $path) +======= + private function handleUnexpectedStatus(int $statusCode, string $service, string $path): void +>>>>>>> master { throw new HttpException( 'Received an unexpected HTTP status ' . @@ -396,15 +491,22 @@ class Client } /** +<<<<<<< HEAD * @param int $statusCode the HTTP status code * @param string $body the successful request body * @param string $service the service name +======= + * @param int $statusCode the HTTP status code + * @param string|null $body the successful request body + * @param string $service the service name +>>>>>>> master * * @throws WebServiceException if a response body is included but not * expected, or is not expected but not * included, or is expected and included * but cannot be decoded as JSON * +<<<<<<< HEAD * @return array the decoded request body */ private function handleSuccess($statusCode, $body, $service) @@ -412,6 +514,15 @@ class Client // A 204 should have no response body if ($statusCode === 204) { if (\strlen($body) !== 0) { +======= + * @return array|null the decoded request body + */ + private function handleSuccess(int $statusCode, ?string $body, string $service): ?array + { + // A 204 should have no response body + if ($statusCode === 204) { + if ($body !== null && $body !== '') { +>>>>>>> master throw new WebServiceException( "Received a 204 response for $service along with an " . "unexpected HTTP body: $body" @@ -422,7 +533,11 @@ class Client } // A 200 should have a valid JSON body +<<<<<<< HEAD if (\strlen($body) === 0) { +======= + if ($body === null || $body === '') { +>>>>>>> master throw new WebServiceException( "Received a 200 response for $service but did not " . 'receive a HTTP body.' diff --git a/vendor/maxmind/web-service-common/src/WebService/Http/CurlRequest.php b/vendor/maxmind/web-service-common/src/WebService/Http/CurlRequest.php index ce1cf73ad..491d7c847 100644 --- a/vendor/maxmind/web-service-common/src/WebService/Http/CurlRequest.php +++ b/vendor/maxmind/web-service-common/src/WebService/Http/CurlRequest.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\WebService\Http; use MaxMind\Exception\HttpException; @@ -26,11 +31,15 @@ class CurlRequest implements Request */ private $options; +<<<<<<< HEAD /** * @param string $url * @param array $options */ public function __construct($url, $options) +======= + public function __construct(string $url, array $options) +>>>>>>> master { $this->url = $url; $this->options = $options; @@ -38,6 +47,7 @@ class CurlRequest implements Request } /** +<<<<<<< HEAD * @param string $body * * @throws HttpException @@ -45,6 +55,11 @@ class CurlRequest implements Request * @return array */ public function post($body) +======= + * @throws HttpException + */ + public function post(string $body): array +>>>>>>> master { $curl = $this->createCurl(); @@ -54,7 +69,11 @@ class CurlRequest implements Request return $this->execute($curl); } +<<<<<<< HEAD public function get() +======= + public function get(): array +>>>>>>> master { $curl = $this->createCurl(); @@ -112,10 +131,15 @@ class CurlRequest implements Request * @param resource $curl * * @throws HttpException +<<<<<<< HEAD * * @return array */ private function execute($curl) +======= + */ + private function execute($curl): array +>>>>>>> master { $body = curl_exec($curl); if ($errno = curl_errno($curl)) { @@ -131,6 +155,18 @@ class CurlRequest implements Request $statusCode = curl_getinfo($curl, CURLINFO_HTTP_CODE); $contentType = curl_getinfo($curl, CURLINFO_CONTENT_TYPE); +<<<<<<< HEAD return [$statusCode, $contentType, $body]; +======= + return [ + $statusCode, + // The PHP docs say "Content-Type: of the requested document. NULL + // indicates server did not send valid Content-Type: header" for + // CURLINFO_CONTENT_TYPE. However, it will return FALSE if no header + // is set. To keep our types simple, we return null in this case. + ($contentType === false ? null : $contentType), + $body, + ]; +>>>>>>> master } } diff --git a/vendor/maxmind/web-service-common/src/WebService/Http/Request.php b/vendor/maxmind/web-service-common/src/WebService/Http/Request.php index 641c1ffcc..d46a123d7 100644 --- a/vendor/maxmind/web-service-common/src/WebService/Http/Request.php +++ b/vendor/maxmind/web-service-common/src/WebService/Http/Request.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\WebService\Http; /** @@ -9,6 +14,7 @@ namespace MaxMind\WebService\Http; */ interface Request { +<<<<<<< HEAD /** * @param string $url * @param array $options @@ -26,4 +32,11 @@ interface Request * @return mixed */ public function get(); +======= + public function __construct(string $url, array $options); + + public function post(string $body): array; + + public function get(): array; +>>>>>>> master } diff --git a/vendor/maxmind/web-service-common/src/WebService/Http/RequestFactory.php b/vendor/maxmind/web-service-common/src/WebService/Http/RequestFactory.php index f4b39c908..4dad14607 100644 --- a/vendor/maxmind/web-service-common/src/WebService/Http/RequestFactory.php +++ b/vendor/maxmind/web-service-common/src/WebService/Http/RequestFactory.php @@ -1,5 +1,10 @@ >>>>>> master namespace MaxMind\WebService\Http; /** @@ -35,12 +40,18 @@ class RequestFactory } /** +<<<<<<< HEAD * @param string $url * @param array $options * * @return Request */ public function request($url, $options) +======= + * @return Request + */ + public function request(string $url, array $options) +>>>>>>> master { $options['curlHandle'] = $this->getCurlHandle(); diff --git a/vendor/paragonie/random_compat/composer.json b/vendor/paragonie/random_compat/composer.json index 1fa8de9f1..dbaf0255b 100644 --- a/vendor/paragonie/random_compat/composer.json +++ b/vendor/paragonie/random_compat/composer.json @@ -22,7 +22,11 @@ "source": "https://github.com/paragonie/random_compat" }, "require": { +<<<<<<< HEAD "php": "^7" +======= + "php": ">= 7" +>>>>>>> master }, "require-dev": { "vimeo/psalm": "^1", diff --git a/vendor/paragonie/sodium_compat/.gitignore b/vendor/paragonie/sodium_compat/.gitignore index f3211e7c1..39c9a72bc 100644 --- a/vendor/paragonie/sodium_compat/.gitignore +++ b/vendor/paragonie/sodium_compat/.gitignore @@ -1,5 +1,9 @@ /.idea/ /.php_cs.cache +<<<<<<< HEAD +======= +/.phpunit.result.cache +>>>>>>> master /box/ /dist/sodium-compat.phar /dist/sodium-compat.phar.sig diff --git a/vendor/paragonie/sodium_compat/composer.json b/vendor/paragonie/sodium_compat/composer.json index 160d94490..6509b5d3d 100644 --- a/vendor/paragonie/sodium_compat/composer.json +++ b/vendor/paragonie/sodium_compat/composer.json @@ -54,7 +54,11 @@ "paragonie/random_compat": ">=1" }, "require-dev": { +<<<<<<< HEAD "phpunit/phpunit": "^3|^4|^5|^6|^7" +======= + "phpunit/phpunit": "^3|^4|^5|^6|^7|^8|^9" +>>>>>>> master }, "suggest": { "ext-libsodium": "PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.", diff --git a/vendor/paragonie/sodium_compat/psalm-above-3.xml b/vendor/paragonie/sodium_compat/psalm-above-3.xml index 8e90edde4..dd2728212 100644 --- a/vendor/paragonie/sodium_compat/psalm-above-3.xml +++ b/vendor/paragonie/sodium_compat/psalm-above-3.xml @@ -48,5 +48,10 @@ Not interesting --> +<<<<<<< HEAD +======= + + +>>>>>>> master diff --git a/vendor/paragonie/sodium_compat/src/Core/Ed25519.php b/vendor/paragonie/sodium_compat/src/Core/Ed25519.php index 72286441d..8b33f3f8b 100644 --- a/vendor/paragonie/sodium_compat/src/Core/Ed25519.php +++ b/vendor/paragonie/sodium_compat/src/Core/Ed25519.php @@ -376,8 +376,13 @@ abstract class ParagonIE_Sodium_Core_Ed25519 extends ParagonIE_Sodium_Core_Curve */ public static function small_order($R) { +<<<<<<< HEAD /** @var array> $blacklist */ $blacklist = array( +======= + /** @var array> $blocklist */ + $blocklist = array( +>>>>>>> master /* 0 (order 4) */ array( 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -463,6 +468,7 @@ abstract class ParagonIE_Sodium_Core_Ed25519 extends ParagonIE_Sodium_Core_Curve 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff ) ); +<<<<<<< HEAD /** @var int $countBlacklist */ $countBlacklist = count($blacklist); @@ -470,6 +476,15 @@ abstract class ParagonIE_Sodium_Core_Ed25519 extends ParagonIE_Sodium_Core_Curve $c = 0; for ($j = 0; $j < 32; ++$j) { $c |= self::chrToInt($R[$j]) ^ (int) $blacklist[$i][$j]; +======= + /** @var int $countBlocklist */ + $countBlocklist = count($blocklist); + + for ($i = 0; $i < $countBlocklist; ++$i) { + $c = 0; + for ($j = 0; $j < 32; ++$j) { + $c |= self::chrToInt($R[$j]) ^ (int) $blocklist[$i][$j]; +>>>>>>> master } if ($c === 0) { return true; diff --git a/vendor/paragonie/sodium_compat/src/Core/SipHash.php b/vendor/paragonie/sodium_compat/src/Core/SipHash.php index 7d3981620..0f9e0ac4c 100644 --- a/vendor/paragonie/sodium_compat/src/Core/SipHash.php +++ b/vendor/paragonie/sodium_compat/src/Core/SipHash.php @@ -14,8 +14,14 @@ class ParagonIE_Sodium_Core_SipHash extends ParagonIE_Sodium_Core_Util /** * @internal You should not use this directly from another application * +<<<<<<< HEAD * @param int[] $v * @return int[] +======= + * @param array $v + * @return array + * +>>>>>>> master */ public static function sipRound(array $v) { @@ -26,17 +32,26 @@ class ParagonIE_Sodium_Core_SipHash extends ParagonIE_Sodium_Core_Util ); # v1=ROTL(v1,13); +<<<<<<< HEAD list($v[2], $v[3]) = self::rotl_64($v[2], $v[3], 13); # v1 ^= v0; $v[2] ^= $v[0]; $v[3] ^= $v[1]; +======= + list($v[2], $v[3]) = self::rotl_64((int) $v[2], (int) $v[3], 13); + + # v1 ^= v0; + $v[2] = (int) $v[2] ^ (int) $v[0]; + $v[3] = (int) $v[3] ^ (int) $v[1]; +>>>>>>> master # v0=ROTL(v0,32); list($v[0], $v[1]) = self::rotl_64((int) $v[0], (int) $v[1], 32); # v2 += v3; list($v[4], $v[5]) = self::add( +<<<<<<< HEAD array($v[4], $v[5]), array($v[6], $v[7]) ); @@ -47,6 +62,18 @@ class ParagonIE_Sodium_Core_SipHash extends ParagonIE_Sodium_Core_Util # v3 ^= v2; $v[6] ^= $v[4]; $v[7] ^= $v[5]; +======= + array((int) $v[4], (int) $v[5]), + array((int) $v[6], (int) $v[7]) + ); + + # v3=ROTL(v3,16); + list($v[6], $v[7]) = self::rotl_64((int) $v[6], (int) $v[7], 16); + + # v3 ^= v2; + $v[6] = (int) $v[6] ^ (int) $v[4]; + $v[7] = (int) $v[7] ^ (int) $v[5]; +>>>>>>> master # v0 += v3; list($v[0], $v[1]) = self::add( @@ -58,8 +85,13 @@ class ParagonIE_Sodium_Core_SipHash extends ParagonIE_Sodium_Core_Util list($v[6], $v[7]) = self::rotl_64((int) $v[6], (int) $v[7], 21); # v3 ^= v0; +<<<<<<< HEAD $v[6] ^= $v[0]; $v[7] ^= $v[1]; +======= + $v[6] = (int) $v[6] ^ (int) $v[0]; + $v[7] = (int) $v[7] ^ (int) $v[1]; +>>>>>>> master # v2 += v1; list($v[4], $v[5]) = self::add( @@ -71,8 +103,13 @@ class ParagonIE_Sodium_Core_SipHash extends ParagonIE_Sodium_Core_Util list($v[2], $v[3]) = self::rotl_64((int) $v[2], (int) $v[3], 17); # v1 ^= v2;; +<<<<<<< HEAD $v[2] ^= $v[4]; $v[3] ^= $v[5]; +======= + $v[2] = (int) $v[2] ^ (int) $v[4]; + $v[3] = (int) $v[3] ^ (int) $v[5]; +>>>>>>> master # v2=ROTL(v2,32) list($v[4], $v[5]) = self::rotl_64((int) $v[4], (int) $v[5], 32); diff --git a/vendor/paragonie/sodium_compat/src/Core/Util.php b/vendor/paragonie/sodium_compat/src/Core/Util.php index a5808b191..89cad6d43 100644 --- a/vendor/paragonie/sodium_compat/src/Core/Util.php +++ b/vendor/paragonie/sodium_compat/src/Core/Util.php @@ -903,6 +903,12 @@ abstract class ParagonIE_Sodium_Core_Util * * @internal You should not use this directly from another application * +<<<<<<< HEAD +======= + * Note: MB_OVERLOAD_STRING === 2, but we don't reference the constant + * (for nuisance-free PHP 8 support) + * +>>>>>>> master * @return bool */ protected static function isMbStringOverride() @@ -911,8 +917,15 @@ abstract class ParagonIE_Sodium_Core_Util if ($mbstring === null) { $mbstring = extension_loaded('mbstring') +<<<<<<< HEAD && ((int) (ini_get('mbstring.func_overload')) & MB_OVERLOAD_STRING); +======= + && defined('MB_OVERLOAD_STRING') + && + ((int) (ini_get('mbstring.func_overload')) & 2); + // MB_OVERLOAD_STRING === 2 +>>>>>>> master } /** @var bool $mbstring */ diff --git a/vendor/paragonie/sodium_compat/src/Core32/Ed25519.php b/vendor/paragonie/sodium_compat/src/Core32/Ed25519.php index c4ecc5575..e5e38c815 100644 --- a/vendor/paragonie/sodium_compat/src/Core32/Ed25519.php +++ b/vendor/paragonie/sodium_compat/src/Core32/Ed25519.php @@ -378,7 +378,11 @@ abstract class ParagonIE_Sodium_Core32_Ed25519 extends ParagonIE_Sodium_Core32_C */ public static function small_order($R) { +<<<<<<< HEAD static $blacklist = array( +======= + static $blocklist = array( +>>>>>>> master /* 0 (order 4) */ array( 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -464,6 +468,7 @@ abstract class ParagonIE_Sodium_Core32_Ed25519 extends ParagonIE_Sodium_Core32_C 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff ) ); +<<<<<<< HEAD /** @var array> $blacklist */ $countBlacklist = count($blacklist); @@ -471,6 +476,15 @@ abstract class ParagonIE_Sodium_Core32_Ed25519 extends ParagonIE_Sodium_Core32_C $c = 0; for ($j = 0; $j < 32; ++$j) { $c |= self::chrToInt($R[$j]) ^ $blacklist[$i][$j]; +======= + /** @var array> $blocklist */ + $countBlocklist = count($blocklist); + + for ($i = 0; $i < $countBlocklist; ++$i) { + $c = 0; + for ($j = 0; $j < 32; ++$j) { + $c |= self::chrToInt($R[$j]) ^ $blocklist[$i][$j]; +>>>>>>> master } if ($c === 0) { return true; diff --git a/vendor/paragonie/sodium_compat/src/File.php b/vendor/paragonie/sodium_compat/src/File.php index b4948db36..dc3d802e3 100644 --- a/vendor/paragonie/sodium_compat/src/File.php +++ b/vendor/paragonie/sodium_compat/src/File.php @@ -243,6 +243,10 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util ParagonIE_Sodium_Compat::memzero($nonce); ParagonIE_Sodium_Compat::memzero($ephKeypair); } catch (SodiumException $ex) { +<<<<<<< HEAD +======= + /** @psalm-suppress PossiblyUndefinedVariable */ +>>>>>>> master unset($ephKeypair); } return $res; @@ -541,6 +545,10 @@ class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util try { ParagonIE_Sodium_Compat::memzero($key); } catch (SodiumException $ex) { +<<<<<<< HEAD +======= + /** @psalm-suppress PossiblyUndefinedVariable */ +>>>>>>> master unset($key); } return $res; diff --git a/vendor/paragonie/sodium_compat/src/PHP52/SplFixedArray.php b/vendor/paragonie/sodium_compat/src/PHP52/SplFixedArray.php index 9279f60c1..f275da8e2 100644 --- a/vendor/paragonie/sodium_compat/src/PHP52/SplFixedArray.php +++ b/vendor/paragonie/sodium_compat/src/PHP52/SplFixedArray.php @@ -102,6 +102,10 @@ class SplFixedArray implements Iterator, ArrayAccess, Countable */ public function offsetGet($index) { +<<<<<<< HEAD +======= + /** @psalm-suppress MixedReturnStatement */ +>>>>>>> master return $this->internalArray[(int) $index]; } @@ -142,6 +146,10 @@ class SplFixedArray implements Iterator, ArrayAccess, Countable */ public function current() { +<<<<<<< HEAD +======= + /** @psalm-suppress MixedReturnStatement */ +>>>>>>> master return current($this->internalArray); } diff --git a/vendor/phpmailer/phpmailer/README.md b/vendor/phpmailer/phpmailer/README.md index c287e307a..0dad9bfe2 100644 --- a/vendor/phpmailer/phpmailer/README.md +++ b/vendor/phpmailer/phpmailer/README.md @@ -167,6 +167,7 @@ Build status: [![Build Status](https://travis-ci.org/PHPMailer/PHPMailer.svg)](h If this isn't passing, is there something you can do to help? ## Security +<<<<<<< HEAD Please disclose any vulnerabilities found responsibly - report any security problems found to the maintainers privately. PHPMailer versions prior to 5.2.22 (released January 9th 2017) have a local file disclosure vulnerability, [CVE-2017-5223](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5223). If content passed into `msgHTML()` is sourced from unfiltered user input, relative paths can map to absolute local file paths and added as attachments. Also note that `addAttachment` (just like `file_get_contents`, `passthru`, `unlink`, etc) should not be passed user-sourced params either! Reported by Yongxiang Li of Asiasecurity. @@ -176,6 +177,11 @@ PHPMailer versions prior to 5.2.20 (released December 28th 2016) are vulnerable PHPMailer versions prior to 5.2.18 (released December 2016) are vulnerable to [CVE-2016-10033](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10033) a critical remote code execution vulnerability, responsibly reported by [Dawid Golunski](http://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html). See [SECURITY](https://github.com/PHPMailer/PHPMailer/tree/master/SECURITY.md) for more detail on security issues. +======= +Please disclose any vulnerabilities found responsibly – report security issues to the maintainers privately. + +See [SECURITY](https://github.com/PHPMailer/PHPMailer/tree/master/SECURITY.md) for details on security issues. +>>>>>>> master ## Contributing Please submit bug reports, suggestions and pull requests to the [GitHub issue tracker](https://github.com/PHPMailer/PHPMailer/issues). diff --git a/vendor/phpmailer/phpmailer/VERSION b/vendor/phpmailer/phpmailer/VERSION index cb6b1ffdc..49812a0b3 100644 --- a/vendor/phpmailer/phpmailer/VERSION +++ b/vendor/phpmailer/phpmailer/VERSION @@ -1 +1,5 @@ -6.1.7 \ No newline at end of file +<<<<<<< HEAD +6.1.7 +======= +6.2.0 +>>>>>>> master diff --git a/vendor/phpmailer/phpmailer/composer.json b/vendor/phpmailer/phpmailer/composer.json index 90d2576f5..e8d1da45b 100644 --- a/vendor/phpmailer/phpmailer/composer.json +++ b/vendor/phpmailer/phpmailer/composer.json @@ -21,13 +21,18 @@ ], "funding": [ { +<<<<<<< HEAD "url": "https://github.com/synchro", +======= + "url": "https://github.com/Synchro", +>>>>>>> master "type": "github" } ], "require": { "php": ">=5.5.0", "ext-ctype": "*", +<<<<<<< HEAD "ext-filter": "*" }, "require-dev": { @@ -41,6 +46,25 @@ "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", "stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication", "ext-mbstring": "Needed to send email in multibyte encoding charset", +======= + "ext-filter": "*", + "ext-hash": "*" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.2", + "phpcompatibility/php-compatibility": "^9.3.5", + "roave/security-advisories": "dev-latest", + "squizlabs/php_codesniffer": "^3.5.6", + "yoast/phpunit-polyfills": "^0.2.0" + }, + "suggest": { + "ext-mbstring": "Needed to send email in multibyte encoding charset", + "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", + "league/oauth2-google": "Needed for Google XOAUTH2 authentication", + "psr/log": "For optional PSR-3 debug logging", + "stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication", +>>>>>>> master "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)" }, "autoload": { diff --git a/vendor/phpmailer/phpmailer/get_oauth_token.php b/vendor/phpmailer/phpmailer/get_oauth_token.php index 1237b57be..c69d9e163 100644 --- a/vendor/phpmailer/phpmailer/get_oauth_token.php +++ b/vendor/phpmailer/phpmailer/get_oauth_token.php @@ -1,4 +1,8 @@ >>>>>> master /** * PHPMailer - PHP email creation and transport class. * PHP Version 5.5 @@ -8,7 +12,11 @@ * @author Jim Jagielski (jimjag) * @author Andy Prevost (codeworxtech) * @author Brent R. Matzelle (original founder) +<<<<<<< HEAD * @copyright 2012 - 2017 Marcus Bointon +======= + * @copyright 2012 - 2020 Marcus Bointon +>>>>>>> master * @copyright 2010 - 2012 Jim Jagielski * @copyright 2004 - 2009 Andy Prevost * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License @@ -16,6 +24,10 @@ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. */ +<<<<<<< HEAD +======= + +>>>>>>> master /** * Get an OAuth2 token from an OAuth2 provider. * * Install this script on your server so that it's accessible @@ -44,7 +56,11 @@ use Hayageek\OAuth2\Client\Provider\Yahoo; use Stevenmaguire\OAuth2\Client\Provider\Microsoft; if (!isset($_GET['code']) && !isset($_GET['provider'])) { +<<<<<<< HEAD ?> +======= + ?> +>>>>>>> master Select Provider:
Google
@@ -52,8 +68,13 @@ if (!isset($_GET['code']) && !isset($_GET['provider'])) { Microsoft/Outlook/Hotmail/Live/Office365
+<<<<<<< HEAD >>>>>> master } require 'vendor/autoload.php'; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php index 3c42d78e1..3fa7e844a 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php @@ -1,4 +1,8 @@ >>>>>> master /** * Afrikaans PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php index 865d0b732..91849044b 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php @@ -1,4 +1,8 @@ >>>>>> master /** * Arabic PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php index 3749d83d6..7f34e385a 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php @@ -1,4 +1,8 @@ >>>>>> master /** * Azerbaijani PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ba.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ba.php index 576c4bb53..82d7582b2 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ba.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ba.php @@ -1,4 +1,8 @@ >>>>>> master /** * Bosnian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer @@ -23,4 +27,8 @@ $PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: '; $PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP server nije uspjelo.'; $PHPMAILER_LANG['smtp_error'] = 'SMTP greška: '; $PHPMAILER_LANG['variable_set'] = 'Nije moguće postaviti varijablu ili je vratiti nazad: '; -$PHPMAILER_LANG['extension_missing'] = 'Nedostaje ekstenzija: '; \ No newline at end of file +<<<<<<< HEAD +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje ekstenzija: '; +======= +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje ekstenzija: '; +>>>>>>> master diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php index e2f98f0f6..4380cd828 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php @@ -1,4 +1,8 @@ >>>>>> master /** * Belarusian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php index b22941f6b..2438f1b60 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php @@ -1,4 +1,8 @@ >>>>>> master /** * Bulgarian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php index 4117596c6..c259063d0 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php @@ -1,4 +1,8 @@ >>>>>> master /** * Catalan PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php index 4fda6b85d..4060b7a33 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php @@ -1,4 +1,8 @@ >>>>>> master /** * Chinese PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php index 1160cf0cc..9e0dfa8ad 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php @@ -1,4 +1,8 @@ >>>>>> master /** * Czech PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-da.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-da.php index 5febb516e..72610c219 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-da.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-da.php @@ -1,10 +1,19 @@ >>>>>> master /** * Danish PHPMailer language file: refer to English translation for definitive list * @package PHPMailer * @author John Sebastian +<<<<<<< HEAD * Rewrite and extension of the work by Mikael Stokkebro * +======= + * Rewrite and extension of the work by Mikael Stokkebro + * +>>>>>>> master */ $PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Login mislykkedes.'; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php index aa987a9ca..60745ab2a 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php @@ -1,4 +1,8 @@ >>>>>> master /** * German PHPMailer language file: refer to English translation for definitive list * @package PHPMailer @@ -15,6 +19,11 @@ $PHPMAILER_LANG['file_open'] = 'Dateifehler: Konnte folgende Datei ni $PHPMAILER_LANG['from_failed'] = 'Die folgende Absenderadresse ist nicht korrekt: '; $PHPMAILER_LANG['instantiate'] = 'Mail-Funktion konnte nicht initialisiert werden.'; $PHPMAILER_LANG['invalid_address'] = 'Die Adresse ist ungültig: '; +<<<<<<< HEAD +======= +$PHPMAILER_LANG['invalid_hostentry'] = 'Ungültiger Hosteintrag: '; +$PHPMAILER_LANG['invalid_host'] = 'Ungültiger Host: '; +>>>>>>> master $PHPMAILER_LANG['mailer_not_supported'] = ' mailer wird nicht unterstützt.'; $PHPMAILER_LANG['provide_address'] = 'Bitte geben Sie mindestens eine Empfängeradresse an.'; $PHPMAILER_LANG['recipients_failed'] = 'SMTP-Fehler: Die folgenden Empfänger sind nicht korrekt: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-el.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-el.php index 7109641e4..f7633d994 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-el.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-el.php @@ -1,4 +1,8 @@ >>>>>> master /** * Greek PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-eo.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-eo.php index 5ca6cb709..4ee5777cc 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-eo.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-eo.php @@ -1,4 +1,8 @@ >>>>>> master /** * Esperanto PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php index f2c4e8316..2ff07b483 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php @@ -1,4 +1,8 @@ >>>>>> master /** * Spanish PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php index 7e06da13e..c07baa5e0 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php @@ -1,4 +1,8 @@ >>>>>> master /** * Estonian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php index 8aa0ad221..188a7dc01 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php @@ -1,4 +1,8 @@ >>>>>> master /** * Persian/Farsi PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php index ec4e75234..3edab76cb 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php @@ -1,4 +1,8 @@ >>>>>> master /** * Finnish PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php index 68cdef1d0..fdc88124e 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php @@ -1,4 +1,8 @@ >>>>>> master /** * Faroese PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php index af68c9236..707c5e2c5 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php @@ -1,4 +1,8 @@ >>>>>> master /** * French PHPMailer language file: refer to English translation for definitive list * @package PHPMailer @@ -19,6 +23,11 @@ $PHPMAILER_LANG['file_open'] = 'Ouverture du fichier impossible : ' $PHPMAILER_LANG['from_failed'] = 'L\'adresse d\'expéditeur suivante a échoué : '; $PHPMAILER_LANG['instantiate'] = 'Impossible d\'instancier la fonction mail.'; $PHPMAILER_LANG['invalid_address'] = 'L\'adresse courriel n\'est pas valide : '; +<<<<<<< HEAD +======= +$PHPMAILER_LANG['invalid_hostentry'] = 'L\'entrée hôte n\'est pas valide : '; +$PHPMAILER_LANG['invalid_host'] = 'L\'hôte n\'est pas valide : '; +>>>>>>> master $PHPMAILER_LANG['mailer_not_supported'] = ' client de messagerie non supporté.'; $PHPMAILER_LANG['provide_address'] = 'Vous devez fournir au moins une adresse de destinataire.'; $PHPMAILER_LANG['recipients_failed'] = 'Erreur SMTP : les destinataires suivants sont en erreur : '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-gl.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-gl.php index 9b4ce4d8d..a5664f597 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-gl.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-gl.php @@ -1,4 +1,8 @@ >>>>>> master /** * Galician PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php index 70eb71757..4426a8234 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php @@ -1,4 +1,8 @@ >>>>>> master /** * Hebrew PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php index 607a5ee3f..01cb550fc 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php @@ -1,10 +1,18 @@ >>>>>> master /** * Hindi PHPMailer language file: refer to English translation for definitive list * @package PHPMailer * @author Yash Karanke */ +<<<<<<< HEAD +======= + +>>>>>>> master $PHPMAILER_LANG['authenticate'] = 'SMTP त्रुटि: प्रामाणिकता की जांच नहीं हो सका। '; $PHPMAILER_LANG['connect_host'] = 'SMTP त्रुटि: SMTP सर्वर से कनेक्ट नहीं हो सका। '; $PHPMAILER_LANG['data_not_accepted'] = 'SMTP त्रुटि: डेटा स्वीकार नहीं किया जाता है। '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php index 3822920ad..27e501add 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php @@ -1,4 +1,8 @@ >>>>>> master /** * Croatian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php index 196cddc22..2cb2bfe8f 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php @@ -1,4 +1,8 @@ >>>>>> master /** * Hungarian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hy.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hy.php index ff2a96950..3db192e0b 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hy.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hy.php @@ -1,10 +1,18 @@ >>>>>> master /** * Armenian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer * @author Hrayr Grigoryan */ +<<<<<<< HEAD +======= + +>>>>>>> master $PHPMAILER_LANG['authenticate'] = 'SMTP -ի սխալ: չհաջողվեց ստուգել իսկությունը.'; $PHPMAILER_LANG['connect_host'] = 'SMTP -ի սխալ: չհաջողվեց կապ հաստատել SMTP սերվերի հետ.'; $PHPMAILER_LANG['data_not_accepted'] = 'SMTP -ի սխալ: տվյալները ընդունված չեն.'; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php index ba6ca5fac..47ebcd470 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php @@ -1,9 +1,17 @@ >>>>>> master /** * Indonesian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer * @author Cecep Prawiro * @author @januridp +<<<<<<< HEAD +======= + * @author Ian Mustafa +>>>>>>> master */ $PHPMAILER_LANG['authenticate'] = 'Kesalahan SMTP: Tidak dapat mengotentikasi.'; @@ -11,6 +19,7 @@ $PHPMAILER_LANG['connect_host'] = 'Kesalahan SMTP: Tidak dapat terhubung $PHPMAILER_LANG['data_not_accepted'] = 'Kesalahan SMTP: Data tidak diterima.'; $PHPMAILER_LANG['empty_message'] = 'Isi pesan kosong'; $PHPMAILER_LANG['encoding'] = 'Pengkodean karakter tidak dikenali: '; +<<<<<<< HEAD $PHPMAILER_LANG['execute'] = 'Tidak dapat menjalankan proses : '; $PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses berkas : '; $PHPMAILER_LANG['file_open'] = 'Kesalahan File: Berkas tidak dapat dibuka : '; @@ -25,3 +34,21 @@ $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() gagal.'; $PHPMAILER_LANG['smtp_error'] = 'Kesalahan pada pelayan SMTP : '; $PHPMAILER_LANG['variable_set'] = 'Tidak dapat mengatur atau mengatur ulang variable : '; $PHPMAILER_LANG['extension_missing'] = 'Ekstensi hilang: '; +======= +$PHPMAILER_LANG['execute'] = 'Tidak dapat menjalankan proses: '; +$PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses berkas: '; +$PHPMAILER_LANG['file_open'] = 'Kesalahan Berkas: Berkas tidak dapat dibuka: '; +$PHPMAILER_LANG['from_failed'] = 'Alamat pengirim berikut mengakibatkan kesalahan: '; +$PHPMAILER_LANG['instantiate'] = 'Tidak dapat menginisialisasi fungsi surel.'; +$PHPMAILER_LANG['invalid_address'] = 'Gagal terkirim, alamat surel tidak sesuai: '; +$PHPMAILER_LANG['invalid_hostentry'] = 'Gagal terkirim, entri host tidak sesuai: '; +$PHPMAILER_LANG['invalid_host'] = 'Gagal terkirim, host tidak sesuai: '; +$PHPMAILER_LANG['provide_address'] = 'Harus tersedia minimal satu alamat tujuan'; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer tidak didukung'; +$PHPMAILER_LANG['recipients_failed'] = 'Kesalahan SMTP: Alamat tujuan berikut menyebabkan kesalahan: '; +$PHPMAILER_LANG['signing'] = 'Kesalahan dalam penandatangan SSL: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() gagal.'; +$PHPMAILER_LANG['smtp_error'] = 'Kesalahan pada pelayan SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Tidak dapat mengatur atau mengatur ulang variabel: '; +$PHPMAILER_LANG['extension_missing'] = 'Ekstensi PHP tidak tersedia: '; +>>>>>>> master diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php index e67b6f72c..bc9111ed5 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php @@ -1,4 +1,8 @@ >>>>>> master /** * Italian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php index 2d778728d..12ee70fdb 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php @@ -1,4 +1,8 @@ >>>>>> master /** * Japanese PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php index dd1af8abe..14aa10dd1 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php @@ -1,4 +1,8 @@ >>>>>> master /** * Georgian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php index 9599fa681..5f3d6e8a3 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php @@ -1,4 +1,8 @@ >>>>>> master /** * Korean PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php index 1253a4fdb..34e182f5e 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php @@ -1,4 +1,8 @@ >>>>>> master /** * Lithuanian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php index 39bf9a19e..d2fe02000 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php @@ -1,4 +1,8 @@ >>>>>> master /** * Latvian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php index f4c756303..5c8f89c50 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php @@ -1,9 +1,17 @@ >>>>>> master /** * Malagasy PHPMailer language file: refer to English translation for definitive list * @package PHPMailer * @author Hackinet */ +<<<<<<< HEAD +======= + +>>>>>>> master $PHPMAILER_LANG['authenticate'] = 'Hadisoana SMTP: Tsy nahomby ny fanamarinana.'; $PHPMAILER_LANG['connect_host'] = 'SMTP Error: Tsy afaka mampifandray amin\'ny mpampiantrano SMTP.'; $PHPMAILER_LANG['data_not_accepted'] = 'SMTP diso: tsy voarakitra ny angona.'; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php index f12a6ad48..483b713c9 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php @@ -1,4 +1,8 @@ >>>>>> master /** * Malaysian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php index 97403e73c..f7876cb60 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php @@ -1,4 +1,8 @@ >>>>>> master /** * Norwegian Bokmål PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php index f4d0e7cd3..28902d1f1 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php @@ -1,4 +1,8 @@ >>>>>> master /** * Dutch PHPMailer language file: refer to PHPMailer.php for definitive list. * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php index 3da0dee91..99f65b45f 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php @@ -1,4 +1,8 @@ >>>>>> master /** * Polish PHPMailer language file: refer to English translation for definitive list * @package PHPMailer @@ -14,7 +18,11 @@ $PHPMAILER_LANG['file_access'] = 'Brak dostępu do pliku: '; $PHPMAILER_LANG['file_open'] = 'Nie można otworzyć pliku: '; $PHPMAILER_LANG['from_failed'] = 'Następujący adres Nadawcy jest nieprawidłowy: '; $PHPMAILER_LANG['instantiate'] = 'Nie można wywołać funkcji mail(). Sprawdź konfigurację serwera.'; +<<<<<<< HEAD $PHPMAILER_LANG['invalid_address'] = 'Nie można wysłać wiadomości, '. +======= +$PHPMAILER_LANG['invalid_address'] = 'Nie można wysłać wiadomości, ' . +>>>>>>> master 'następujący adres Odbiorcy jest nieprawidłowy: '; $PHPMAILER_LANG['provide_address'] = 'Należy podać prawidłowy adres email Odbiorcy.'; $PHPMAILER_LANG['mailer_not_supported'] = 'Wybrana metoda wysyłki wiadomości nie jest obsługiwana.'; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt.php index f365d5d0b..d5032cf28 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt.php @@ -1,4 +1,8 @@ >>>>>> master /** * Portuguese (European) PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php index 62d692d42..ee1195cfa 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php @@ -1,4 +1,8 @@ >>>>>> master /** * Brazilian Portuguese PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php index fa100eaa2..9de06b36a 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php @@ -1,4 +1,8 @@ >>>>>> master /** * Romanian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php index 720e9a116..bd0ba17a7 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php @@ -1,4 +1,8 @@ >>>>>> master /** * Russian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php index 69cfb0fc1..e78273021 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php @@ -1,4 +1,8 @@ >>>>>> master /** * Slovak PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php index 1e3cb7fa9..554675d21 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php @@ -1,9 +1,17 @@ >>>>>> master /** * Slovene PHPMailer language file: refer to English translation for definitive list * @package PHPMailer * @author Klemen Tušar * @author Filip Š +<<<<<<< HEAD +======= + * @author Blaž Oražem +>>>>>>> master */ $PHPMAILER_LANG['authenticate'] = 'SMTP napaka: Avtentikacija ni uspela.'; @@ -17,8 +25,15 @@ $PHPMAILER_LANG['file_open'] = 'Ne morem odpreti datoteke: '; $PHPMAILER_LANG['from_failed'] = 'Neveljaven e-naslov pošiljatelja: '; $PHPMAILER_LANG['instantiate'] = 'Ne morem inicializirati mail funkcije.'; $PHPMAILER_LANG['invalid_address'] = 'E-poštno sporočilo ni bilo poslano. E-naslov je neveljaven: '; +<<<<<<< HEAD $PHPMAILER_LANG['mailer_not_supported'] = ' mailer ni podprt.'; $PHPMAILER_LANG['provide_address'] = 'Prosim vnesite vsaj enega naslovnika.'; +======= +$PHPMAILER_LANG['invalid_hostentry'] = 'Neveljaven vnos gostitelja: '; +$PHPMAILER_LANG['invalid_host'] = 'Neveljaven gostitelj: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer ni podprt.'; +$PHPMAILER_LANG['provide_address'] = 'Prosimo, vnesite vsaj enega naslovnika.'; +>>>>>>> master $PHPMAILER_LANG['recipients_failed'] = 'SMTP napaka: Sledeči naslovniki so neveljavni: '; $PHPMAILER_LANG['signing'] = 'Napaka pri podpisovanju: '; $PHPMAILER_LANG['smtp_connect_failed'] = 'Ne morem vzpostaviti povezave s SMTP strežnikom.'; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php index 34c1e182a..47e2f4fcb 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php @@ -1,4 +1,8 @@ >>>>>> master /** * Serbian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php index c78237e7c..7223134b0 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php @@ -1,4 +1,8 @@ >>>>>> master /** * Swedish PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php index ed51d4c60..1d6a3fbd1 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php @@ -1,18 +1,32 @@ >>>>>> master /** * Tagalog PHPMailer language file: refer to English translation for definitive list * * @package PHPMailer +<<<<<<< HEAD * @author Adriane Justine Tan */ $PHPMAILER_LANG['authenticate'] = 'SMTP Error: Hindi mapatotohanan.'; $PHPMAILER_LANG['connect_host'] = 'SMTP Error: Hindi makakonekta sa SMTP host.'; $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Ang datos ay hindi maaaring matatanggap.'; +======= + * @author Adriane Justine Tan + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Hindi mapatotohanan.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Hindi makakonekta sa SMTP host.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Ang datos ay hindi naitanggap.'; +>>>>>>> master $PHPMAILER_LANG['empty_message'] = 'Walang laman ang mensahe'; $PHPMAILER_LANG['encoding'] = 'Hindi alam ang encoding: '; $PHPMAILER_LANG['execute'] = 'Hindi maisasagawa: '; $PHPMAILER_LANG['file_access'] = 'Hindi ma-access ang file: '; +<<<<<<< HEAD $PHPMAILER_LANG['file_open'] = 'Hindi mabuksan ang file: '; $PHPMAILER_LANG['from_failed'] = 'Ang sumusunod na address ay nabigo: '; $PHPMAILER_LANG['instantiate'] = 'Hindi maaaring magbigay ng institusyon ang mail'; @@ -25,3 +39,17 @@ $PHPMAILER_LANG['smtp_connect_failed'] = 'Ang SMTP connect() ay nabigo'; $PHPMAILER_LANG['smtp_error'] = 'Ang server ng SMTP ay nabigo'; $PHPMAILER_LANG['variable_set'] = 'Hindi matatakda ang mga variables: '; $PHPMAILER_LANG['extension_missing'] = 'Nawawala ang extension'; +======= +$PHPMAILER_LANG['file_open'] = 'File Error: Hindi mabuksan ang file: '; +$PHPMAILER_LANG['from_failed'] = 'Ang sumusunod na address ay nabigo: '; +$PHPMAILER_LANG['instantiate'] = 'Hindi maisimulan ang instance ng mail function.'; +$PHPMAILER_LANG['invalid_address'] = 'Hindi wasto ang address na naibigay: '; +$PHPMAILER_LANG['mailer_not_supported'] = 'Ang mailer ay hindi suportado.'; +$PHPMAILER_LANG['provide_address'] = 'Kailangan mong magbigay ng kahit isang email address na tatanggap.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Ang mga sumusunod na tatanggap ay nabigo: '; +$PHPMAILER_LANG['signing'] = 'Hindi ma-sign: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ang SMTP connect() ay nabigo.'; +$PHPMAILER_LANG['smtp_error'] = 'Ang server ng SMTP ay nabigo: '; +$PHPMAILER_LANG['variable_set'] = 'Hindi matatakda o ma-reset ang mga variables: '; +$PHPMAILER_LANG['extension_missing'] = 'Nawawala ang extension: '; +>>>>>>> master diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php index cfe8eaae2..49bf77f62 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php @@ -1,4 +1,8 @@ >>>>>> master /** * Turkish PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-uk.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-uk.php index fcd77ade9..7fc7b418d 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-uk.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-uk.php @@ -1,4 +1,8 @@ >>>>>> master /** * Ukrainian PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php index c60dadebd..44627f1f3 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php @@ -1,4 +1,8 @@ >>>>>> master /** * Vietnamese (Tiếng Việt) PHPMailer language file: refer to English translation for definitive list. * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php index 3e9e358ce..88bf7ca31 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php @@ -1,4 +1,8 @@ >>>>>> master /** * Traditional Chinese PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php index 37537802a..6455fe64e 100644 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +++ b/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php @@ -1,4 +1,8 @@ >>>>>> master /** * Simplified Chinese PHPMailer language file: refer to English translation for definitive list * @package PHPMailer diff --git a/vendor/phpmailer/phpmailer/src/Exception.php b/vendor/phpmailer/phpmailer/src/Exception.php index b1e552f50..c047de9af 100644 --- a/vendor/phpmailer/phpmailer/src/Exception.php +++ b/vendor/phpmailer/phpmailer/src/Exception.php @@ -1,4 +1,8 @@ >>>>>> master /** * PHPMailer Exception class. * PHP Version 5.5. @@ -9,7 +13,11 @@ * @author Jim Jagielski (jimjag) * @author Andy Prevost (codeworxtech) * @author Brent R. Matzelle (original founder) +<<<<<<< HEAD * @copyright 2012 - 2017 Marcus Bointon +======= + * @copyright 2012 - 2020 Marcus Bointon +>>>>>>> master * @copyright 2010 - 2012 Jim Jagielski * @copyright 2004 - 2009 Andy Prevost * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License diff --git a/vendor/phpmailer/phpmailer/src/OAuth.php b/vendor/phpmailer/phpmailer/src/OAuth.php index 0271963ce..6a7834cb6 100644 --- a/vendor/phpmailer/phpmailer/src/OAuth.php +++ b/vendor/phpmailer/phpmailer/src/OAuth.php @@ -1,4 +1,8 @@ >>>>>> master /** * PHPMailer - PHP email creation and transport class. * PHP Version 5.5. @@ -9,7 +13,11 @@ * @author Jim Jagielski (jimjag) * @author Andy Prevost (codeworxtech) * @author Brent R. Matzelle (original founder) +<<<<<<< HEAD * @copyright 2012 - 2015 Marcus Bointon +======= + * @copyright 2012 - 2020 Marcus Bointon +>>>>>>> master * @copyright 2010 - 2012 Jim Jagielski * @copyright 2004 - 2009 Andy Prevost * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License diff --git a/vendor/phpmailer/phpmailer/src/PHPMailer.php b/vendor/phpmailer/phpmailer/src/PHPMailer.php index 2d4156f4e..0b8c68f2d 100644 --- a/vendor/phpmailer/phpmailer/src/PHPMailer.php +++ b/vendor/phpmailer/phpmailer/src/PHPMailer.php @@ -1,4 +1,8 @@ >>>>>> master /** * PHPMailer - PHP email creation and transport class. * PHP Version 5.5. @@ -9,7 +13,11 @@ * @author Jim Jagielski (jimjag) * @author Andy Prevost (codeworxtech) * @author Brent R. Matzelle (original founder) +<<<<<<< HEAD * @copyright 2012 - 2019 Marcus Bointon +======= + * @copyright 2012 - 2020 Marcus Bointon +>>>>>>> master * @copyright 2010 - 2012 Jim Jagielski * @copyright 2004 - 2009 Andy Prevost * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License @@ -388,11 +396,19 @@ class PHPMailer * SMTP class debug output mode. * Debug output level. * Options: +<<<<<<< HEAD * * SMTP::DEBUG_OFF: No output * * SMTP::DEBUG_CLIENT: Client messages * * SMTP::DEBUG_SERVER: Client and server messages * * SMTP::DEBUG_CONNECTION: As SERVER plus connection status * * SMTP::DEBUG_LOWLEVEL: Noisy, low-level data output, rarely needed +======= + * @see SMTP::DEBUG_OFF: No output + * @see SMTP::DEBUG_CLIENT: Client messages + * @see SMTP::DEBUG_SERVER: Client and server messages + * @see SMTP::DEBUG_CONNECTION: As SERVER plus connection status + * @see SMTP::DEBUG_LOWLEVEL: Noisy, low-level data output, rarely needed +>>>>>>> master * * @see SMTP::$do_debug * @@ -747,7 +763,11 @@ class PHPMailer * * @var string */ +<<<<<<< HEAD const VERSION = '6.1.7'; +======= + const VERSION = '6.2.0'; +>>>>>>> master /** * Error severity: message only, continue processing. @@ -899,6 +919,10 @@ class PHPMailer switch ($this->Debugoutput) { case 'error_log': //Don't output, just log +<<<<<<< HEAD +======= + /** @noinspection ForgottenDebugOutputInspection */ +>>>>>>> master error_log($str); break; case 'html': @@ -1184,9 +1208,17 @@ class PHPMailer //Use this built-in parser if it's available $list = imap_rfc822_parse_adrlist($addrstr, ''); foreach ($list as $address) { +<<<<<<< HEAD if (('.SYNTAX-ERROR.' !== $address->host) && static::validateAddress( $address->mailbox . '@' . $address->host )) { +======= + if ( + ('.SYNTAX-ERROR.' !== $address->host) && static::validateAddress( + $address->mailbox . '@' . $address->host + ) + ) { +>>>>>>> master $addresses[] = [ 'name' => (property_exists($address, 'personal') ? $address->personal : ''), 'address' => $address->mailbox . '@' . $address->host, @@ -1240,7 +1272,12 @@ class PHPMailer $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim // Don't validate now addresses with IDN. Will be done in send(). $pos = strrpos($address, '@'); +<<<<<<< HEAD if ((false === $pos) +======= + if ( + (false === $pos) +>>>>>>> master || ((!$this->has8bitChars(substr($address, ++$pos)) || !static::idnSupported()) && !static::validateAddress($address)) ) { @@ -1350,7 +1387,11 @@ class PHPMailer /* * This is the pattern used in the HTML5 spec for validation of 'email' type form input elements. * +<<<<<<< HEAD * @see http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email) +======= + * @see https://html.spec.whatwg.org/#e-mail-state-(type=email) +>>>>>>> master */ return (bool) preg_match( '/^[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}' . @@ -1392,7 +1433,12 @@ class PHPMailer { // Verify we have required functions, CharSet, and at-sign. $pos = strrpos($address, '@'); +<<<<<<< HEAD if (!empty($this->CharSet) && +======= + if ( + !empty($this->CharSet) && +>>>>>>> master false !== $pos && static::idnSupported() ) { @@ -1454,8 +1500,14 @@ class PHPMailer */ public function preSend() { +<<<<<<< HEAD if ('smtp' === $this->Mailer || ('mail' === $this->Mailer && stripos(PHP_OS, 'WIN') === 0) +======= + if ( + 'smtp' === $this->Mailer + || ('mail' === $this->Mailer && (PHP_VERSION_ID >= 80000 || stripos(PHP_OS, 'WIN') === 0)) +>>>>>>> master ) { //SMTP mandates RFC-compliant line endings //and it's also used with mail() on Windows @@ -1465,7 +1517,12 @@ class PHPMailer static::setLE(PHP_EOL); } //Check for buggy PHP versions that add a header with an incorrect line break +<<<<<<< HEAD if ('mail' === $this->Mailer +======= + if ( + 'mail' === $this->Mailer +>>>>>>> master && ((PHP_VERSION_ID >= 70000 && PHP_VERSION_ID < 70017) || (PHP_VERSION_ID >= 70100 && PHP_VERSION_ID < 70103)) && ini_get('mail.add_x_header') === '1' @@ -1552,7 +1609,12 @@ class PHPMailer } // Sign with DKIM if enabled +<<<<<<< HEAD if (!empty($this->DKIM_domain) +======= + if ( + !empty($this->DKIM_domain) +>>>>>>> master && !empty($this->DKIM_selector) && (!empty($this->DKIM_private_string) || (!empty($this->DKIM_private) @@ -1609,6 +1671,12 @@ class PHPMailer return $this->mailSend($this->MIMEHeader, $this->MIMEBody); } } catch (Exception $exc) { +<<<<<<< HEAD +======= + if ($this->Mailer === 'smtp' && $this->SMTPKeepAlive == true) { + $this->smtp->reset(); + } +>>>>>>> master $this->setError($exc->getMessage()); $this->edebug($exc->getMessage()); if ($this->exceptions) { @@ -1713,7 +1781,12 @@ class PHPMailer protected static function isShellSafe($string) { // Future-proof +<<<<<<< HEAD if (escapeshellcmd($string) !== $string +======= + if ( + escapeshellcmd($string) !== $string +>>>>>>> master || !in_array(escapeshellarg($string), ["'$string'", "\"$string\""]) ) { return false; @@ -1750,6 +1823,26 @@ class PHPMailer } /** +<<<<<<< HEAD +======= + * Check whether a file path is safe, accessible, and readable. + * + * @param string $path A relative or absolute path to a file + * + * @return bool + */ + protected static function fileIsAccessible($path) + { + $readable = file_exists($path); + //If not a UNC path (expected to start with \\), check read permission, see #2069 + if (strpos($path, '\\\\') !== 0) { + $readable = $readable && is_readable($path); + } + return static::isPermittedPath($path) && $readable; + } + + /** +>>>>>>> master * Send mail using the PHP mail() function. * * @see http://www.php.net/manual/en/book.mail.php @@ -1880,7 +1973,11 @@ class PHPMailer $isSent = true; } +<<<<<<< HEAD $callbacks[] = ['issent'=>$isSent, 'to'=>$to[0]]; +======= + $callbacks[] = ['issent' => $isSent, 'to' => $to[0]]; +>>>>>>> master } } @@ -1960,11 +2057,21 @@ class PHPMailer foreach ($hosts as $hostentry) { $hostinfo = []; +<<<<<<< HEAD if (!preg_match( '/^(?:(ssl|tls):\/\/)?(.+?)(?::(\d+))?$/', trim($hostentry), $hostinfo )) { +======= + if ( + !preg_match( + '/^(?:(ssl|tls):\/\/)?(.+?)(?::(\d+))?$/', + trim($hostentry), + $hostinfo + ) + ) { +>>>>>>> master $this->edebug($this->lang('invalid_hostentry') . ' ' . trim($hostentry)); // Not a valid host entry continue; @@ -2002,7 +2109,16 @@ class PHPMailer } $host = $hostinfo[2]; $port = $this->Port; +<<<<<<< HEAD if (array_key_exists(3, $hostinfo) && is_numeric($hostinfo[3]) && $hostinfo[3] > 0 && $hostinfo[3] < 65536) { +======= + if ( + array_key_exists(3, $hostinfo) && + is_numeric($hostinfo[3]) && + $hostinfo[3] > 0 && + $hostinfo[3] < 65536 + ) { +>>>>>>> master $port = (int) $hostinfo[3]; } if ($this->smtp->connect($prefix . $host, $port, $this->Timeout, $options)) { @@ -2028,12 +2144,23 @@ class PHPMailer // We must resend EHLO after TLS negotiation $this->smtp->hello($hello); } +<<<<<<< HEAD if ($this->SMTPAuth && !$this->smtp->authenticate( $this->Username, $this->Password, $this->AuthType, $this->oauth )) { +======= + if ( + $this->SMTPAuth && !$this->smtp->authenticate( + $this->Username, + $this->Password, + $this->AuthType, + $this->oauth + ) + ) { +>>>>>>> master throw new Exception($this->lang('authenticate')); } @@ -2091,7 +2218,11 @@ class PHPMailer 'am' => 'hy', ]; +<<<<<<< HEAD if (isset($renamed_langcodes[$langcode])) { +======= + if (array_key_exists($langcode, $renamed_langcodes)) { +>>>>>>> master $langcode = $renamed_langcodes[$langcode]; } @@ -2132,7 +2263,11 @@ class PHPMailer // There is no English translation file if ('en' !== $langcode) { // Make sure language file path is readable +<<<<<<< HEAD if (!static::isPermittedPath($lang_file) || !file_exists($lang_file)) { +======= + if (!static::fileIsAccessible($lang_file)) { +>>>>>>> master $foundlang = false; } else { // Overwrite language-specific strings. @@ -2380,6 +2515,7 @@ class PHPMailer $result .= $this->headerLine('Date', '' === $this->MessageDate ? self::rfcDate() : $this->MessageDate); +<<<<<<< HEAD // To be created automatically by mail() if ($this->SingleTo) { if ('mail' !== $this->Mailer) { @@ -2395,6 +2531,20 @@ class PHPMailer $result .= $this->headerLine('To', 'undisclosed-recipients:;'); } +======= + // The To header is created automatically by mail(), so needs to be omitted here + if ('mail' !== $this->Mailer) { + if ($this->SingleTo) { + foreach ($this->to as $toaddr) { + $this->SingleToArray[] = $this->addrFormat($toaddr); + } + } elseif (count($this->to) > 0) { + $result .= $this->addrAppend('To', $this->to); + } elseif (count($this->cc) === 0) { + $result .= $this->headerLine('To', 'undisclosed-recipients:;'); + } + } +>>>>>>> master $result .= $this->addrAppend('From', [[trim($this->From), $this->FromName]]); // sendmail and mail() extract Cc from the header before sending @@ -2403,7 +2553,12 @@ class PHPMailer } // sendmail and mail() extract Bcc from the header before sending +<<<<<<< HEAD if (( +======= + if ( + ( +>>>>>>> master 'sendmail' === $this->Mailer || 'qmail' === $this->Mailer || 'mail' === $this->Mailer ) && count($this->bcc) > 0 @@ -2949,7 +3104,11 @@ class PHPMailer * @param string $path Path to the attachment * @param string $name Overrides the attachment name * @param string $encoding File encoding (see $Encoding) +<<<<<<< HEAD * @param string $type File extension (MIME) type +======= + * @param string $type MIME type, e.g. `image/jpeg`; determined automatically from $path if not specified +>>>>>>> master * @param string $disposition Disposition to use * * @throws Exception @@ -2964,7 +3123,11 @@ class PHPMailer $disposition = 'attachment' ) { try { +<<<<<<< HEAD if (!static::isPermittedPath($path) || !@is_file($path) || !is_readable($path)) { +======= + if (!static::fileIsAccessible($path)) { +>>>>>>> master throw new Exception($this->lang('file_access') . $path, self::STOP_CONTINUE); } @@ -3138,7 +3301,11 @@ class PHPMailer protected function encodeFile($path, $encoding = self::ENCODING_BASE64) { try { +<<<<<<< HEAD if (!static::isPermittedPath($path) || !file_exists($path) || !is_readable($path)) { +======= + if (!static::fileIsAccessible($path)) { +>>>>>>> master throw new Exception($this->lang('file_open') . $path, self::STOP_CONTINUE); } $file_buffer = file_get_contents($path); @@ -3524,7 +3691,11 @@ class PHPMailer $disposition = 'inline' ) { try { +<<<<<<< HEAD if (!static::isPermittedPath($path) || !@is_file($path) || !is_readable($path)) { +======= + if (!static::fileIsAccessible($path)) { +>>>>>>> master throw new Exception($this->lang('file_access') . $path, self::STOP_CONTINUE); } @@ -3873,7 +4044,12 @@ class PHPMailer public static function isValidHost($host) { //Simple syntax limits +<<<<<<< HEAD if (empty($host) +======= + if ( + empty($host) +>>>>>>> master || !is_string($host) || strlen($host) > 256 || !preg_match('/^([a-zA-Z\d.-]*|\[[a-fA-F\d:]+])$/', $host) @@ -4039,7 +4215,12 @@ class PHPMailer ); continue; } +<<<<<<< HEAD if (// Only process relative URLs if a basedir is provided (i.e. no absolute local paths) +======= + if ( + // Only process relative URLs if a basedir is provided (i.e. no absolute local paths) +>>>>>>> master !empty($basedir) // Ignore URLs containing parent dir traversal (..) && (strpos($url, '..') === false) @@ -4061,6 +4242,7 @@ class PHPMailer if (strlen($directory) > 1 && '/' !== substr($directory, -1)) { $directory .= '/'; } +<<<<<<< HEAD if ($this->addEmbeddedImage( $basedir . $directory . $filename, $cid, @@ -4068,6 +4250,16 @@ class PHPMailer static::ENCODING_BASE64, static::_mime_types((string) static::mb_pathinfo($filename, PATHINFO_EXTENSION)) ) +======= + if ( + $this->addEmbeddedImage( + $basedir . $directory . $filename, + $cid, + $filename, + static::ENCODING_BASE64, + static::_mime_types((string) static::mb_pathinfo($filename, PATHINFO_EXTENSION)) + ) +>>>>>>> master ) { $message = preg_replace( '/' . $images[1][$imgindex] . '=["\']' . preg_quote($url, '/') . '["\']/Ui', @@ -4215,6 +4407,10 @@ class PHPMailer 'tiff' => 'image/tiff', 'tif' => 'image/tiff', 'webp' => 'image/webp', +<<<<<<< HEAD +======= + 'avif' => 'image/avif', +>>>>>>> master 'heif' => 'image/heif', 'heifs' => 'image/heif-sequence', 'heic' => 'image/heic', @@ -4485,11 +4681,23 @@ class PHPMailer $privKey = openssl_pkey_get_private($privKeyStr); } if (openssl_sign($signHeader, $signature, $privKey, 'sha256WithRSAEncryption')) { +<<<<<<< HEAD openssl_pkey_free($privKey); return base64_encode($signature); } openssl_pkey_free($privKey); +======= + if (PHP_MAJOR_VERSION < 8) { + openssl_pkey_free($privKey); + } + + return base64_encode($signature); + } + if (PHP_MAJOR_VERSION < 8) { + openssl_pkey_free($privKey); + } +>>>>>>> master return ''; } diff --git a/vendor/phpmailer/phpmailer/src/POP3.php b/vendor/phpmailer/phpmailer/src/POP3.php index 9a3b07cca..d383d02a0 100644 --- a/vendor/phpmailer/phpmailer/src/POP3.php +++ b/vendor/phpmailer/phpmailer/src/POP3.php @@ -1,4 +1,8 @@ >>>>>> master /** * PHPMailer POP-Before-SMTP Authentication Class. * PHP Version 5.5. @@ -9,7 +13,11 @@ * @author Jim Jagielski (jimjag) * @author Andy Prevost (codeworxtech) * @author Brent R. Matzelle (original founder) +<<<<<<< HEAD * @copyright 2012 - 2019 Marcus Bointon +======= + * @copyright 2012 - 2020 Marcus Bointon +>>>>>>> master * @copyright 2010 - 2012 Jim Jagielski * @copyright 2004 - 2009 Andy Prevost * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License @@ -45,7 +53,11 @@ class POP3 * * @var string */ +<<<<<<< HEAD const VERSION = '6.1.7'; +======= + const VERSION = '6.2.0'; +>>>>>>> master /** * Default POP3 port number. @@ -62,12 +74,25 @@ class POP3 const DEFAULT_TIMEOUT = 30; /** +<<<<<<< HEAD * Debug display level. * Options: 0 = no, 1+ = yes. * * @var int */ public $do_debug = 0; +======= + * POP3 class debug output mode. + * Debug output level. + * Options: + * @see POP3::DEBUG_OFF: No output + * @see POP3::DEBUG_SERVER: Server messages, connection/server errors + * @see POP3::DEBUG_CLIENT: Client and Server messages, connection/server errors + * + * @var int + */ + public $do_debug = self::DEBUG_OFF; +>>>>>>> master /** * POP3 mail server hostname. @@ -131,6 +156,31 @@ class POP3 const LE = "\r\n"; /** +<<<<<<< HEAD +======= + * Debug level for no output. + * + * @var int + */ + const DEBUG_OFF = 0; + + /** + * Debug level to show server -> client messages + * also shows clients connection errors or errors from server + * + * @var int + */ + const DEBUG_SERVER = 1; + + /** + * Debug level to show client -> server and server -> client messages. + * + * @var int + */ + const DEBUG_CLIENT = 2; + + /** +>>>>>>> master * Simple static wrapper for all-in-one POP before SMTP. * * @param string $host The hostname to connect to @@ -329,7 +379,11 @@ class POP3 protected function getResponse($size = 128) { $response = fgets($this->pop_conn, $size); +<<<<<<< HEAD if ($this->do_debug >= 1) { +======= + if ($this->do_debug >= self::DEBUG_SERVER) { +>>>>>>> master echo 'Server -> Client: ', $response; } @@ -346,7 +400,11 @@ class POP3 protected function sendString($string) { if ($this->pop_conn) { +<<<<<<< HEAD if ($this->do_debug >= 2) { //Show client messages when debug >= 2 +======= + if ($this->do_debug >= self::DEBUG_CLIENT) { //Show client messages when debug >= 2 +>>>>>>> master echo 'Client -> Server: ', $string; } @@ -384,7 +442,11 @@ class POP3 protected function setError($error) { $this->errors[] = $error; +<<<<<<< HEAD if ($this->do_debug >= 1) { +======= + if ($this->do_debug >= self::DEBUG_SERVER) { +>>>>>>> master echo '
';
             foreach ($this->errors as $e) {
                 print_r($e);
diff --git a/vendor/phpmailer/phpmailer/src/SMTP.php b/vendor/phpmailer/phpmailer/src/SMTP.php
index 6b0b73ddd..91d6c9fc9 100644
--- a/vendor/phpmailer/phpmailer/src/SMTP.php
+++ b/vendor/phpmailer/phpmailer/src/SMTP.php
@@ -1,4 +1,8 @@
 >>>>>> master
 /**
  * PHPMailer RFC821 SMTP email transport class.
  * PHP Version 5.5.
@@ -9,7 +13,11 @@
  * @author    Jim Jagielski (jimjag) 
  * @author    Andy Prevost (codeworxtech) 
  * @author    Brent R. Matzelle (original founder)
+<<<<<<< HEAD
  * @copyright 2012 - 2019 Marcus Bointon
+=======
+ * @copyright 2012 - 2020 Marcus Bointon
+>>>>>>> master
  * @copyright 2010 - 2012 Jim Jagielski
  * @copyright 2004 - 2009 Andy Prevost
  * @license   http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
@@ -34,7 +42,11 @@ class SMTP
      *
      * @var string
      */
+<<<<<<< HEAD
     const VERSION = '6.1.7';
+=======
+    const VERSION = '6.2.0';
+>>>>>>> master
 
     /**
      * SMTP line break constant.
@@ -417,8 +429,13 @@ class SMTP
         // Windows does not have support for this timeout function
         if (strpos(PHP_OS, 'WIN') !== 0) {
             $max = (int)ini_get('max_execution_time');
+<<<<<<< HEAD
             // Don't bother if unlimited
             if (0 !== $max && $timeout > $max) {
+=======
+            // Don't bother if unlimited, or if set_time_limit is disabled
+            if (0 !== $max && $timeout > $max && strpos(ini_get('disable_functions'), 'set_time_limit') === false) {
+>>>>>>> master
                 @set_time_limit($timeout);
             }
             stream_set_timeout($connection, $timeout, 0);
@@ -539,11 +556,20 @@ class SMTP
                     return false;
                 }
                 // Send encoded username and password
+<<<<<<< HEAD
                 if (!$this->sendCommand(
                     'User & Password',
                     base64_encode("\0" . $username . "\0" . $password),
                     235
                 )
+=======
+                if (
+                    !$this->sendCommand(
+                        'User & Password',
+                        base64_encode("\0" . $username . "\0" . $password),
+                        235
+                    )
+>>>>>>> master
                 ) {
                     return false;
                 }
@@ -1086,8 +1112,15 @@ class SMTP
     {
         //If SMTP transcripts are left enabled, or debug output is posted online
         //it can leak credentials, so hide credentials in all but lowest level
+<<<<<<< HEAD
         if (self::DEBUG_LOWLEVEL > $this->do_debug &&
             in_array($command, ['User & Password', 'Username', 'Password'], true)) {
+=======
+        if (
+            self::DEBUG_LOWLEVEL > $this->do_debug &&
+            in_array($command, ['User & Password', 'Username', 'Password'], true)
+        ) {
+>>>>>>> master
             $this->edebug('CLIENT -> SERVER: [credentials hidden]', self::DEBUG_CLIENT);
         } else {
             $this->edebug('CLIENT -> SERVER: ' . $data, self::DEBUG_CLIENT);
@@ -1207,7 +1240,12 @@ class SMTP
                     self::DEBUG_LOWLEVEL
                 );
 
+<<<<<<< HEAD
                 //stream_select returns false when the `select` system call is interrupted by an incoming signal, try the select again
+=======
+                //stream_select returns false when the `select` system call is interrupted
+                //by an incoming signal, try the select again
+>>>>>>> master
                 if (stripos($message, 'interrupted system call') !== false) {
                     $this->edebug(
                         'SMTP -> get_lines(): retrying stream_select',
diff --git a/vendor/spomky-labs/base64url/composer.json b/vendor/spomky-labs/base64url/composer.json
index 638850c75..b1acbbea2 100644
--- a/vendor/spomky-labs/base64url/composer.json
+++ b/vendor/spomky-labs/base64url/composer.json
@@ -25,6 +25,7 @@
         "php": ">=7.1"
     },
     "require-dev": {
+<<<<<<< HEAD
         "php-coveralls/php-coveralls": "^2.0",
         "phpstan/phpstan": "^0.11",
         "phpstan/phpstan-beberlei-assert": "^0.11.0",
@@ -32,5 +33,13 @@
         "phpstan/phpstan-phpunit": "^0.11",
         "phpstan/phpstan-strict-rules": "^0.11",
         "phpunit/phpunit": "^7.0|^8.0|^9.0"
+=======
+        "phpstan/extension-installer": "^1.0",
+        "phpstan/phpstan": "^0.11|^0.12",
+        "phpstan/phpstan-beberlei-assert": "^0.11|^0.12",
+        "phpstan/phpstan-deprecation-rules": "^0.11|^0.12",
+        "phpstan/phpstan-phpunit": "^0.11|^0.12",
+        "phpstan/phpstan-strict-rules": "^0.11|^0.12"
+>>>>>>> master
     }
 }
diff --git a/vendor/stripe/stripe-php/CHANGELOG.md b/vendor/stripe/stripe-php/CHANGELOG.md
index 38aa90574..a8930448d 100644
--- a/vendor/stripe/stripe-php/CHANGELOG.md
+++ b/vendor/stripe/stripe-php/CHANGELOG.md
@@ -1,5 +1,57 @@
 # Changelog
 
+<<<<<<< HEAD
+=======
+## 7.66.1 - 2020-12-01
+* [#1054](https://github.com/stripe/stripe-php/pull/1054) Improve error message for invalid keys in StripeClient
+
+## 7.66.0 - 2020-11-24
+* [#1053](https://github.com/stripe/stripe-php/pull/1053) Update PHPDocs
+
+## 7.65.0 - 2020-11-19
+* [#1050](https://github.com/stripe/stripe-php/pull/1050) Added constants for `proration_behavior` on `Subscription`
+
+## 7.64.0 - 2020-11-18
+* [#1049](https://github.com/stripe/stripe-php/pull/1049) Update PHPDocs
+
+## 7.63.0 - 2020-11-17
+* [#1048](https://github.com/stripe/stripe-php/pull/1048) Update PHPDocs
+* [#1046](https://github.com/stripe/stripe-php/pull/1046) Force IPv4 resolving
+
+## 7.62.0 - 2020-11-09
+* [#1041](https://github.com/stripe/stripe-php/pull/1041) Add missing constants on `Event`
+* [#1038](https://github.com/stripe/stripe-php/pull/1038) Update PHPDocs
+
+## 7.61.0 - 2020-10-20
+* [#1030](https://github.com/stripe/stripe-php/pull/1030) Add support for `jp_rn` and `ru_kpp` as a `type` on `TaxId`
+
+## 7.60.0 - 2020-10-15
+* [#1027](https://github.com/stripe/stripe-php/pull/1027) Warn if opts are in params
+
+## 7.58.0 - 2020-10-14
+* [#1026](https://github.com/stripe/stripe-php/pull/1026) Add support for the Payout Reverse API
+
+## 7.57.0 - 2020-09-29
+* [#1020](https://github.com/stripe/stripe-php/pull/1020) Add support for the `SetupAttempt` resource and List API
+
+## 7.56.0 - 2020-09-25
+* [#1019](https://github.com/stripe/stripe-php/pull/1019) Update PHPDocs
+
+## 7.55.0 - 2020-09-24
+* [#1018](https://github.com/stripe/stripe-php/pull/1018) Multiple API changes
+  * Updated PHPDocs
+  * Added `TYPE_CONTRIBUTION` as a constant on `BalanceTransaction`
+
+## 7.54.0 - 2020-09-23
+* [#1017](https://github.com/stripe/stripe-php/pull/1017) Updated PHPDoc
+
+## 7.53.1 - 2020-09-22
+* [#1015](https://github.com/stripe/stripe-php/pull/1015) Bugfix: don't error on systems with php_uname in disablefunctions with whitespace
+
+## 7.53.0 - 2020-09-21
+* [#1016](https://github.com/stripe/stripe-php/pull/1016) Updated PHPDocs
+
+>>>>>>> master
 ## 7.52.0 - 2020-09-08
 * [#1010](https://github.com/stripe/stripe-php/pull/1010) Update PHPDocs
 
diff --git a/vendor/stripe/stripe-php/VERSION b/vendor/stripe/stripe-php/VERSION
index 4cfd27f8e..46924cb9e 100644
--- a/vendor/stripe/stripe-php/VERSION
+++ b/vendor/stripe/stripe-php/VERSION
@@ -1 +1,5 @@
+<<<<<<< HEAD
 7.52.0
+=======
+7.66.1
+>>>>>>> master
diff --git a/vendor/stripe/stripe-php/composer.json b/vendor/stripe/stripe-php/composer.json
index d4d27bd55..d02d8c85e 100644
--- a/vendor/stripe/stripe-php/composer.json
+++ b/vendor/stripe/stripe-php/composer.json
@@ -25,7 +25,11 @@
     "php-coveralls/php-coveralls": "^2.1",
     "squizlabs/php_codesniffer": "^3.3",
     "symfony/process": "~3.4",
+<<<<<<< HEAD
     "friendsofphp/php-cs-fixer": "2.16.1"
+=======
+    "friendsofphp/php-cs-fixer": "2.16.5"
+>>>>>>> master
   },
   "autoload": {
     "psr-4": {
diff --git a/vendor/stripe/stripe-php/init.php b/vendor/stripe/stripe-php/init.php
index 09c81f1b4..c93355378 100644
--- a/vendor/stripe/stripe-php/init.php
+++ b/vendor/stripe/stripe-php/init.php
@@ -134,6 +134,10 @@ require __DIR__ . '/lib/Refund.php';
 require __DIR__ . '/lib/Reporting/ReportRun.php';
 require __DIR__ . '/lib/Reporting/ReportType.php';
 require __DIR__ . '/lib/Review.php';
+<<<<<<< HEAD
+=======
+require __DIR__ . '/lib/SetupAttempt.php';
+>>>>>>> master
 require __DIR__ . '/lib/SetupIntent.php';
 require __DIR__ . '/lib/Sigma/ScheduledQueryRun.php';
 require __DIR__ . '/lib/SKU.php';
@@ -200,6 +204,10 @@ require __DIR__ . '/lib/Service/RefundService.php';
 require __DIR__ . '/lib/Service/Reporting/ReportRunService.php';
 require __DIR__ . '/lib/Service/Reporting/ReportTypeService.php';
 require __DIR__ . '/lib/Service/ReviewService.php';
+<<<<<<< HEAD
+=======
+require __DIR__ . '/lib/Service/SetupAttemptService.php';
+>>>>>>> master
 require __DIR__ . '/lib/Service/SetupIntentService.php';
 require __DIR__ . '/lib/Service/Sigma/ScheduledQueryRunService.php';
 require __DIR__ . '/lib/Service/SkuService.php';
diff --git a/vendor/stripe/stripe-php/lib/Account.php b/vendor/stripe/stripe-php/lib/Account.php
index 55ed901ec..a8582c6de 100644
--- a/vendor/stripe/stripe-php/lib/Account.php
+++ b/vendor/stripe/stripe-php/lib/Account.php
@@ -127,7 +127,11 @@ class Account extends ApiResource
         foreach ($additionalOwners as $i => $v) {
             $update = ($v instanceof StripeObject) ? $v->serializeParameters() : $v;
 
+<<<<<<< HEAD
             if ($update !== []) {
+=======
+            if ([] !== $update) {
+>>>>>>> master
                 if (!$originalValue ||
                     !\array_key_exists($i, $originalValue) ||
                     ($update !== $legalEntity->serializeParamsValue($originalValue[$i], null, false, true))) {
diff --git a/vendor/stripe/stripe-php/lib/ApiRequestor.php b/vendor/stripe/stripe-php/lib/ApiRequestor.php
index 0328112b8..21f0dba86 100644
--- a/vendor/stripe/stripe-php/lib/ApiRequestor.php
+++ b/vendor/stripe/stripe-php/lib/ApiRequestor.php
@@ -27,6 +27,11 @@ class ApiRequestor
      */
     private static $requestTelemetry;
 
+<<<<<<< HEAD
+=======
+    private static $OPTIONS_KEYS = ['api_key', 'idempotency_key', 'stripe_account', 'stripe_version', 'api_base'];
+
+>>>>>>> master
     /**
      * ApiRequestor constructor.
      *
@@ -258,6 +263,30 @@ class ApiRequestor
     /**
      * @static
      *
+<<<<<<< HEAD
+=======
+     * @param string $disabledFunctionsOutput - String value of the 'disable_function' setting, as output by \ini_get('disable_functions')
+     * @param string $functionName - Name of the function we are interesting in seeing whether or not it is disabled
+     * @param mixed $disableFunctionsOutput
+     *
+     * @return bool
+     */
+    private static function _isDisabled($disableFunctionsOutput, $functionName)
+    {
+        $disabledFunctions = \explode(',', $disableFunctionsOutput);
+        foreach ($disabledFunctions as $disabledFunction) {
+            if (\trim($disabledFunction) === $functionName) {
+                return true;
+            }
+        }
+
+        return false;
+    }
+
+    /**
+     * @static
+     *
+>>>>>>> master
      * @param string $apiKey
      * @param null   $clientInfo
      *
@@ -268,7 +297,11 @@ class ApiRequestor
         $uaString = 'Stripe/v1 PhpBindings/' . Stripe::VERSION;
 
         $langVersion = \PHP_VERSION;
+<<<<<<< HEAD
         $uname_disabled = \in_array('php_uname', \explode(',', \ini_get('disable_functions')), true);
+=======
+        $uname_disabled = static::_isDisabled(\ini_get('disable_functions'), 'php_uname');
+>>>>>>> master
         $uname = $uname_disabled ? '(disabled)' : \php_uname();
 
         $appInfo = Stripe::getAppInfo();
@@ -329,6 +362,24 @@ class ApiRequestor
             $clientUAInfo = $this->httpClient()->getUserAgentInfo();
         }
 
+<<<<<<< HEAD
+=======
+        if ($params && \is_array($params)) {
+            $optionKeysInParams = \array_filter(
+                static::$OPTIONS_KEYS,
+                function ($key) use ($params) {
+                    return \array_key_exists($key, $params);
+                }
+            );
+            if (\count($optionKeysInParams) > 0) {
+                $message = \sprintf('Options found in $params: %s. Options should '
+                  . 'be passed in their own array after $params. (HINT: pass an '
+                  . 'empty array to $params if you do not have any.)', \implode(', ', $optionKeysInParams));
+                \trigger_error($message, \E_USER_WARNING);
+            }
+        }
+
+>>>>>>> master
         $absUrl = $this->_apiBase . $url;
         $params = self::_encodeObjects($params);
         $defaultHeaders = $this->_defaultHeaders($myApiKey, $clientUAInfo);
diff --git a/vendor/stripe/stripe-php/lib/ApplicationFeeRefund.php b/vendor/stripe/stripe-php/lib/ApplicationFeeRefund.php
index 07b01a4ed..de834dc3c 100644
--- a/vendor/stripe/stripe-php/lib/ApplicationFeeRefund.php
+++ b/vendor/stripe/stripe-php/lib/ApplicationFeeRefund.php
@@ -20,7 +20,11 @@ namespace Stripe;
  * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
  * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency.
  * @property string|\Stripe\ApplicationFee $fee ID of the application fee that was refunded.
+<<<<<<< HEAD
  * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+=======
+ * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+>>>>>>> master
  */
 class ApplicationFeeRefund extends ApiResource
 {
diff --git a/vendor/stripe/stripe-php/lib/Balance.php b/vendor/stripe/stripe-php/lib/Balance.php
index eaf119792..fc3110f6f 100644
--- a/vendor/stripe/stripe-php/lib/Balance.php
+++ b/vendor/stripe/stripe-php/lib/Balance.php
@@ -22,6 +22,10 @@ namespace Stripe;
  * @property string $object String representing the object's type. Objects of the same type share the same value.
  * @property \Stripe\StripeObject[] $available Funds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the Transfers API or Payouts API. The available balance for each currency and payment type can be found in the source_types property.
  * @property \Stripe\StripeObject[] $connect_reserved Funds held due to negative balances on connected Custom accounts. The connect reserve balance for each currency and payment type can be found in the source_types property.
+<<<<<<< HEAD
+=======
+ * @property \Stripe\StripeObject[] $instant_available Funds that can be paid out using Instant Payouts.
+>>>>>>> master
  * @property \Stripe\StripeObject $issuing
  * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode.
  * @property \Stripe\StripeObject[] $pending Funds that are not yet available in the balance, due to the 7-day rolling pay cycle. The pending balance for each currency, and for each payment type, can be found in the source_types property.
diff --git a/vendor/stripe/stripe-php/lib/BalanceTransaction.php b/vendor/stripe/stripe-php/lib/BalanceTransaction.php
index 08e27f4ed..83138fe1c 100644
--- a/vendor/stripe/stripe-php/lib/BalanceTransaction.php
+++ b/vendor/stripe/stripe-php/lib/BalanceTransaction.php
@@ -27,7 +27,11 @@ namespace Stripe;
  * @property string $reporting_category Learn more about how reporting categories can help you understand balance transactions from an accounting perspective.
  * @property null|string|\Stripe\StripeObject $source The Stripe object to which this transaction is related.
  * @property string $status If the transaction's net funds are available in the Stripe balance yet. Either available or pending.
+<<<<<<< HEAD
  * @property string $type Transaction type: adjustment, advance, advance_funding, anticipation_repayment, application_fee, application_fee_refund, charge, connect_collection_transfer, issuing_authorization_hold, issuing_authorization_release, issuing_dispute, issuing_transaction, payment, payment_failure_refund, payment_refund, payout, payout_cancel, payout_failure, refund, refund_failure, reserve_transaction, reserved_funds, stripe_fee, stripe_fx_fee, tax_fee, topup, topup_reversal, transfer, transfer_cancel, transfer_failure, or transfer_refund. Learn more about balance transaction types and what they represent. If you are looking to classify transactions for accounting purposes, you might want to consider reporting_category instead.
+=======
+ * @property string $type Transaction type: adjustment, advance, advance_funding, anticipation_repayment, application_fee, application_fee_refund, charge, connect_collection_transfer, contribution, issuing_authorization_hold, issuing_authorization_release, issuing_dispute, issuing_transaction, payment, payment_failure_refund, payment_refund, payout, payout_cancel, payout_failure, refund, refund_failure, reserve_transaction, reserved_funds, stripe_fee, stripe_fx_fee, tax_fee, topup, topup_reversal, transfer, transfer_cancel, transfer_failure, or transfer_refund. Learn more about balance transaction types and what they represent. If you are looking to classify transactions for accounting purposes, you might want to consider reporting_category instead.
+>>>>>>> master
  */
 class BalanceTransaction extends ApiResource
 {
@@ -44,6 +48,10 @@ class BalanceTransaction extends ApiResource
     const TYPE_APPLICATION_FEE_REFUND = 'application_fee_refund';
     const TYPE_CHARGE = 'charge';
     const TYPE_CONNECT_COLLECTION_TRANSFER = 'connect_collection_transfer';
+<<<<<<< HEAD
+=======
+    const TYPE_CONTRIBUTION = 'contribution';
+>>>>>>> master
     const TYPE_ISSUING_AUTHORIZATION_HOLD = 'issuing_authorization_hold';
     const TYPE_ISSUING_AUTHORIZATION_RELEASE = 'issuing_authorization_release';
     const TYPE_ISSUING_DISPUTE = 'issuing_dispute';
diff --git a/vendor/stripe/stripe-php/lib/BaseStripeClient.php b/vendor/stripe/stripe-php/lib/BaseStripeClient.php
index e5482576d..d97fd355c 100644
--- a/vendor/stripe/stripe-php/lib/BaseStripeClient.php
+++ b/vendor/stripe/stripe-php/lib/BaseStripeClient.php
@@ -260,7 +260,14 @@ class BaseStripeClient implements StripeClientInterface
         // check absence of extra keys
         $extraConfigKeys = \array_diff(\array_keys($config), \array_keys($this->getDefaultConfig()));
         if (!empty($extraConfigKeys)) {
+<<<<<<< HEAD
             throw new \Stripe\Exception\InvalidArgumentException('Found unknown key(s) in configuration array: ' . \implode(',', $extraConfigKeys));
+=======
+            // Wrap in single quote to more easily catch trailing spaces errors
+            $invalidKeys = "'" . \implode("', '", $extraConfigKeys) . "'";
+
+            throw new \Stripe\Exception\InvalidArgumentException('Found unknown key(s) in configuration array: ' . $invalidKeys);
+>>>>>>> master
         }
     }
 }
diff --git a/vendor/stripe/stripe-php/lib/BitcoinReceiver.php b/vendor/stripe/stripe-php/lib/BitcoinReceiver.php
index a55af00cf..82cf2200b 100644
--- a/vendor/stripe/stripe-php/lib/BitcoinReceiver.php
+++ b/vendor/stripe/stripe-php/lib/BitcoinReceiver.php
@@ -24,7 +24,11 @@ namespace Stripe;
  * @property bool $filled This flag is initially false and updates to true when the customer sends the bitcoin_amount to this receiver.
  * @property string $inbound_address A bitcoin address that is specific to this receiver. The customer can send bitcoin to this address to fill the receiver.
  * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode.
+<<<<<<< HEAD
  * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+=======
+ * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+>>>>>>> master
  * @property null|string $payment The ID of the payment created from the receiver, if any. Hidden when viewing the receiver with a publishable key.
  * @property null|string $refund_address The refund address of this bitcoin receiver.
  * @property \Stripe\Collection $transactions A list with one entry for each time that the customer sent bitcoin to the receiver. Hidden when viewing the receiver with a publishable key.
diff --git a/vendor/stripe/stripe-php/lib/Card.php b/vendor/stripe/stripe-php/lib/Card.php
index 9575400f7..8a4254162 100644
--- a/vendor/stripe/stripe-php/lib/Card.php
+++ b/vendor/stripe/stripe-php/lib/Card.php
@@ -26,17 +26,28 @@ namespace Stripe;
  * @property null|string[] $available_payout_methods A set of available payout methods for this card. Only values from this set should be passed as the method when creating a payout.
  * @property string $brand Card brand. Can be American Express, Diners Club, Discover, JCB, MasterCard, UnionPay, Visa, or Unknown.
  * @property null|string $country Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
+<<<<<<< HEAD
  * @property null|string $currency
+=======
+ * @property null|string $currency Three-letter ISO code for currency. Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency.
+>>>>>>> master
  * @property null|string|\Stripe\Customer $customer The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.
  * @property null|string $cvc_check If a CVC was provided, results of the check: pass, fail, unavailable, or unchecked. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see Check if a card is valid without a charge.
  * @property null|bool $default_for_currency Whether this card is the default external account for its currency.
  * @property null|string $dynamic_last4 (For tokenized numbers only.) The last four digits of the device account number.
  * @property int $exp_month Two-digit number representing the card's expiration month.
  * @property int $exp_year Four-digit number representing the card's expiration year.
+<<<<<<< HEAD
  * @property null|string $fingerprint Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number,for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
  * @property string $funding Card funding type. Can be credit, debit, prepaid, or unknown.
  * @property string $last4 The last four digits of the card.
  * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+=======
+ * @property null|string $fingerprint Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
+ * @property string $funding Card funding type. Can be credit, debit, prepaid, or unknown.
+ * @property string $last4 The last four digits of the card.
+ * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+>>>>>>> master
  * @property null|string $name Cardholder name.
  * @property null|string|\Stripe\Recipient $recipient The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.
  * @property null|string $tokenization_method If the card number is tokenized, this is the method that was used. Can be android_pay (includes Google Pay), apple_pay, masterpass, visa_checkout, or null.
diff --git a/vendor/stripe/stripe-php/lib/Charge.php b/vendor/stripe/stripe-php/lib/Charge.php
index 0dbcda604..30c0c8e4e 100644
--- a/vendor/stripe/stripe-php/lib/Charge.php
+++ b/vendor/stripe/stripe-php/lib/Charge.php
@@ -16,6 +16,10 @@ namespace Stripe;
  * @property string $id Unique identifier for the object.
  * @property string $object String representing the object's type. Objects of the same type share the same value.
  * @property int $amount Amount intended to be collected by this payment. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
+<<<<<<< HEAD
+=======
+ * @property int $amount_captured Amount in %s captured (can be less than the amount attribute on the charge if a partial capture was made).
+>>>>>>> master
  * @property int $amount_refunded Amount in %s refunded (can be less than the amount attribute on the charge if a partial refund was issued).
  * @property null|string|\Stripe\StripeObject $application ID of the Connect application that created the charge.
  * @property null|string|\Stripe\ApplicationFee $application_fee The application fee (if any) for the charge. See the Connect documentation for details.
@@ -51,7 +55,11 @@ namespace Stripe;
  * @property \Stripe\Collection $refunds A list of refunds that have been applied to the charge.
  * @property null|string|\Stripe\Review $review ID of the review associated with this charge if one exists.
  * @property null|\Stripe\StripeObject $shipping Shipping information for the charge.
+<<<<<<< HEAD
  * @property null|\Stripe\StripeObject $source This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to payment_method or payment_method_details instead.
+=======
+ * @property null|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $source This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to payment_method or payment_method_details instead.
+>>>>>>> master
  * @property null|string|\Stripe\Transfer $source_transfer The transfer ID which created this charge. Only present if the charge came from another Stripe account. See the Connect documentation for details.
  * @property null|string $statement_descriptor For card charges, use statement_descriptor_suffix instead. Otherwise, you can use this value as the complete description of a charge on your customers’ statements. Must contain at least one letter, maximum 22 characters.
  * @property null|string $statement_descriptor_suffix Provides information about the charge that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.
diff --git a/vendor/stripe/stripe-php/lib/Checkout/Session.php b/vendor/stripe/stripe-php/lib/Checkout/Session.php
index dbd9c6fef..d2de06042 100644
--- a/vendor/stripe/stripe-php/lib/Checkout/Session.php
+++ b/vendor/stripe/stripe-php/lib/Checkout/Session.php
@@ -37,7 +37,11 @@ namespace Stripe\Checkout;
  * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode.
  * @property null|string $locale The IETF language tag of the locale Checkout is displayed in. If blank or auto, the browser's locale is used.
  * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+<<<<<<< HEAD
  * @property string $mode The mode of the Checkout Session, one of payment, setup, or subscription.
+=======
+ * @property string $mode The mode of the Checkout Session.
+>>>>>>> master
  * @property null|string|\Stripe\PaymentIntent $payment_intent The ID of the PaymentIntent for Checkout Sessions in payment mode.
  * @property string[] $payment_method_types A list of the types of payment methods (e.g. card) this Checkout Session is allowed to accept.
  * @property string $payment_status The payment status of the Checkout Session, one of paid, unpaid, or no_payment_required. You can use this value to decide when to fulfill your customer's order.
diff --git a/vendor/stripe/stripe-php/lib/Coupon.php b/vendor/stripe/stripe-php/lib/Coupon.php
index 204f0ae9a..2925f29d1 100644
--- a/vendor/stripe/stripe-php/lib/Coupon.php
+++ b/vendor/stripe/stripe-php/lib/Coupon.php
@@ -22,7 +22,11 @@ namespace Stripe;
  * @property null|int $duration_in_months If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once.
  * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode.
  * @property null|int $max_redemptions Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.
+<<<<<<< HEAD
  * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+=======
+ * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+>>>>>>> master
  * @property null|string $name Name of the coupon displayed to customers on for instance invoices or receipts.
  * @property null|float $percent_off Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with percent_off of 50 will make a %s100 invoice %s50 instead.
  * @property null|int $redeem_by Date after which the coupon can no longer be redeemed.
diff --git a/vendor/stripe/stripe-php/lib/CreditNote.php b/vendor/stripe/stripe-php/lib/CreditNote.php
index 673198a90..adcfa9255 100644
--- a/vendor/stripe/stripe-php/lib/CreditNote.php
+++ b/vendor/stripe/stripe-php/lib/CreditNote.php
@@ -13,27 +13,45 @@ namespace Stripe;
  *
  * @property string $id Unique identifier for the object.
  * @property string $object String representing the object's type. Objects of the same type share the same value.
+<<<<<<< HEAD
  * @property int $amount The integer amount in %s representing the total amount of the credit note, including tax.
+=======
+ * @property int $amount The integer amount in %s representing the total amount of the credit note, including tax.
+>>>>>>> master
  * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
  * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency.
  * @property string|\Stripe\Customer $customer ID of the customer.
  * @property null|string|\Stripe\CustomerBalanceTransaction $customer_balance_transaction Customer balance transaction related to this credit note.
+<<<<<<< HEAD
  * @property int $discount_amount The integer amount in %s representing the total amount of discount that was credited.
+=======
+ * @property int $discount_amount The integer amount in %s representing the total amount of discount that was credited.
+>>>>>>> master
  * @property \Stripe\StripeObject[] $discount_amounts The aggregate amounts calculated per discount for all line items.
  * @property string|\Stripe\Invoice $invoice ID of the invoice.
  * @property \Stripe\Collection $lines Line items that make up the credit note
  * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode.
  * @property null|string $memo Customer-facing text that appears on the credit note PDF.
+<<<<<<< HEAD
  * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+=======
+ * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
+>>>>>>> master
  * @property string $number A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice.
  * @property null|int $out_of_band_amount Amount that was credited outside of Stripe.
  * @property string $pdf The link to download the PDF of the credit note.
  * @property null|string $reason Reason for issuing this credit note, one of duplicate, fraudulent, order_change, or product_unsatisfactory
  * @property null|string|\Stripe\Refund $refund Refund related to this credit note.
  * @property string $status Status of this credit note, one of issued or void. Learn more about voiding credit notes.
+<<<<<<< HEAD
  * @property int $subtotal The integer amount in %s representing the amount of the credit note, excluding tax and invoice level discounts.
  * @property \Stripe\StripeObject[] $tax_amounts The aggregate amounts calculated per tax rate for all line items.
  * @property int $total The integer amount in %s representing the total amount of the credit note, including tax and all discount.
+=======
+ * @property int $subtotal The integer amount in %s representing the amount of the credit note, excluding tax and invoice level discounts.
+ * @property \Stripe\StripeObject[] $tax_amounts The aggregate amounts calculated per tax rate for all line items.
+ * @property int $total The integer amount in %s representing the total amount of the credit note, including tax and all discount.
+>>>>>>> master
  * @property string $type Type of this credit note, one of pre_payment or post_payment. A pre_payment credit note means it was issued when the invoice was open. A post_payment credit note means it was issued when the invoice was paid.
  * @property null|int $voided_at The time that the credit note was voided.
  */
diff --git a/vendor/stripe/stripe-php/lib/CreditNoteLineItem.php b/vendor/stripe/stripe-php/lib/CreditNoteLineItem.php
index 5221f2c94..3cccdf176 100644
--- a/vendor/stripe/stripe-php/lib/CreditNoteLineItem.php
+++ b/vendor/stripe/stripe-php/lib/CreditNoteLineItem.php
@@ -7,9 +7,15 @@ namespace Stripe;
 /**
  * @property string $id Unique identifier for the object.
  * @property string $object String representing the object's type. Objects of the same type share the same value.
+<<<<<<< HEAD
  * @property int $amount The integer amount in %s representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts.
  * @property null|string $description Description of the item being credited.
  * @property int $discount_amount The integer amount in %s representing the discount being credited for this line item.
+=======
+ * @property int $amount The integer amount in %s representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts.
+ * @property null|string $description Description of the item being credited.
+ * @property int $discount_amount The integer amount in %s representing the discount being credited for this line item.
+>>>>>>> master
  * @property \Stripe\StripeObject[] $discount_amounts The amount of discount calculated per discount for this line item
  * @property string $invoice_line_item ID of the invoice line item being credited
  * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode.
diff --git a/vendor/stripe/stripe-php/lib/Customer.php b/vendor/stripe/stripe-php/lib/Customer.php
index bad1f76b7..85508ab4d 100644
--- a/vendor/stripe/stripe-php/lib/Customer.php
+++ b/vendor/stripe/stripe-php/lib/Customer.php
@@ -20,8 +20,13 @@ namespace Stripe;
  * @property int $balance Current balance, if any, being stored on the customer. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that will be added to their next invoice. The balance does not refer to any unpaid invoices; it solely takes into account amounts that have yet to be successfully applied to any invoice. This balance is only taken into account as invoices are finalized.
  * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
  * @property null|string $currency Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes.
+<<<<<<< HEAD
  * @property null|string|\Stripe\StripeObject $default_source 

ID of the default payment source for the customer.

If you are using payment methods created via the PaymentMethods API, see the invoice_settings.default_payment_method field instead.

* @property null|bool $delinquent When the customer's latest invoice is billed by charging automatically, delinquent is true if the invoice's latest charge is failed. When the customer's latest invoice is billed by sending an invoice, delinquent is true if the invoice is not paid by its due date. +======= + * @property null|string|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $default_source

ID of the default payment source for the customer.

If you are using payment methods created via the PaymentMethods API, see the invoice_settings.default_payment_method field instead.

+ * @property null|bool $delinquent

When the customer's latest invoice is billed by charging automatically, delinquent is true if the invoice's latest charge failed. When the customer's latest invoice is billed by sending an invoice, delinquent is true if the invoice isn't paid by its due date.

If an invoice is marked uncollectible by dunning, delinquent doesn't get reset to false.

+>>>>>>> master * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. * @property null|\Stripe\Discount $discount Describes the current discount active on the customer, if there is one. * @property null|string $email The customer's email address. diff --git a/vendor/stripe/stripe-php/lib/ErrorObject.php b/vendor/stripe/stripe-php/lib/ErrorObject.php index d2b97d472..dce155f87 100644 --- a/vendor/stripe/stripe-php/lib/ErrorObject.php +++ b/vendor/stripe/stripe-php/lib/ErrorObject.php @@ -23,6 +23,12 @@ namespace Stripe; * returned on a request involving a PaymentIntent. * @property PaymentMethod $payment_method The PaymentMethod object for errors * returned on a request involving a PaymentMethod. +<<<<<<< HEAD +======= + * @property string $payment_method_type If the error is specific to the type + * of payment method, the payment method type that had a problem. This + * field is only populated for invoice-related errors. +>>>>>>> master * @property SetupIntent $setup_intent The SetupIntent object for errors * returned on a request involving a SetupIntent. * @property StripeObject $source The source object for errors returned on a diff --git a/vendor/stripe/stripe-php/lib/Event.php b/vendor/stripe/stripe-php/lib/Event.php index 3bf5b238f..aae91c808 100644 --- a/vendor/stripe/stripe-php/lib/Event.php +++ b/vendor/stripe/stripe-php/lib/Event.php @@ -72,6 +72,10 @@ class Event extends ApiResource const APPLICATION_FEE_REFUNDED = 'application_fee.refunded'; const APPLICATION_FEE_REFUND_UPDATED = 'application_fee.refund.updated'; const BALANCE_AVAILABLE = 'balance.available'; +<<<<<<< HEAD +======= + const CAPABILITY_UPDATED = 'capability.updated'; +>>>>>>> master const CHARGE_CAPTURED = 'charge.captured'; const CHARGE_EXPIRED = 'charge.expired'; const CHARGE_FAILED = 'charge.failed'; @@ -106,11 +110,25 @@ class Event extends ApiResource const CUSTOMER_SOURCE_UPDATED = 'customer.source.updated'; const CUSTOMER_SUBSCRIPTION_CREATED = 'customer.subscription.created'; const CUSTOMER_SUBSCRIPTION_DELETED = 'customer.subscription.deleted'; +<<<<<<< HEAD const CUSTOMER_SUBSCRIPTION_TRIAL_WILL_END = 'customer.subscription.trial_will_end'; const CUSTOMER_SUBSCRIPTION_UPDATED = 'customer.subscription.updated'; const FILE_CREATED = 'file.created'; const INVOICE_CREATED = 'invoice.created'; const INVOICE_DELETED = 'invoice.deleted'; +======= + const CUSTOMER_SUBSCRIPTION_PENDING_UPDATE_APPLIED = 'customer.subscription.pending_update_applied'; + const CUSTOMER_SUBSCRIPTION_PENDING_UPDATE_EXPIRED = 'customer.subscription.pending_update_expired'; + const CUSTOMER_SUBSCRIPTION_TRIAL_WILL_END = 'customer.subscription.trial_will_end'; + const CUSTOMER_SUBSCRIPTION_UPDATED = 'customer.subscription.updated'; + const CUSTOMER_TAX_ID_CREATED = 'customer.tax_id.created'; + const CUSTOMER_TAX_ID_DELETED = 'customer.tax_id.deleted'; + const CUSTOMER_TAX_ID_UPDATED = 'customer.tax_id.updated'; + const FILE_CREATED = 'file.created'; + const INVOICE_CREATED = 'invoice.created'; + const INVOICE_DELETED = 'invoice.deleted'; + const INVOICE_FINALIZATION_FAILED = 'invoice.finalization_failed'; +>>>>>>> master const INVOICE_FINALIZED = 'invoice.finalized'; const INVOICE_MARKED_UNCOLLECTIBLE = 'invoice.marked_uncollectible'; const INVOICE_PAID = 'invoice.paid'; @@ -132,11 +150,22 @@ class Event extends ApiResource const ISSUING_CARD_UPDATED = 'issuing_card.updated'; const ISSUING_CARDHOLDER_CREATED = 'issuing_cardholder.created'; const ISSUING_CARDHOLDER_UPDATED = 'issuing_cardholder.updated'; +<<<<<<< HEAD const ISSUING_DISPUTE_CREATED = 'issuing_dispute.created'; const ISSUING_DISPUTE_FUNDS_REINSTATED = 'issuing_dispute.funds_reinstated'; const ISSUING_DISPUTE_UPDATED = 'issuing_dispute.updated'; const ISSUING_TRANSACTION_CREATED = 'issuing_transaction.created'; const ISSUING_TRANSACTION_UPDATED = 'issuing_transaction.updated'; +======= + const ISSUING_DISPUTE_CLOSED = 'issuing_dispute.closed'; + const ISSUING_DISPUTE_CREATED = 'issuing_dispute.created'; + const ISSUING_DISPUTE_FUNDS_REINSTATED = 'issuing_dispute.funds_reinstated'; + const ISSUING_DISPUTE_SUBMITTED = 'issuing_dispute.submitted'; + const ISSUING_DISPUTE_UPDATED = 'issuing_dispute.updated'; + const ISSUING_TRANSACTION_CREATED = 'issuing_transaction.created'; + const ISSUING_TRANSACTION_UPDATED = 'issuing_transaction.updated'; + const MANDATE_UPDATED = 'mandate.updated'; +>>>>>>> master const ORDER_CREATED = 'order.created'; const ORDER_PAYMENT_FAILED = 'order.payment_failed'; const ORDER_PAYMENT_SUCCEEDED = 'order.payment_succeeded'; @@ -146,8 +175,16 @@ class Event extends ApiResource const PAYMENT_INTENT_CANCELED = 'payment_intent.canceled'; const PAYMENT_INTENT_CREATED = 'payment_intent.created'; const PAYMENT_INTENT_PAYMENT_FAILED = 'payment_intent.payment_failed'; +<<<<<<< HEAD const PAYMENT_INTENT_SUCCEEDED = 'payment_intent.succeeded'; const PAYMENT_METHOD_ATTACHED = 'payment_method.attached'; +======= + const PAYMENT_INTENT_PROCESSING = 'payment_intent.processing'; + const PAYMENT_INTENT_REQUIRES_ACTION = 'payment_intent.requires_action'; + const PAYMENT_INTENT_SUCCEEDED = 'payment_intent.succeeded'; + const PAYMENT_METHOD_ATTACHED = 'payment_method.attached'; + const PAYMENT_METHOD_AUTOMATICALLY_UPDATED = 'payment_method.automatically_updated'; +>>>>>>> master const PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED = 'payment_method.card_automatically_updated'; const PAYMENT_METHOD_DETACHED = 'payment_method.detached'; const PAYMENT_METHOD_UPDATED = 'payment_method.updated'; @@ -169,6 +206,14 @@ class Event extends ApiResource const PRODUCT_CREATED = 'product.created'; const PRODUCT_DELETED = 'product.deleted'; const PRODUCT_UPDATED = 'product.updated'; +<<<<<<< HEAD +======= + const PROMOTION_CODE_CREATED = 'promotion_code.created'; + const PROMOTION_CODE_DELETED = 'promotion_code.deleted'; + const PROMOTION_CODE_UPDATED = 'promotion_code.updated'; + const RADAR_EARLY_FRAUD_WARNING_CREATED = 'radar.early_fraud_warning.created'; + const RADAR_EARLY_FRAUD_WARNING_UPDATED = 'radar.early_fraud_warning.updated'; +>>>>>>> master const RECIPIENT_CREATED = 'recipient.created'; const RECIPIENT_DELETED = 'recipient.deleted'; const RECIPIENT_UPDATED = 'recipient.updated'; @@ -179,6 +224,10 @@ class Event extends ApiResource const REVIEW_OPENED = 'review.opened'; const SETUP_INTENT_CANCELED = 'setup_intent.canceled'; const SETUP_INTENT_CREATED = 'setup_intent.created'; +<<<<<<< HEAD +======= + const SETUP_INTENT_REQUIRES_ACTION = 'setup_intent.requires_action'; +>>>>>>> master const SETUP_INTENT_SETUP_FAILED = 'setup_intent.setup_failed'; const SETUP_INTENT_SUCCEEDED = 'setup_intent.succeeded'; const SIGMA_SCHEDULED_QUERY_RUN_CREATED = 'sigma.scheduled_query_run.created'; diff --git a/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php b/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php index 1f9f0d5e2..9a0978ff2 100644 --- a/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php +++ b/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php @@ -271,6 +271,13 @@ class CurlClient implements ClientInterface $opts[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_2TLS; } +<<<<<<< HEAD +======= + // Stripe's API servers are only accessible over IPv4. Force IPv4 resolving to avoid + // potential issues (cf. https://github.com/stripe/stripe-php/issues/1045). + $opts[\CURLOPT_IPRESOLVE] = \CURL_IPRESOLVE_V4; + +>>>>>>> master list($rbody, $rcode, $rheaders) = $this->executeRequestWithRetries($opts, $absUrl); return [$rbody, $rcode, $rheaders]; @@ -283,7 +290,10 @@ class CurlClient implements ClientInterface private function executeRequestWithRetries($opts, $absUrl) { $numRetries = 0; +<<<<<<< HEAD $isPost = \array_key_exists(\CURLOPT_POST, $opts) && 1 === $opts[\CURLOPT_POST]; +======= +>>>>>>> master while (true) { $rcode = 0; diff --git a/vendor/stripe/stripe-php/lib/Invoice.php b/vendor/stripe/stripe-php/lib/Invoice.php index d07aab391..8e3e872b6 100644 --- a/vendor/stripe/stripe-php/lib/Invoice.php +++ b/vendor/stripe/stripe-php/lib/Invoice.php @@ -45,6 +45,10 @@ namespace Stripe; * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|string $account_country The country of the business associated with this invoice, most often the business creating the invoice. * @property null|string $account_name The public name of the business associated with this invoice, most often the business creating the invoice. +<<<<<<< HEAD +======= + * @property null|(string|\Stripe\TaxId)[] $account_tax_ids The account tax IDs associated with the invoice. Only editable when the invoice is a draft. +>>>>>>> master * @property int $amount_due Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the amount_due may be 0. If there is a positive starting_balance for the invoice (the customer owes money), the amount_due will also take that into account. The charge that gets generated for the invoice will be for the amount specified in amount_due. * @property int $amount_paid The amount, in %s, that was paid. * @property int $amount_remaining The amount remaining, in %s, that is due. @@ -67,16 +71,27 @@ namespace Stripe; * @property null|string $customer_tax_exempt The customer's tax exempt status. Until the invoice is finalized, this field will equal customer.tax_exempt. Once the invoice is finalized, this field will no longer be updated. * @property null|\Stripe\StripeObject[] $customer_tax_ids The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as customer.tax_ids. Once the invoice is finalized, this field will no longer be updated. * @property null|string|\Stripe\PaymentMethod $default_payment_method ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. +<<<<<<< HEAD * @property null|string|\Stripe\StripeObject $default_source ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. * @property null|\Stripe\TaxRate[] $default_tax_rates The tax rates applied to this invoice, if any. * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. * @property null|\Stripe\Discount $discount Describes the current discount applied to this invoice, if there is one. +======= + * @property null|string|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $default_source ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. + * @property \Stripe\TaxRate[] $default_tax_rates The tax rates applied to this invoice, if any. + * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. + * @property null|\Stripe\Discount $discount Describes the current discount applied to this invoice, if there is one. Not populated if there are multiple discounts. +>>>>>>> master * @property null|(string|\Stripe\Discount)[] $discounts The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use expand[]=discounts to expand each discount. * @property null|int $due_date The date on which payment for this invoice is due. This value will be null for invoices where collection_method=charge_automatically. * @property null|int $ending_balance Ending customer balance after the invoice is finalized. Invoices are finalized approximately an hour after successful webhook delivery or when payment collection is attempted for the invoice. If the invoice has not been finalized yet, this will be null. * @property null|string $footer Footer displayed on the invoice. * @property null|string $hosted_invoice_url The URL for the hosted invoice page, which allows customers to view and pay an invoice. If the invoice has not been finalized yet, this will be null. * @property null|string $invoice_pdf The link to download the PDF for the invoice. If the invoice has not been finalized yet, this will be null. +<<<<<<< HEAD +======= + * @property null|\Stripe\ErrorObject $last_finalization_error The error encountered during the previous attempt to finalize the invoice. This field is cleared when the invoice is successfully finalized. +>>>>>>> master * @property \Stripe\Collection $lines The individual line items that make up the invoice. lines is sorted as follows: invoice items in reverse chronological order, followed by the subscription, if any. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. @@ -100,7 +115,11 @@ namespace Stripe; * @property \Stripe\StripeObject $threshold_reason * @property int $total Total after discounts and taxes. * @property null|\Stripe\StripeObject[] $total_discount_amounts The aggregate amounts calculated per discount across all line items. +<<<<<<< HEAD * @property null|\Stripe\StripeObject[] $total_tax_amounts The aggregate amounts calculated per tax rate for all line items. +======= + * @property \Stripe\StripeObject[] $total_tax_amounts The aggregate amounts calculated per tax rate for all line items. +>>>>>>> master * @property null|int $webhooks_delivered_at Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have been exhausted. This field tracks the time when webhooks for this invoice were successfully delivered. If the invoice had no webhooks to deliver, this will be set while the invoice is being created. */ class Invoice extends ApiResource diff --git a/vendor/stripe/stripe-php/lib/InvoiceItem.php b/vendor/stripe/stripe-php/lib/InvoiceItem.php index f9c63ea31..bad238281 100644 --- a/vendor/stripe/stripe-php/lib/InvoiceItem.php +++ b/vendor/stripe/stripe-php/lib/InvoiceItem.php @@ -25,7 +25,11 @@ namespace Stripe; * @property null|(string|\Stripe\Discount)[] $discounts The discounts which apply to the invoice item. Item discounts are applied before invoice discounts. Use expand[]=discounts to expand each discount. * @property null|string|\Stripe\Invoice $invoice The ID of the invoice this invoice item belongs to. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. +<<<<<<< HEAD * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +======= + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +>>>>>>> master * @property \Stripe\StripeObject $period * @property null|\Stripe\Plan $plan If the invoice item is a proration, the plan of the subscription that the proration was computed for. * @property null|\Stripe\Price $price The price of the invoice item. @@ -34,7 +38,11 @@ namespace Stripe; * @property null|string|\Stripe\Subscription $subscription The subscription that this invoice item has been created for, if any. * @property string $subscription_item The subscription item that this invoice item has been created for, if any. * @property null|\Stripe\TaxRate[] $tax_rates The tax rates which apply to the invoice item. When set, the default_tax_rates on the invoice do not apply to this invoice item. +<<<<<<< HEAD * @property null|int $unit_amount Unit Amount (in the currency specified) of the invoice item. +======= + * @property null|int $unit_amount Unit amount (in the currency specified) of the invoice item. +>>>>>>> master * @property null|string $unit_amount_decimal Same as unit_amount, but contains a decimal value with at most 12 decimal places. */ class InvoiceItem extends ApiResource diff --git a/vendor/stripe/stripe-php/lib/InvoiceLineItem.php b/vendor/stripe/stripe-php/lib/InvoiceLineItem.php index 969f7b257..6f82ce106 100644 --- a/vendor/stripe/stripe-php/lib/InvoiceLineItem.php +++ b/vendor/stripe/stripe-php/lib/InvoiceLineItem.php @@ -23,8 +23,13 @@ namespace Stripe; * @property null|int $quantity The quantity of the subscription, if the line item is a subscription or a proration. * @property null|string $subscription The subscription that the invoice item pertains to, if any. * @property string $subscription_item The subscription item that generated this invoice item. Left empty if the line item is not an explicit result of a subscription. +<<<<<<< HEAD * @property null|\Stripe\StripeObject[] $tax_amounts The amount of tax calculated per tax rate for this line item * @property null|\Stripe\TaxRate[] $tax_rates The tax rates which apply to the line item. +======= + * @property \Stripe\StripeObject[] $tax_amounts The amount of tax calculated per tax rate for this line item + * @property \Stripe\TaxRate[] $tax_rates The tax rates which apply to the line item. +>>>>>>> master * @property string $type A string identifying the type of the source of this line item, either an invoiceitem or a subscription. */ class InvoiceLineItem extends ApiResource diff --git a/vendor/stripe/stripe-php/lib/Order.php b/vendor/stripe/stripe-php/lib/Order.php index e976e5607..745d8f0ae 100644 --- a/vendor/stripe/stripe-php/lib/Order.php +++ b/vendor/stripe/stripe-php/lib/Order.php @@ -27,7 +27,11 @@ namespace Stripe; * @property string $external_coupon_code External coupon code to load for this order. * @property \Stripe\OrderItem[] $items List of items constituting the order. An order can have up to 25 items. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. +<<<<<<< HEAD * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +======= + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +>>>>>>> master * @property null|\Stripe\Collection $returns A list of returns that have taken place for this order. * @property null|string $selected_shipping_method The shipping method that is currently selected for this order, if any. If present, it is equal to one of the ids of shipping methods in the shipping_methods array. At order creation time, if there are multiple shipping methods, Stripe will automatically selected the first method. * @property null|\Stripe\StripeObject $shipping The shipping address for the order. Present if the order is for goods to be shipped. diff --git a/vendor/stripe/stripe-php/lib/PaymentIntent.php b/vendor/stripe/stripe-php/lib/PaymentIntent.php index b1de7e475..fa8ab8576 100644 --- a/vendor/stripe/stripe-php/lib/PaymentIntent.php +++ b/vendor/stripe/stripe-php/lib/PaymentIntent.php @@ -24,12 +24,20 @@ namespace Stripe; * @property int $amount_capturable Amount that can be captured from this PaymentIntent. * @property int $amount_received Amount that was collected by this PaymentIntent. * @property null|string|\Stripe\StripeObject $application ID of the Connect application that created the PaymentIntent. +<<<<<<< HEAD * @property null|int $application_fee_amount The amount of the application fee (if any) requested for the resulting payment. See the PaymentIntents use case for connected accounts for details. +======= + * @property null|int $application_fee_amount The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents use case for connected accounts. +>>>>>>> master * @property null|int $canceled_at Populated when status is canceled, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch. * @property null|string $cancellation_reason Reason for cancellation of this PaymentIntent, either user-provided (duplicate, fraudulent, requested_by_customer, or abandoned) or generated by Stripe internally (failed_invoice, void_invoice, or automatic). * @property string $capture_method Controls when the funds will be captured from the customer's account. * @property \Stripe\Collection $charges Charges that were created by this PaymentIntent, if any. +<<<<<<< HEAD * @property null|string $client_secret

The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key.

The client secret can be used to complete a payment from your frontend. It should not be stored, logged, embedded in URLs, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.

Refer to our docs to accept a payment and learn about how client_secret should be handled.

+======= + * @property null|string $client_secret

The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key.

The client secret can be used to complete a payment from your frontend. It should not be stored, logged, embedded in URLs, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.

Refer to our docs to accept a payment and learn about how client_secret should be handled.

+>>>>>>> master * @property string $confirmation_method * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. @@ -48,7 +56,11 @@ namespace Stripe; * @property null|string|\Stripe\Review $review ID of the review associated with this PaymentIntent, if any. * @property null|string $setup_future_usage

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses setup_future_usage to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

* @property null|\Stripe\StripeObject $shipping Shipping information for this PaymentIntent. +<<<<<<< HEAD * @property null|string|\Stripe\StripeObject $source This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied. +======= + * @property null|string|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $source This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied. +>>>>>>> master * @property null|string $statement_descriptor For non-card charges, you can use this value as the complete description that appears on your customers’ statements. Must contain at least one letter, maximum 22 characters. * @property null|string $statement_descriptor_suffix Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. * @property string $status Status of this PaymentIntent, one of requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, or succeeded. Read more about each PaymentIntent status. diff --git a/vendor/stripe/stripe-php/lib/PaymentMethod.php b/vendor/stripe/stripe-php/lib/PaymentMethod.php index f280e2d46..228437452 100644 --- a/vendor/stripe/stripe-php/lib/PaymentMethod.php +++ b/vendor/stripe/stripe-php/lib/PaymentMethod.php @@ -30,10 +30,19 @@ namespace Stripe; * @property \Stripe\StripeObject $eps * @property \Stripe\StripeObject $fpx * @property \Stripe\StripeObject $giropay +<<<<<<< HEAD * @property \Stripe\StripeObject $ideal * @property \Stripe\StripeObject $interac_present * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +======= + * @property \Stripe\StripeObject $grabpay + * @property \Stripe\StripeObject $ideal + * @property \Stripe\StripeObject $interac_present + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property \Stripe\StripeObject $oxxo +>>>>>>> master * @property \Stripe\StripeObject $p24 * @property \Stripe\StripeObject $sepa_debit * @property \Stripe\StripeObject $sofort diff --git a/vendor/stripe/stripe-php/lib/Payout.php b/vendor/stripe/stripe-php/lib/Payout.php index bd5c8c187..983c71b9f 100644 --- a/vendor/stripe/stripe-php/lib/Payout.php +++ b/vendor/stripe/stripe-php/lib/Payout.php @@ -7,10 +7,17 @@ namespace Stripe; /** * A Payout object is created when you receive funds from Stripe, or * when you initiate a payout to either a bank account or debit card of a connected Stripe account. You can retrieve * individual payouts, as well as list all payouts. Payouts are made on varying schedules, depending on your * country and industry. +======= + * href="/docs/connect/bank-debit-card-payouts">connected Stripe account. You + * can retrieve individual payouts, as well as list all payouts. Payouts are made + * on varying schedules, + * depending on your country and industry. +>>>>>>> master * * Related guide: Receiving Payouts. * @@ -23,13 +30,24 @@ namespace Stripe; * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. +<<<<<<< HEAD * @property null|string|\Stripe\StripeObject $destination ID of the bank account or card the payout was sent to. +======= + * @property null|string|\Stripe\BankAccount|\Stripe\Card $destination ID of the bank account or card the payout was sent to. +>>>>>>> master * @property null|string|\Stripe\BalanceTransaction $failure_balance_transaction If the payout failed or was canceled, this will be the ID of the balance transaction that reversed the initial balance transaction, and puts the funds from the failed payout back in your balance. * @property null|string $failure_code Error code explaining reason for payout failure if available. See Types of payout failures for a list of failure codes. * @property null|string $failure_message Message to user further explaining reason for payout failure if available. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. +<<<<<<< HEAD * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @property string $method The method used to send this payout, which can be standard or instant. instant is only supported for payouts to debit cards. (See Instant payouts for marketplaces for more information.) +======= + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property string $method The method used to send this payout, which can be standard or instant. instant is only supported for payouts to debit cards. (See Instant payouts for marketplaces for more information.) + * @property null|string|\Stripe\Payout $original_payout If the payout reverses another, this is the ID of the original payout. + * @property null|string|\Stripe\Payout $reversed_by If the payout was reversed, this is the ID of the payout that reverses this payout. +>>>>>>> master * @property string $source_type The source balance this payout came from. One of card, fpx, or bank_account. * @property null|string $statement_descriptor Extra information about a payout to be displayed on the user's bank statement. * @property string $status Current status of the payout: paid, pending, in_transit, canceled or failed. A payout is pending until it is submitted to the bank, when it becomes in_transit. The status then changes to paid if the transaction goes through, or to failed or canceled (within 5 business days). Some failed payouts may initially show as paid but then change to failed. @@ -86,4 +104,24 @@ class Payout extends ApiResource return $this; } +<<<<<<< HEAD +======= + + /** + * @param null|array $params + * @param null|array|string $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return Payout the reversed payout + */ + public function reverse($params = null, $opts = null) + { + $url = $this->instanceUrl() . '/reverse'; + list($response, $opts) = $this->_request('post', $url, $params, $opts); + $this->refreshFrom($response, $opts); + + return $this; + } +>>>>>>> master } diff --git a/vendor/stripe/stripe-php/lib/Plan.php b/vendor/stripe/stripe-php/lib/Plan.php index e2f973fc1..9df775819 100644 --- a/vendor/stripe/stripe-php/lib/Plan.php +++ b/vendor/stripe/stripe-php/lib/Plan.php @@ -36,7 +36,11 @@ namespace Stripe; * @property string $interval The frequency at which a subscription is billed. One of day, week, month or year. * @property int $interval_count The number of intervals (specified in the interval attribute) between subscription billings. For example, interval=month and interval_count=3 bills every 3 months. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. +<<<<<<< HEAD * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +======= + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +>>>>>>> master * @property null|string $nickname A brief description of the plan, hidden from customers. * @property null|string|\Stripe\Product $product The product whose pricing this plan determines. * @property \Stripe\StripeObject[] $tiers Each element represents a pricing tier. This parameter requires billing_scheme to be set to tiered. See also the documentation for billing_scheme. diff --git a/vendor/stripe/stripe-php/lib/PromotionCode.php b/vendor/stripe/stripe-php/lib/PromotionCode.php index c853e10d9..fd170bc7b 100644 --- a/vendor/stripe/stripe-php/lib/PromotionCode.php +++ b/vendor/stripe/stripe-php/lib/PromotionCode.php @@ -18,7 +18,11 @@ namespace Stripe; * @property null|int $expires_at Date at which the promotion code can no longer be redeemed. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|int $max_redemptions Maximum number of times this promotion code can be redeemed. +<<<<<<< HEAD * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +======= + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +>>>>>>> master * @property \Stripe\StripeObject $restrictions * @property int $times_redeemed Number of times this promotion code has been used. */ diff --git a/vendor/stripe/stripe-php/lib/Refund.php b/vendor/stripe/stripe-php/lib/Refund.php index fd252f773..4f80300d2 100644 --- a/vendor/stripe/stripe-php/lib/Refund.php +++ b/vendor/stripe/stripe-php/lib/Refund.php @@ -21,7 +21,11 @@ namespace Stripe; * @property string $description An arbitrary string attached to the object. Often useful for displaying to users. (Available on non-card refunds only) * @property string|\Stripe\BalanceTransaction $failure_balance_transaction If the refund failed, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction. * @property string $failure_reason If the refund failed, the reason for refund failure if known. Possible values are lost_or_stolen_card, expired_or_canceled_card, or unknown. +<<<<<<< HEAD * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +======= + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +>>>>>>> master * @property null|string|\Stripe\PaymentIntent $payment_intent ID of the PaymentIntent that was refunded. * @property null|string $reason Reason for the refund, either user-provided (duplicate, fraudulent, or requested_by_customer) or generated by Stripe internally (expired_uncaptured_charge). * @property null|string $receipt_number This is the transaction number that appears on email receipts sent for this refund. diff --git a/vendor/stripe/stripe-php/lib/Service/CoreServiceFactory.php b/vendor/stripe/stripe-php/lib/Service/CoreServiceFactory.php index e5d9bc27c..d97c6d102 100644 --- a/vendor/stripe/stripe-php/lib/Service/CoreServiceFactory.php +++ b/vendor/stripe/stripe-php/lib/Service/CoreServiceFactory.php @@ -44,6 +44,10 @@ namespace Stripe\Service; * @property RefundService $refunds * @property Reporting\ReportingServiceFactory $reporting * @property ReviewService $reviews +<<<<<<< HEAD +======= + * @property SetupAttemptService $setupAttempts +>>>>>>> master * @property SetupIntentService $setupIntents * @property Sigma\SigmaServiceFactory $sigma * @property SkuService $skus @@ -101,6 +105,10 @@ class CoreServiceFactory extends \Stripe\Service\AbstractServiceFactory 'refunds' => RefundService::class, 'reporting' => Reporting\ReportingServiceFactory::class, 'reviews' => ReviewService::class, +<<<<<<< HEAD +======= + 'setupAttempts' => SetupAttemptService::class, +>>>>>>> master 'setupIntents' => SetupIntentService::class, 'sigma' => Sigma\SigmaServiceFactory::class, 'skus' => SkuService::class, diff --git a/vendor/stripe/stripe-php/lib/Service/CustomerService.php b/vendor/stripe/stripe-php/lib/Service/CustomerService.php index aa1224823..83a014cea 100644 --- a/vendor/stripe/stripe-php/lib/Service/CustomerService.php +++ b/vendor/stripe/stripe-php/lib/Service/CustomerService.php @@ -24,7 +24,11 @@ class CustomerService extends \Stripe\Service\AbstractService /** * Returns a list of transactions that updated the customer’s balance. +======= + * href="/docs/billing/customer/balance">balances. +>>>>>>> master * * @param string $parentId * @param null|array $params @@ -87,8 +91,13 @@ class CustomerService extends \Stripe\Service\AbstractService } /** +<<<<<<< HEAD * Creates an immutable transaction that updates the customer’s balance. +======= + * Creates an immutable transaction that updates the customer’s credit balance. +>>>>>>> master * * @param string $parentId * @param null|array $params @@ -224,8 +233,13 @@ class CustomerService extends \Stripe\Service\AbstractService } /** +<<<<<<< HEAD * Retrieves a specific transaction that updated the customer’s balance. +======= + * Retrieves a specific customer balance transaction that updated the customer’s balances. +>>>>>>> master * * @param string $parentId * @param string $id @@ -304,7 +318,11 @@ class CustomerService extends \Stripe\Service\AbstractService } /** +<<<<<<< HEAD * Most customer balance transaction fields are immutable, but you may update its +======= + * Most credit balance transaction fields are immutable, but you may update its +>>>>>>> master * description and metadata. * * @param string $parentId diff --git a/vendor/stripe/stripe-php/lib/Service/InvoiceService.php b/vendor/stripe/stripe-php/lib/Service/InvoiceService.php index 1212c4424..1a8c2febd 100644 --- a/vendor/stripe/stripe-php/lib/Service/InvoiceService.php +++ b/vendor/stripe/stripe-php/lib/Service/InvoiceService.php @@ -45,7 +45,14 @@ class InvoiceService extends \Stripe\Service\AbstractService /** * This endpoint creates a draft invoice for a given customer. The draft invoice * created pulls in all pending invoice items on that customer, including +<<<<<<< HEAD * prorations. +======= + * prorations. The invoice remains a draft until you finalize the invoice, which allows you to pay or send the invoice to + * your customers. +>>>>>>> master * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts @@ -175,8 +182,13 @@ class InvoiceService extends \Stripe\Service\AbstractService /** * At any time, you can preview the upcoming invoice for a customer. This will show * you all the charges that are pending, including subscription renewal charges, +<<<<<<< HEAD * invoice item charges, etc. It will also show you any discount that is applicable * to the customer. +======= + * invoice item charges, etc. It will also show you any discounts that are + * applicable to the invoice. +>>>>>>> master * * Note that when you are viewing an upcoming invoice, you are simply viewing a * preview – the invoice has not yet been created. As such, the upcoming invoice diff --git a/vendor/stripe/stripe-php/lib/Service/PayoutService.php b/vendor/stripe/stripe-php/lib/Service/PayoutService.php index d2ccd0f97..d92407ab3 100644 --- a/vendor/stripe/stripe-php/lib/Service/PayoutService.php +++ b/vendor/stripe/stripe-php/lib/Service/PayoutService.php @@ -85,6 +85,32 @@ class PayoutService extends \Stripe\Service\AbstractService } /** +<<<<<<< HEAD +======= + * Reverses a payout by debiting the destination bank account. Only payouts for + * connected accounts to US bank accounts may be reversed at this time. If the + * payout is in the pending status, + * /v1/payouts/:id/cancel should be used instead. + * + * By requesting a reversal via /v1/payouts/:id/reverse, you confirm + * that the authorized signatory of the selected bank account has authorized the + * debit on the bank account and that no other authorization is required. + * + * @param string $id + * @param null|array $params + * @param null|array|\Stripe\Util\RequestOptions $opts + * + * @throws \Stripe\Exception\ApiErrorException if the request fails + * + * @return \Stripe\Payout + */ + public function reverse($id, $params = null, $opts = null) + { + return $this->request('post', $this->buildPath('/v1/payouts/%s/reverse', $id), $params, $opts); + } + + /** +>>>>>>> master * Updates the specified payout by setting the values of the parameters passed. Any * parameters not provided will be left unchanged. This request accepts only the * metadata as arguments. diff --git a/vendor/stripe/stripe-php/lib/Service/SubscriptionScheduleService.php b/vendor/stripe/stripe-php/lib/Service/SubscriptionScheduleService.php index 42a112fa3..ae7be91bc 100644 --- a/vendor/stripe/stripe-php/lib/Service/SubscriptionScheduleService.php +++ b/vendor/stripe/stripe-php/lib/Service/SubscriptionScheduleService.php @@ -41,7 +41,11 @@ class SubscriptionScheduleService extends \Stripe\Service\AbstractService } /** +<<<<<<< HEAD * Creates a new subscription schedule object. Each customer can have up to 25 +======= + * Creates a new subscription schedule object. Each customer can have up to 500 +>>>>>>> master * active or scheduled subscriptions. * * @param null|array $params diff --git a/vendor/stripe/stripe-php/lib/Service/SubscriptionService.php b/vendor/stripe/stripe-php/lib/Service/SubscriptionService.php index 32e7dbc82..ed63ccb9f 100644 --- a/vendor/stripe/stripe-php/lib/Service/SubscriptionService.php +++ b/vendor/stripe/stripe-php/lib/Service/SubscriptionService.php @@ -56,7 +56,11 @@ class SubscriptionService extends \Stripe\Service\AbstractService /** * Creates a new subscription on an existing customer. Each customer can have up to +<<<<<<< HEAD * 25 active or scheduled subscriptions. +======= + * 500 active or scheduled subscriptions. +>>>>>>> master * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts diff --git a/vendor/stripe/stripe-php/lib/SetupIntent.php b/vendor/stripe/stripe-php/lib/SetupIntent.php index 7ff11c028..84f9c2774 100644 --- a/vendor/stripe/stripe-php/lib/SetupIntent.php +++ b/vendor/stripe/stripe-php/lib/SetupIntent.php @@ -49,9 +49,16 @@ namespace Stripe; * @property null|string|\Stripe\Customer $customer

ID of the Customer this SetupIntent belongs to, if one exists.

If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.

* @property null|string $description An arbitrary string attached to the object. Often useful for displaying to users. * @property null|\Stripe\ErrorObject $last_setup_error The error encountered in the previous SetupIntent confirmation. +<<<<<<< HEAD * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property null|string|\Stripe\Mandate $mandate ID of the multi use Mandate generated by the SetupIntent. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +======= + * @property null|string|\Stripe\SetupAttempt $latest_attempt The most recent SetupAttempt for this SetupIntent. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property null|string|\Stripe\Mandate $mandate ID of the multi use Mandate generated by the SetupIntent. + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +>>>>>>> master * @property null|\Stripe\StripeObject $next_action If present, this property tells you what actions you need to take in order for your customer to continue payment setup. * @property null|string|\Stripe\Account $on_behalf_of The account (if any) for which the setup is intended. * @property null|string|\Stripe\PaymentMethod $payment_method ID of the payment method used with this SetupIntent. diff --git a/vendor/stripe/stripe-php/lib/Source.php b/vendor/stripe/stripe-php/lib/Source.php index 38f4dcbef..2d2a5da26 100644 --- a/vendor/stripe/stripe-php/lib/Source.php +++ b/vendor/stripe/stripe-php/lib/Source.php @@ -91,7 +91,11 @@ class Source extends ApiResource $id = $this['id']; if (!$id) { +<<<<<<< HEAD $class = \get_class($this); +======= + $class = static::class; +>>>>>>> master $msg = "Could not determine which URL to request: {$class} instance " . "has invalid ID: {$id}"; diff --git a/vendor/stripe/stripe-php/lib/Stripe.php b/vendor/stripe/stripe-php/lib/Stripe.php index 1404287ce..09bea155f 100644 --- a/vendor/stripe/stripe-php/lib/Stripe.php +++ b/vendor/stripe/stripe-php/lib/Stripe.php @@ -58,7 +58,11 @@ class Stripe /** @var float Initial delay between retries, in seconds */ private static $initialNetworkRetryDelay = 0.5; +<<<<<<< HEAD const VERSION = '7.52.0'; +======= + const VERSION = '7.66.1'; +>>>>>>> master /** * @return string the API key used for requests diff --git a/vendor/stripe/stripe-php/lib/StripeClient.php b/vendor/stripe/stripe-php/lib/StripeClient.php index 316d6eb2a..ec2e769d5 100644 --- a/vendor/stripe/stripe-php/lib/StripeClient.php +++ b/vendor/stripe/stripe-php/lib/StripeClient.php @@ -44,6 +44,10 @@ namespace Stripe; * @property \Stripe\Service\RefundService $refunds * @property \Stripe\Service\Reporting\ReportingServiceFactory $reporting * @property \Stripe\Service\ReviewService $reviews +<<<<<<< HEAD +======= + * @property \Stripe\Service\SetupAttemptService $setupAttempts +>>>>>>> master * @property \Stripe\Service\SetupIntentService $setupIntents * @property \Stripe\Service\Sigma\SigmaServiceFactory $sigma * @property \Stripe\Service\SkuService $skus diff --git a/vendor/stripe/stripe-php/lib/StripeObject.php b/vendor/stripe/stripe-php/lib/StripeObject.php index be7c4fce0..2229a0215 100644 --- a/vendor/stripe/stripe-php/lib/StripeObject.php +++ b/vendor/stripe/stripe-php/lib/StripeObject.php @@ -169,7 +169,11 @@ class StripeObject implements \ArrayAccess, \Countable, \JsonSerializable return $this->_values[$k]; } if (!empty($this->_transientValues) && $this->_transientValues->includes($k)) { +<<<<<<< HEAD $class = \get_class($this); +======= + $class = static::class; +>>>>>>> master $attrs = \implode(', ', \array_keys($this->_values)); $message = "Stripe Notice: Undefined property of {$class} instance: {$k}. " . "HINT: The {$k} attribute was set in the past, however. " @@ -181,7 +185,11 @@ class StripeObject implements \ArrayAccess, \Countable, \JsonSerializable return $nullval; } +<<<<<<< HEAD $class = \get_class($this); +======= + $class = static::class; +>>>>>>> master Stripe::getLogger()->error("Stripe Notice: Undefined property of {$class} instance: {$k}"); return $nullval; @@ -343,14 +351,21 @@ class StripeObject implements \ArrayAccess, \Countable, \JsonSerializable // a `null` that makes it out of `serializeParamsValue` signals an empty // value that we shouldn't appear in the serialized form of the object +<<<<<<< HEAD $updateParams = \array_filter( +======= + return \array_filter( +>>>>>>> master $updateParams, function ($v) { return null !== $v; } ); +<<<<<<< HEAD return $updateParams; +======= +>>>>>>> master } public function serializeParamsValue($value, $original, $unsaved, $force, $key = null) @@ -469,7 +484,11 @@ class StripeObject implements \ArrayAccess, \Countable, \JsonSerializable public function __toString() { +<<<<<<< HEAD $class = \get_class($this); +======= + $class = static::class; +>>>>>>> master return $class . ' JSON: ' . $this->toJSON(); } diff --git a/vendor/stripe/stripe-php/lib/Subscription.php b/vendor/stripe/stripe-php/lib/Subscription.php index 123b55729..bc15f9365 100644 --- a/vendor/stripe/stripe-php/lib/Subscription.php +++ b/vendor/stripe/stripe-php/lib/Subscription.php @@ -18,15 +18,24 @@ namespace Stripe; * @property null|\Stripe\StripeObject $billing_thresholds Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period * @property null|int $cancel_at A date in the future at which the subscription will automatically get canceled * @property bool $cancel_at_period_end If the subscription has been canceled with the at_period_end flag set to true, cancel_at_period_end on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period. +<<<<<<< HEAD * @property null|int $canceled_at If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with cancel_at_period_end, canceled_at will still reflect the date of the initial cancellation request, not the end of the subscription period when the subscription is automatically moved to a canceled state. +======= + * @property null|int $canceled_at If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with cancel_at_period_end, canceled_at will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state. +>>>>>>> master * @property null|string $collection_method Either charge_automatically, or send_invoice. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property int $current_period_end End of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created. * @property int $current_period_start Start of the current period that the subscription has been invoiced for. * @property string|\Stripe\Customer $customer ID of the customer who owns the subscription. * @property null|int $days_until_due Number of days a customer has to pay invoices generated by this subscription. This value will be null for subscriptions where collection_method=charge_automatically. +<<<<<<< HEAD * @property null|string|\Stripe\PaymentMethod $default_payment_method ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. If not set, invoices will use the default payment method in the customer's invoice settings. * @property null|string|\Stripe\StripeObject $default_source ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If not set, defaults to the customer's default source. +======= + * @property null|string|\Stripe\PaymentMethod $default_payment_method ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over default_source. If neither are set, invoices will use the customer's invoice_settings.default_payment_method or default_source. + * @property null|string|\Stripe\Account|\Stripe\AlipayAccount|\Stripe\BankAccount|\Stripe\BitcoinReceiver|\Stripe\Card|\Stripe\Source $default_source ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If default_payment_method is also set, default_payment_method will take precedence. If neither are set, invoices will use the customer's invoice_settings.default_payment_method or default_source. +>>>>>>> master * @property null|\Stripe\TaxRate[] $default_tax_rates The tax rates that will apply to any subscription item that does not have tax_rates set. Invoices created will have their default_tax_rates populated from the subscription. * @property null|\Stripe\Discount $discount Describes the current discount applied to this subscription, if there is one. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. * @property null|int $ended_at If the subscription has ended, the date the subscription ended. @@ -58,6 +67,13 @@ class Subscription extends ApiResource const PAYMENT_BEHAVIOR_ERROR_IF_INCOMPLETE = 'error_if_incomplete'; const PAYMENT_BEHAVIOR_PENDING_IF_INCOMPLETE = 'pending_if_incomplete'; +<<<<<<< HEAD +======= + const PRORATION_BEHAVIOR_ALWAYS_INVOICE = 'always_invoice'; + const PRORATION_BEHAVIOR_CREATE_PRORATIONS = 'create_prorations'; + const PRORATION_BEHAVIOR_NONE = 'none'; + +>>>>>>> master const STATUS_ACTIVE = 'active'; const STATUS_CANCELED = 'canceled'; const STATUS_INCOMPLETE = 'incomplete'; diff --git a/vendor/stripe/stripe-php/lib/TaxId.php b/vendor/stripe/stripe-php/lib/TaxId.php index d8fc4ab6d..48e142e29 100644 --- a/vendor/stripe/stripe-php/lib/TaxId.php +++ b/vendor/stripe/stripe-php/lib/TaxId.php @@ -18,7 +18,11 @@ namespace Stripe; * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|string|\Stripe\Customer $customer ID of the customer. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. +<<<<<<< HEAD * @property string $type Type of the tax ID, one of ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, hk_br, id_npwp, in_gst, jp_cn, kr_brn, li_uid, mx_rfc, my_frp, my_itn, my_sst, no_vat, nz_gst, ru_inn, sa_vat, sg_gst, sg_uen, th_vat, tw_vat, us_ein, or za_vat. Note that some legacy tax IDs have type unknown +======= + * @property string $type Type of the tax ID, one of ae_trn, au_abn, br_cnpj, br_cpf, ca_bn, ca_qst, ch_vat, cl_tin, es_cif, eu_vat, hk_br, id_npwp, in_gst, jp_cn, jp_rn, kr_brn, li_uid, mx_rfc, my_frp, my_itn, my_sst, no_vat, nz_gst, ru_inn, ru_kpp, sa_vat, sg_gst, sg_uen, th_vat, tw_vat, us_ein, or za_vat. Note that some legacy tax IDs have type unknown +>>>>>>> master * @property string $value Value of the tax ID. * @property null|\Stripe\StripeObject $verification Tax ID verification information. */ @@ -42,6 +46,10 @@ class TaxId extends ApiResource const TYPE_ID_NPWP = 'id_npwp'; const TYPE_IN_GST = 'in_gst'; const TYPE_JP_CN = 'jp_cn'; +<<<<<<< HEAD +======= + const TYPE_JP_RN = 'jp_rn'; +>>>>>>> master const TYPE_KR_BRN = 'kr_brn'; const TYPE_LI_UID = 'li_uid'; const TYPE_MX_RFC = 'mx_rfc'; @@ -51,6 +59,10 @@ class TaxId extends ApiResource const TYPE_NO_VAT = 'no_vat'; const TYPE_NZ_GST = 'nz_gst'; const TYPE_RU_INN = 'ru_inn'; +<<<<<<< HEAD +======= + const TYPE_RU_KPP = 'ru_kpp'; +>>>>>>> master const TYPE_SA_VAT = 'sa_vat'; const TYPE_SG_GST = 'sg_gst'; const TYPE_SG_UEN = 'sg_uen'; diff --git a/vendor/stripe/stripe-php/lib/TaxRate.php b/vendor/stripe/stripe-php/lib/TaxRate.php index e8221bc3c..e6610a77a 100644 --- a/vendor/stripe/stripe-php/lib/TaxRate.php +++ b/vendor/stripe/stripe-php/lib/TaxRate.php @@ -22,9 +22,15 @@ namespace Stripe; * @property null|string $description An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. * @property string $display_name The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page. * @property bool $inclusive This specifies if the tax rate is inclusive or exclusive. +<<<<<<< HEAD * @property null|string $jurisdiction The jurisdiction for the tax rate. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +======= + * @property null|string $jurisdiction The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +>>>>>>> master * @property float $percentage This represents the tax rate percent out of 100. */ class TaxRate extends ApiResource diff --git a/vendor/stripe/stripe-php/lib/TransferReversal.php b/vendor/stripe/stripe-php/lib/TransferReversal.php index 74c657ef2..e62cb17d9 100644 --- a/vendor/stripe/stripe-php/lib/TransferReversal.php +++ b/vendor/stripe/stripe-php/lib/TransferReversal.php @@ -29,7 +29,11 @@ namespace Stripe; * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property null|string|\Stripe\Refund $destination_payment_refund Linked payment refund for the transfer reversal. +<<<<<<< HEAD * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +======= + * @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +>>>>>>> master * @property null|string|\Stripe\Refund $source_refund ID of the refund responsible for the transfer reversal. * @property string|\Stripe\Transfer $transfer ID of the transfer that was reversed. */ diff --git a/vendor/stripe/stripe-php/lib/Util/ObjectTypes.php b/vendor/stripe/stripe-php/lib/Util/ObjectTypes.php index a25ba7099..5e32f63f5 100644 --- a/vendor/stripe/stripe-php/lib/Util/ObjectTypes.php +++ b/vendor/stripe/stripe-php/lib/Util/ObjectTypes.php @@ -73,6 +73,10 @@ class ObjectTypes \Stripe\Reporting\ReportRun::OBJECT_NAME => \Stripe\Reporting\ReportRun::class, \Stripe\Reporting\ReportType::OBJECT_NAME => \Stripe\Reporting\ReportType::class, \Stripe\Review::OBJECT_NAME => \Stripe\Review::class, +<<<<<<< HEAD +======= + \Stripe\SetupAttempt::OBJECT_NAME => \Stripe\SetupAttempt::class, +>>>>>>> master \Stripe\SetupIntent::OBJECT_NAME => \Stripe\SetupIntent::class, \Stripe\Sigma\ScheduledQueryRun::OBJECT_NAME => \Stripe\Sigma\ScheduledQueryRun::class, \Stripe\SKU::OBJECT_NAME => \Stripe\SKU::class, diff --git a/vendor/stripe/stripe-php/lib/Util/Util.php b/vendor/stripe/stripe-php/lib/Util/Util.php index 72af03733..8bed21d20 100644 --- a/vendor/stripe/stripe-php/lib/Util/Util.php +++ b/vendor/stripe/stripe-php/lib/Util/Util.php @@ -23,7 +23,11 @@ abstract class Util if (!\is_array($array)) { return false; } +<<<<<<< HEAD if ($array === []) { +======= + if ([] === $array) { +>>>>>>> master return true; } if (\array_keys($array) !== \range(0, \count($array) - 1)) { diff --git a/vendor/symfony/polyfill-intl-idn/Idn.php b/vendor/symfony/polyfill-intl-idn/Idn.php index 127437ea5..87ea8768f 100644 --- a/vendor/symfony/polyfill-intl-idn/Idn.php +++ b/vendor/symfony/polyfill-intl-idn/Idn.php @@ -42,6 +42,17 @@ final class Idn const INTL_IDNA_VARIANT_2003 = 0; const INTL_IDNA_VARIANT_UTS46 = 1; +<<<<<<< HEAD +======= + const IDNA_DEFAULT = 0; + const IDNA_ALLOW_UNASSIGNED = 1; + const IDNA_USE_STD3_RULES = 2; + const IDNA_CHECK_BIDI = 4; + const IDNA_CHECK_CONTEXTJ = 8; + const IDNA_NONTRANSITIONAL_TO_ASCII = 16; + const IDNA_NONTRANSITIONAL_TO_UNICODE = 32; + +>>>>>>> master const MAX_DOMAIN_SIZE = 253; const MAX_LABEL_SIZE = 63; @@ -137,7 +148,11 @@ final class Idn * * @return string|false */ +<<<<<<< HEAD public static function idn_to_ascii($domainName, $options = IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = array()) +======= + public static function idn_to_ascii($domainName, $options = self::IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = array()) +>>>>>>> master { if (\PHP_VERSION_ID >= 70200 && self::INTL_IDNA_VARIANT_2003 === $variant) { @trigger_error('idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated', E_USER_DEPRECATED); @@ -145,10 +160,17 @@ final class Idn $options = array( 'CheckHyphens' => true, +<<<<<<< HEAD 'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & \IDNA_CHECK_BIDI), 'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & \IDNA_CHECK_CONTEXTJ), 'UseSTD3ASCIIRules' => 0 !== ($options & \IDNA_USE_STD3_RULES), 'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & \IDNA_NONTRANSITIONAL_TO_ASCII), +======= + 'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & self::IDNA_CHECK_BIDI), + 'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & self::IDNA_CHECK_CONTEXTJ), + 'UseSTD3ASCIIRules' => 0 !== ($options & self::IDNA_USE_STD3_RULES), + 'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & self::IDNA_NONTRANSITIONAL_TO_ASCII), +>>>>>>> master 'VerifyDnsLength' => true, ); $info = new Info(); @@ -190,7 +212,11 @@ final class Idn * * @return string|false */ +<<<<<<< HEAD public static function idn_to_utf8($domainName, $options = IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = array()) +======= + public static function idn_to_utf8($domainName, $options = self::IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = array()) +>>>>>>> master { if (\PHP_VERSION_ID >= 70200 && self::INTL_IDNA_VARIANT_2003 === $variant) { @trigger_error('idn_to_utf8(): INTL_IDNA_VARIANT_2003 is deprecated', E_USER_DEPRECATED); @@ -199,10 +225,17 @@ final class Idn $info = new Info(); $labels = self::process((string) $domainName, array( 'CheckHyphens' => true, +<<<<<<< HEAD 'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & \IDNA_CHECK_BIDI), 'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & \IDNA_CHECK_CONTEXTJ), 'UseSTD3ASCIIRules' => 0 !== ($options & \IDNA_USE_STD3_RULES), 'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & \IDNA_NONTRANSITIONAL_TO_UNICODE), +======= + 'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & self::IDNA_CHECK_BIDI), + 'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & self::IDNA_CHECK_CONTEXTJ), + 'UseSTD3ASCIIRules' => 0 !== ($options & self::IDNA_USE_STD3_RULES), + 'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & self::IDNA_NONTRANSITIONAL_TO_UNICODE), +>>>>>>> master ), $info); $idna_info = array( 'result' => implode('.', $labels), @@ -695,7 +728,13 @@ final class Idn foreach ($iter as $codePoint) { if ($codePoint < $n && 0 === ++$delta) { throw new Exception('Integer overflow'); +<<<<<<< HEAD } elseif ($codePoint === $n) { +======= + } + + if ($codePoint === $n) { +>>>>>>> master $q = $delta; for ($k = self::BASE; /* no condition */; $k += self::BASE) { diff --git a/vendor/symfony/polyfill-intl-idn/composer.json b/vendor/symfony/polyfill-intl-idn/composer.json index af341936c..d16d83441 100644 --- a/vendor/symfony/polyfill-intl-idn/composer.json +++ b/vendor/symfony/polyfill-intl-idn/composer.json @@ -20,9 +20,14 @@ } ], "require": { +<<<<<<< HEAD "php": ">=5.3.3", "symfony/polyfill-intl-normalizer": "^1.10", "symfony/polyfill-php70": "^1.10", +======= + "php": ">=7.1", + "symfony/polyfill-intl-normalizer": "^1.10", +>>>>>>> master "symfony/polyfill-php72": "^1.10" }, "autoload": { @@ -35,7 +40,11 @@ "minimum-stability": "dev", "extra": { "branch-alias": { +<<<<<<< HEAD "dev-master": "1.18-dev" +======= + "dev-main": "1.20-dev" +>>>>>>> master }, "thanks": { "name": "symfony/polyfill", diff --git a/vendor/symfony/polyfill-intl-normalizer/bootstrap.php b/vendor/symfony/polyfill-intl-normalizer/bootstrap.php index ba6200617..5e7264e99 100644 --- a/vendor/symfony/polyfill-intl-normalizer/bootstrap.php +++ b/vendor/symfony/polyfill-intl-normalizer/bootstrap.php @@ -12,8 +12,15 @@ use Symfony\Polyfill\Intl\Normalizer as p; if (!function_exists('normalizer_is_normalized')) { +<<<<<<< HEAD function normalizer_is_normalized($s, $form = p\Normalizer::NFC) { return p\Normalizer::isNormalized($s, $form); } } if (!function_exists('normalizer_normalize')) { function normalizer_normalize($s, $form = p\Normalizer::NFC) { return p\Normalizer::normalize($s, $form); } +======= + function normalizer_is_normalized($input, $form = p\Normalizer::NFC) { return p\Normalizer::isNormalized($input, $form); } +} +if (!function_exists('normalizer_normalize')) { + function normalizer_normalize($input, $form = p\Normalizer::NFC) { return p\Normalizer::normalize($input, $form); } +>>>>>>> master } diff --git a/vendor/symfony/polyfill-intl-normalizer/composer.json b/vendor/symfony/polyfill-intl-normalizer/composer.json index b0986a80a..5ab46dc08 100644 --- a/vendor/symfony/polyfill-intl-normalizer/composer.json +++ b/vendor/symfony/polyfill-intl-normalizer/composer.json @@ -16,7 +16,11 @@ } ], "require": { +<<<<<<< HEAD "php": ">=5.3.3" +======= + "php": ">=7.1" +>>>>>>> master }, "autoload": { "psr-4": { "Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, @@ -29,7 +33,11 @@ "minimum-stability": "dev", "extra": { "branch-alias": { +<<<<<<< HEAD "dev-master": "1.18-dev" +======= + "dev-main": "1.20-dev" +>>>>>>> master }, "thanks": { "name": "symfony/polyfill", diff --git a/vendor/symfony/polyfill-php72/Php72.php b/vendor/symfony/polyfill-php72/Php72.php index 9b3edc7c7..a8c5243d9 100644 --- a/vendor/symfony/polyfill-php72/Php72.php +++ b/vendor/symfony/polyfill-php72/Php72.php @@ -191,7 +191,11 @@ final class Php72 public static function mb_ord($s, $encoding = null) { +<<<<<<< HEAD if (null == $encoding) { +======= + if (null === $encoding) { +>>>>>>> master $s = mb_convert_encoding($s, 'UTF-8'); } elseif ('UTF-8' !== $encoding) { $s = mb_convert_encoding($s, 'UTF-8', $encoding); diff --git a/vendor/symfony/polyfill-php72/bootstrap.php b/vendor/symfony/polyfill-php72/bootstrap.php index a27a900a4..762039cb1 100644 --- a/vendor/symfony/polyfill-php72/bootstrap.php +++ b/vendor/symfony/polyfill-php72/bootstrap.php @@ -38,6 +38,7 @@ if (!function_exists('stream_isatty')) { function stream_isatty($stream) { return p\Php72::stream_isatty($stream); } } if (!function_exists('utf8_encode')) { +<<<<<<< HEAD function utf8_encode($s) { return p\Php72::utf8_encode($s); } } if (!function_exists('utf8_decode')) { @@ -54,4 +55,22 @@ if (!function_exists('mb_chr')) { } if (!function_exists('mb_scrub')) { function mb_scrub($s, $enc = null) { $enc = null === $enc ? mb_internal_encoding() : $enc; return mb_convert_encoding($s, $enc, $enc); } +======= + function utf8_encode($string) { return p\Php72::utf8_encode($string); } +} +if (!function_exists('utf8_decode')) { + function utf8_decode($string) { return p\Php72::utf8_decode($string); } +} +if (!function_exists('spl_object_id')) { + function spl_object_id($object) { return p\Php72::spl_object_id($object); } +} +if (!function_exists('mb_ord')) { + function mb_ord($string, $encoding = null) { return p\Php72::mb_ord($string, $encoding); } +} +if (!function_exists('mb_chr')) { + function mb_chr($codepoint, $encoding = null) { return p\Php72::mb_chr($codepoint, $encoding); } +} +if (!function_exists('mb_scrub')) { + function mb_scrub($string, $encoding = null) { $encoding = null === $encoding ? mb_internal_encoding() : $encoding; return mb_convert_encoding($string, $encoding, $encoding); } +>>>>>>> master } diff --git a/vendor/symfony/polyfill-php72/composer.json b/vendor/symfony/polyfill-php72/composer.json index e295cab3d..cb7666a43 100644 --- a/vendor/symfony/polyfill-php72/composer.json +++ b/vendor/symfony/polyfill-php72/composer.json @@ -16,7 +16,11 @@ } ], "require": { +<<<<<<< HEAD "php": ">=5.3.3" +======= + "php": ">=7.1" +>>>>>>> master }, "autoload": { "psr-4": { "Symfony\\Polyfill\\Php72\\": "" }, @@ -25,7 +29,11 @@ "minimum-stability": "dev", "extra": { "branch-alias": { +<<<<<<< HEAD "dev-master": "1.18-dev" +======= + "dev-main": "1.20-dev" +>>>>>>> master }, "thanks": { "name": "symfony/polyfill",