Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions php-scoper/composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"humbug/php-scoper": "~0.18.0",
"pxlrbt/php-scoper-prefix-remover": "~0.2.0"
}
}
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"humbug/php-scoper": "~0.18.11",
"pxlrbt/php-scoper-prefix-remover": "~0.2.0"
}
}
50 changes: 25 additions & 25 deletions php-scoper/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions vendor-prefixed/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
throw new RuntimeException($err);
}

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit8fc9476b6e3a7e74b08053b13b0faab5::getLoader();
return ComposerAutoloaderInitd7ed5f1afdb08b36117782761d9508e4::getLoader();
8 changes: 4 additions & 4 deletions vendor-prefixed/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit8fc9476b6e3a7e74b08053b13b0faab5
class ComposerAutoloaderInitd7ed5f1afdb08b36117782761d9508e4
{
private static $loader;

Expand All @@ -24,12 +24,12 @@ public static function getLoader()

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInit8fc9476b6e3a7e74b08053b13b0faab5', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitd7ed5f1afdb08b36117782761d9508e4', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit8fc9476b6e3a7e74b08053b13b0faab5', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitd7ed5f1afdb08b36117782761d9508e4', 'loadClassLoader'));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit8fc9476b6e3a7e74b08053b13b0faab5::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitd7ed5f1afdb08b36117782761d9508e4::getInitializer($loader));

$loader->setClassMapAuthoritative(true);
$loader->register(true);
Expand Down
4 changes: 2 additions & 2 deletions vendor-prefixed/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit8fc9476b6e3a7e74b08053b13b0faab5
class ComposerStaticInitd7ed5f1afdb08b36117782761d9508e4
{
public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
Expand All @@ -13,7 +13,7 @@ class ComposerStaticInit8fc9476b6e3a7e74b08053b13b0faab5
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->classMap = ComposerStaticInit8fc9476b6e3a7e74b08053b13b0faab5::$classMap;
$loader->classMap = ComposerStaticInitd7ed5f1afdb08b36117782761d9508e4::$classMap;

}, null, ClassLoader::class);
}
Expand Down
5 changes: 2 additions & 3 deletions vendor-prefixed/composer/platform_check.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
}
}
trigger_error(
'Composer detected issues in your platform: ' . implode(' ', $issues),
E_USER_ERROR
throw new \RuntimeException(
'Composer detected issues in your platform: ' . implode(' ', $issues)
);
}
43 changes: 43 additions & 0 deletions vendor-prefixed/guzzlehttp/guzzle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,49 @@

Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.

## 7.10.0 - 2025-08-23

### Added

- Support for PHP 8.5

### Changed

- Adjusted `guzzlehttp/promises` version constraint to `^2.3`
- Adjusted `guzzlehttp/psr7` version constraint to `^2.8`


## 7.9.3 - 2025-03-27

### Changed

- Remove explicit content-length header for GET requests
- Improve compatibility with bad servers for boolean cookie values


## 7.9.2 - 2024-07-24

### Fixed

- Adjusted handler selection to use cURL if its version is 7.21.2 or higher, rather than 7.34.0


## 7.9.1 - 2024-07-19

### Fixed

- Fix TLS 1.3 check for HTTP/2 requests


## 7.9.0 - 2024-07-18

### Changed

- Improve protocol version checks to provide feedback around unsupported protocols
- Only select the cURL handler by default if 7.34.0 or higher is linked
- Improved `CurlMultiHandler` to avoid busy wait if possible
- Dropped support for EOL `guzzlehttp/psr7` v1
- Improved URI user info redaction in errors

## 7.8.2 - 2024-07-18

Expand Down
4 changes: 2 additions & 2 deletions vendor-prefixed/guzzlehttp/guzzle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
"require": {
"php": "^7.2.5 || ^8.0",
"ext-json": "*",
"guzzlehttp\/promises": "^1.5.3 || ^2.0.3",
"guzzlehttp\/psr7": "^1.9.1 || ^2.6.3",
"guzzlehttp\/promises": "^2.3",
"guzzlehttp\/psr7": "^2.8",
"psr\/http-client": "^1.0",
"symfony\/deprecation-contracts": "^2.2 || ^3.0"
},
Expand Down
6 changes: 6 additions & 0 deletions vendor-prefixed/guzzlehttp/guzzle/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vendor-prefixed/guzzlehttp/guzzle/src/Cookie/SetCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public static function fromString(string $cookie) : self
if (\is_numeric($value)) {
$data[$search] = (int) $value;
}
} elseif ($search === 'Secure' || $search === 'Discard' || $search === 'HttpOnly') {
if ($value) {
$data[$search] = \true;
}
} else {
$data[$search] = $value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Dekode\GravityForms\Vendor\Psr\Http\Client\RequestExceptionInterface;
use Dekode\GravityForms\Vendor\Psr\Http\Message\RequestInterface;
use Dekode\GravityForms\Vendor\Psr\Http\Message\ResponseInterface;
use Dekode\GravityForms\Vendor\Psr\Http\Message\UriInterface;
/**
* HTTP Request exception
*/
Expand Down Expand Up @@ -66,8 +65,7 @@ public static function create(RequestInterface $request, ?ResponseInterface $res
$label = 'Unsuccessful request';
$className = __CLASS__;
}
$uri = $request->getUri();
$uri = static::obfuscateUri($uri);
$uri = \Dekode\GravityForms\Vendor\GuzzleHttp\Psr7\Utils::redactUserInfo($request->getUri());
// Client Error: `GET /` resulted in a `404 Not Found` response:
// <html> ... (truncated)
$message = \sprintf('%s: `%s %s` resulted in a `%s %s` response', $label, $request->getMethod(), $uri->__toString(), $response->getStatusCode(), $response->getReasonPhrase());
Expand All @@ -77,17 +75,6 @@ public static function create(RequestInterface $request, ?ResponseInterface $res
}
return new $className($message, $request, $response, $previous, $handlerContext);
}
/**
* Obfuscates URI if there is a username and a password present
*/
private static function obfuscateUri(UriInterface $uri) : UriInterface
{
$userInfo = $uri->getUserInfo();
if (\false !== ($pos = \strpos($userInfo, ':'))) {
return $uri->withUserInfo(\substr($userInfo, 0, $pos), '***');
}
return $uri;
}
/**
* Get the request that caused the exception
*/
Expand Down
Loading
Loading