From f48e96f3deb35d4b4387a0711083ad7f917eaf13 Mon Sep 17 00:00:00 2001 From: "M. Tuhin" Date: Wed, 13 May 2020 17:15:34 +0600 Subject: [PATCH] Fix: composer.json - clue/stream-filter version * clue/stream-filter version should update to 1.4.1. *Problem:* if you use "php-http/message" several time on a package it will call "clue/stream-filter" several time. On their previous version before 1.4.1 they didn't have the duplicate function checking. So, it will create same namespace several time. *Real Life Example:* "php-http/message" has been used in - (infusionsoft/php-sdk)[https://github.com/infusionsoft/infusionsoft-php] if you create several wordpress plugins with - infusionsoft/php-sdk and install all the plugins in same website then "php-http/message" will be called several time so the "clue/stream-filter". Which create error for using same namespace. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c161768..013cfe7 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ ], "require": { "php": "^7.1", - "clue/stream-filter": "^1.4", + "clue/stream-filter": "^1.4.1", "php-http/message-factory": "^1.0.2", "psr/http-message": "^1.0" },