Skip to content

Commit

Permalink
Update composer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWolla committed Aug 3, 2023
1 parent a984523 commit 1370d7d
Show file tree
Hide file tree
Showing 34 changed files with 233 additions and 204 deletions.
2 changes: 1 addition & 1 deletion wcfsetup/install/files/lib/system/api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"erusev/parsedown": "^1.7.4",
"ezyang/htmlpurifier": "^4.16",
"guzzlehttp/guzzle": "^7.7.0",
"guzzlehttp/psr7": "^2.5.0",
"guzzlehttp/psr7": "^2.6.0",
"laminas/laminas-diactoros": "^3.1.0",
"laminas/laminas-httphandlerrunner": "^2.7.0",
"laminas/laminas-progressbar": "^2.12",
Expand Down
26 changes: 13 additions & 13 deletions wcfsetup/install/files/lib/system/api/composer.lock

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

28 changes: 14 additions & 14 deletions wcfsetup/install/files/lib/system/api/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -388,17 +388,17 @@
},
{
"name": "guzzlehttp/promises",
"version": "2.0.0",
"version_normalized": "2.0.0.0",
"version": "2.0.1",
"version_normalized": "2.0.1.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
"reference": "3a494dc7dc1d7d12e511890177ae2d0e6c107da6"
"reference": "111166291a0f8130081195ac4556a5587d7f1b5d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/3a494dc7dc1d7d12e511890177ae2d0e6c107da6",
"reference": "3a494dc7dc1d7d12e511890177ae2d0e6c107da6",
"url": "https://api.github.com/repos/guzzle/promises/zipball/111166291a0f8130081195ac4556a5587d7f1b5d",
"reference": "111166291a0f8130081195ac4556a5587d7f1b5d",
"shasum": ""
},
"require": {
Expand All @@ -408,7 +408,7 @@
"bamarni/composer-bin-plugin": "^1.8.1",
"phpunit/phpunit": "^8.5.29 || ^9.5.23"
},
"time": "2023-05-21T13:50:22+00:00",
"time": "2023-08-03T15:11:55+00:00",
"type": "library",
"extra": {
"bamarni-bin": {
Expand Down Expand Up @@ -454,7 +454,7 @@
],
"support": {
"issues": "https://github.com/guzzle/promises/issues",
"source": "https://github.com/guzzle/promises/tree/2.0.0"
"source": "https://github.com/guzzle/promises/tree/2.0.1"
},
"funding": [
{
Expand All @@ -474,17 +474,17 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.5.0",
"version_normalized": "2.5.0.0",
"version": "2.6.0",
"version_normalized": "2.6.0.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "b635f279edd83fc275f822a1188157ffea568ff6"
"reference": "8bd7c33a0734ae1c5d074360512beb716bef3f77"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6",
"reference": "b635f279edd83fc275f822a1188157ffea568ff6",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/8bd7c33a0734ae1c5d074360512beb716bef3f77",
"reference": "8bd7c33a0734ae1c5d074360512beb716bef3f77",
"shasum": ""
},
"require": {
Expand All @@ -505,7 +505,7 @@
"suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
"time": "2023-04-17T16:11:26+00:00",
"time": "2023-08-03T15:06:02+00:00",
"type": "library",
"extra": {
"bamarni-bin": {
Expand Down Expand Up @@ -573,7 +573,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.5.0"
"source": "https://github.com/guzzle/psr7/tree/2.6.0"
},
"funding": [
{
Expand Down
20 changes: 10 additions & 10 deletions wcfsetup/install/files/lib/system/api/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,18 @@
'dev_requirement' => false,
),
'guzzlehttp/promises' => array(
'pretty_version' => '2.0.0',
'version' => '2.0.0.0',
'reference' => '3a494dc7dc1d7d12e511890177ae2d0e6c107da6',
'pretty_version' => '2.0.1',
'version' => '2.0.1.0',
'reference' => '111166291a0f8130081195ac4556a5587d7f1b5d',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/promises',
'aliases' => array(),
'dev_requirement' => false,
),
'guzzlehttp/psr7' => array(
'pretty_version' => '2.5.0',
'version' => '2.5.0.0',
'reference' => 'b635f279edd83fc275f822a1188157ffea568ff6',
'pretty_version' => '2.6.0',
'version' => '2.6.0.0',
'reference' => '8bd7c33a0734ae1c5d074360512beb716bef3f77',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(),
Expand Down Expand Up @@ -187,8 +187,8 @@
'psr/http-factory-implementation' => array(
'dev_requirement' => false,
'provided' => array(
0 => '1.0',
1 => '^1.1 || ^2.0',
0 => '^1.1 || ^2.0',
1 => '1.0',
),
),
'psr/http-message' => array(
Expand All @@ -203,8 +203,8 @@
'psr/http-message-implementation' => array(
'dev_requirement' => false,
'provided' => array(
0 => '1.0',
1 => '^1.1 || ^2.0',
0 => '^1.1 || ^2.0',
1 => '1.0',
),
),
'psr/http-server-handler' => array(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# CHANGELOG


## 2.0.0 - TBC
## 2.0.1 - 2023-08-03

### Changed

- PHP 8.3 support


## 2.0.0 - 2023-05-21

### Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ composer require guzzlehttp/promises
| Version | Status | PHP Version |
|---------|------------------------|--------------|
| 1.x | Bug and security fixes | >=5.5,<8.3 |
| 2.x | Latest | >=7.2.5,<8.3 |
| 2.x | Latest | >=7.2.5,<8.4 |


## Quick Start
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RejectionException extends \RuntimeException
* @param mixed $reason Rejection reason.
* @param string|null $description Optional description.
*/
public function __construct($reason, $description = null)
public function __construct($reason, ?string $description = null)
{
$this->reason = $reason;

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## 2.6.0 - 2023-08-03

### Changed

- Updated the mime type map to add some new entries, fix a couple of invalid entries, and remove an invalid entry
- Fallback to `application/octet-stream` if we are unable to guess the content type for a multipart file upload

## 2.5.1 - 2023-08-03

### Fixed

- Corrected mime type for `.acc` files to `audio/aac`

### Changed

- PHP 8.3 support

## 2.5.0 - 2023-04-17

Expand Down
24 changes: 12 additions & 12 deletions wcfsetup/install/files/lib/system/api/guzzlehttp/psr7/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,24 @@ functionality like query string parsing.
![Static analysis](https://github.com/guzzle/psr7/workflows/Static%20analysis/badge.svg)


# Installation
## Features

This package comes with a number of stream implementations and stream
decorators.


## Installation

```shell
composer require guzzlehttp/psr7
```

# Stream implementation
## Version Guidance

This package comes with a number of stream implementations and stream
decorators.
| Version | Status | PHP Version |
|---------|---------------------|--------------|
| 1.x | Security fixes only | >=5.4,<8.1 |
| 2.x | Latest | >=7.2.5,<8.4 |


## AppendStream
Expand Down Expand Up @@ -855,14 +863,6 @@ This of course assumes they will be resolved against the same base URI. If this
equivalence or difference of relative references does not mean anything.


## Version Guidance

| Version | Status | PHP Version |
|---------|----------------|------------------|
| 1.x | Security fixes | >=5.4,<8.1 |
| 2.x | Latest | ^7.2.5 \|\| ^8.0 |


## Security

If you discover a security vulnerability within this package, please send an email to [email protected]. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/psr7/security/policy) for more information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ public function __toString(): string
{
try {
$this->rewind();

return $this->getContents();
} catch (\Throwable $e) {
if (\PHP_VERSION_ID >= 70400) {
throw $e;
}
trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR);

return '';
}
}
Expand Down Expand Up @@ -167,7 +169,7 @@ public function seek($offset, $whence = SEEK_SET): void
$stream->rewind();
} catch (\Exception $e) {
throw new \RuntimeException('Unable to seek stream '
. $i . ' of the AppendStream', 0, $e);
.$i.' of the AppendStream', 0, $e);
}
}

Expand Down Expand Up @@ -197,7 +199,7 @@ public function read($length): string
if ($this->current === $total) {
break;
}
$this->current++;
++$this->current;
}

$result = $this->streams[$this->current]->read($remaining);
Expand Down
Loading

0 comments on commit 1370d7d

Please sign in to comment.