Skip to content
New issue

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

Add StreamIntegrationTest::testGetContentsError() #74

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

nicolas-grekas
Copy link
Contributor

Q A
Bug fix? no
New feature? dunno
BC breaks? -
Deprecations? -
Related tickets -
Documentation -
License MIT

Testing situations like Nyholm/psr7#252

@dbu
Copy link
Contributor

dbu commented Nov 13, 2023

thanks. it seems nyholm is not failing on this, but some others are.

@vjik HttpSoft https://github.com/php-http/psr7-integration-tests/actions/runs/6827244789/job/18616552164?pr=74
@weierophinney Laminas https://github.com/php-http/psr7-integration-tests/actions/runs/6827244777/job/18616551595?pr=74

according to https://www.php-fig.org/psr/psr-7/ getContents must throw a \RuntimeException if reading from the stream fails

@dbu dbu merged commit f725461 into php-http:1.x Nov 13, 2023
4 of 32 checks passed
@nicolas-grekas nicolas-grekas deleted the test-get-contents-error branch November 13, 2023 09:26
@stof
Copy link

stof commented Nov 13, 2023

@dbu nyholm/psr7 is not failing on this anymore because the fix has been merged.

@devanych
Copy link

@dbu fixed, tested. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants