Merge branch 'MDL-80643_upgrade-http-client' of https://github.com/ziegenberg/moodle

This commit is contained in:
Sara Arjona 2024-07-01 13:36:28 +02:00
commit e01a61a7b8
No known key found for this signature in database
5 changed files with 25 additions and 4 deletions

View File

@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file, in reverse chronological order by release.
## 1.0.3
Add `source` link in composer.json. No code changes.
## 1.0.2
Allow PSR-7 (psr/http-message) 2.0. No code changes.
## 1.0.1
Allow installation with PHP 8. No code changes.

View File

@ -7,6 +7,6 @@ Note that this is not a HTTP Client implementation of its own. It is merely abst
The installable [package][package-url] and [implementations][implementation-url] are listed on Packagist.
[psr-url]: http://www.php-fig.org/psr/psr-18
[psr-url]: https://www.php-fig.org/psr/psr-18
[package-url]: https://packagist.org/packages/psr/http-client
[implementation-url]: https://packagist.org/providers/psr/http-client-implementation

View File

@ -7,12 +7,15 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"support": {
"source": "https://github.com/php-fig/http-client"
},
"require": {
"php": "^7.0 || ^8.0",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"autoload": {
"psr-4": {

View File

@ -0,0 +1,10 @@
# PSR-18 HTTP Client
This is a description for including the PSR-18 Interfaces in Moodle
## Installation
1. Visit https://github.com/php-fig/http-client
2. Download the latest release
3. Unzip in this folder
4. Update `thirdpartylibs.xml`

View File

@ -624,7 +624,7 @@ All rights reserved.</copyright>
<location>psr/http-client</location>
<name>http-client</name>
<description>Provides an abstraction that describe the components of a HTTP Client.</description>
<version>1.0.0</version>
<version>1.0.3</version>
<license>MIT</license>
<repository>https://github.com/php-fig/http-client</repository>
</library>