From 520ad922c1fb938f8690009b6068adedbbe87c44 Mon Sep 17 00:00:00 2001 From: drewblin Date: Mon, 9 May 2022 15:13:51 +0300 Subject: [PATCH 1/3] Add support for symfony 6 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a876b15..cbaa0e8 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "nyholm/psr7": "^1.3", "php-http/httplug": "^2.0", "psr/http-client": "^1.0", - "symfony/options-resolver": "^2.6 || ^3.4 || ^4.4 || ^5.0" + "symfony/options-resolver": "^2.6 || ^3.4 || ^4.4 || ^5.0 || ^6.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.2", From 38a5af22077e61e45725acf43cda059c2c236d28 Mon Sep 17 00:00:00 2001 From: drewblin Date: Tue, 10 May 2022 12:54:52 +0300 Subject: [PATCH 2/3] Change vendor name & add replace tag (in hope that php-http/socket-client will be maintained) --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cbaa0e8..fbe909c 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "php-http/socket-client", + "name": "code-tool/socket-client", "description": "Socket client for PHP-HTTP", "license": "MIT", "authors": [ @@ -26,6 +26,9 @@ "php-http/client-implementation": "1.0", "psr/http-client-implementation": "1.0" }, + "replace": { + "php-http/socket-client": "*" + }, "autoload": { "psr-4": { "Http\\Client\\Socket\\": "src/" From e0132db6416e283b54ee18ef0b11d187de3f1420 Mon Sep 17 00:00:00 2001 From: drewblin Date: Tue, 10 May 2022 17:00:26 +0300 Subject: [PATCH 3/3] Fix original package version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fbe909c..5c75a58 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "psr/http-client-implementation": "1.0" }, "replace": { - "php-http/socket-client": "*" + "php-http/socket-client": "2.1.0" }, "autoload": { "psr-4": {