You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for multipart stream created from uri streams (#27)
* Added support for multipart uri streams by ensuring content from non-seekable streams is not fetched using string casting.
Added testSupportURIResources phpUnit test validating the multipart stream created from an uri resource.
Changed composer dev requirement zendframework/zend-diactoros for guzzlehttp/psr7 due to the fact that zend-diactoros DiactorosStreamFactory's createStream function runs a rewind which throws an exception if stream is not seekable.
Removed dependency on Zend\Diactoros\Stream in unit tests.
* Reverted to Diactoros dependency.
* refactoring: improved naming in line with other tests.
* when building the stream changed from toString via string casting to explicitly calling __toString() for clarity as suggested by @Nyholm
0 commit comments