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

zend-diactoros is an optional dependency #580

Closed
wants to merge 4 commits into from
Closed

zend-diactoros is an optional dependency #580

wants to merge 4 commits into from

Conversation

michalbundyra
Copy link
Member

Everywhere where we are using diactoros we check first for class existence, so it should be an optional dependency.

Added conflict with version prior to 1.7.1 - see release notes for 1.7.1

Added to suggest section in composer.json.

Build is failing because of other issues on current release-3.0.0 branch - see #579

It should be an optional dependency as in factories where it is used
we checking for the class existance
Version 1.7.1 contains PSR-7 implementation hotfix, to return host name
always lowercase, which follows IETF RFC 3986 section 3.2.2
(requires that the host name be normalized to lowercase)
We can use any implementation of psr/http-message-implementation
weierophinney added a commit that referenced this pull request Mar 7, 2018
weierophinney added a commit that referenced this pull request Mar 7, 2018
@weierophinney
Copy link
Member

Merged with 75af35c.

@michalbundyra michalbundyra deleted the hotfix/diactoros-dev branch March 7, 2018 17:44
@michalbundyra michalbundyra restored the hotfix/diactoros-dev branch March 7, 2018 17:51
@michalbundyra michalbundyra deleted the hotfix/diactoros-dev branch March 7, 2018 17:53
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.

2 participants