Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Added PSR-15 support (http-interop/http-server-middleware) #22

Merged
merged 3 commits into from Dec 7, 2017
Merged

Added PSR-15 support (http-interop/http-server-middleware) #22

merged 3 commits into from Dec 7, 2017

Conversation

michalbundyra
Copy link
Member

No description provided.


use RuntimeException;

class MissingResponseException extends RuntimeException implements ExceptionInterface
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is no longer used.


$this->assertSame($response->reveal(), $result);
}

/**
* @dataProvider acceptHeaders
*/
public function testDelegateNotReturningResponseResultsInProblemDetails(string $accept) : void
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test case is no longer possible, because we have return type with handlers, so TypeError will be thrown if handler is not returning ResponseInterface.

@michalbundyra michalbundyra changed the base branch from master to release-1.0.0 November 28, 2017 22:52
@weierophinney weierophinney merged commit c409be4 into zendframework:release-1.0.0 Dec 7, 2017
weierophinney added a commit that referenced this pull request Dec 7, 2017
Added PSR-15 support (http-interop/http-server-middleware)

Conflicts:
	CHANGELOG.md
	composer.json
	composer.lock
weierophinney added a commit that referenced this pull request Dec 7, 2017
@weierophinney
Copy link
Member

Thanks, @webimpress

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

Successfully merging this pull request may close these issues.

None yet

2 participants