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

[v2] Removed emitters and server - moved to zend-httphandlerrunner #295

Merged
merged 7 commits into from
May 29, 2018
Merged

[v2] Removed emitters and server - moved to zend-httphandlerrunner #295

merged 7 commits into from
May 29, 2018

Conversation

michalbundyra
Copy link
Member

We have duplicated functionality in zend-httphandlerrunner.

In this PR classes from zend-httphandlerrunner are used instead, and local classes are removed.

This is just quick change, to start discussion what we should do with this package. Maybe the package should be splitted to smaller one, or just Server class should be moved to another (new?) repository?

@weierophinney weierophinney changed the base branch from develop to release-2.0 March 19, 2018 15:09
@weierophinney
Copy link
Member

I've created a release-2.0 branch for this, and updated the PR to base off of that.

Some notes:

  • Definitely want to remove the emitters. The point of creating zend-httphandlerrunner was to extract those so that they may be used with any PSR-7 implementation (which has been requested a number of times previously).
  • I'd argue we can also remove the Server class from v2. While interesting, it belongs in a separate package, and zend-httphandlerrunner's RequestHandlerRunner class largely fulfills that purpose already.

@michalbundyra michalbundyra changed the title [v2] Updated to zend-httphandlerrunner [v2] Removed emitters and server - moved to zend-httphandlerrunner Mar 19, 2018
@weierophinney weierophinney added this to the 2.0.0 milestone May 29, 2018
@weierophinney weierophinney merged commit 6a36925 into zendframework:release-2.0 May 29, 2018
@weierophinney
Copy link
Member

Thanks, @webimpress!

weierophinney added a commit to weierophinney/zend-diactoros that referenced this pull request May 29, 2018
Per zendframework#295, these classes have equivalents or 1:1 mappings via the package
zendframework/zend-httphandlerrunner. As such, they are deprecated for
the 1.8.0 release, to be removed in version 2.0.
@michalbundyra michalbundyra deleted the improvement/httphandlerrunner branch May 30, 2018 06:33
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