Skip to content

Commit

Permalink
Fix: composer.json - clue/stream-filter version
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
tuhin18003 committed May 13, 2020
1 parent fcf9b45 commit f48e96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit f48e96f

Please sign in to comment.