We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/frostealth/yii2-aws-s3/src/handlers/uploadCommandHandlers
protected function sourceToStream($source): StreamInterface { if (is_string($source)) { $source = Psr7\try_fopen($source, 'r+'); } return Psr7\stream_for($source); }
Should now be
protected function sourceToStream($source): StreamInterface { if (is_string($source)) { $source = Psr7\Utils::tryFopen($source, 'r+'); } return Psr7\Utils::streamFor($source); }
There might be more functions needs replacing, but that was the one directly affecting me. There's a list of the new functions here https://github.com/guzzle/psr7/blob/4095c77b73893521ef1c84109b95f97aa35e48b8/README.md
The text was updated successfully, but these errors were encountered:
fix issue frostealth#43
d9e9b5c
guzzle dependency
No branches or pull requests
/frostealth/yii2-aws-s3/src/handlers/uploadCommandHandlers
Should now be
There might be more functions needs replacing, but that was the one directly affecting me. There's a list of the new functions here https://github.com/guzzle/psr7/blob/4095c77b73893521ef1c84109b95f97aa35e48b8/README.md
The text was updated successfully, but these errors were encountered: