php-http / message

HTTP Message related tools
http://php-http.org
MIT License
1.3k stars 42 forks source link

Fix: composer.json - clue/stream-filter version #127

Closed tuhin18003 closed 4 years ago

tuhin18003 commented 4 years ago

clue/stream-filter version should update to 1.4.1.

Problem: if you use "php-http/message" several time in 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 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.

dbu commented 4 years ago

thanks! glad that you found whats wrong, it would have been quite puzzling to figure that out...