Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpClient] use "nyholm/psr7" by default in Psr18Client#30752

Merged
nicolas-grekas merged 1 commit intosymfony:masterfrom
nicolas-grekas:psr18
Mar 28, 2019
Merged

[HttpClient] use "nyholm/psr7" by default in Psr18Client#30752
nicolas-grekas merged 1 commit intosymfony:masterfrom
nicolas-grekas:psr18

Conversation

@nicolas-grekas
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

This makes the factory arguments of Psr18Client optional, with a fallback to using Nyholm\Psr7\Factory\Psr17Factory when no factories are provided.

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

This is a nice way to provide a simpler way to create the PSR18Client.

@nicolas-grekas nicolas-grekas merged commit f2222e4 into symfony:master Mar 28, 2019
nicolas-grekas added a commit that referenced this pull request Mar 28, 2019
…nt (nicolas-grekas)

This PR was merged into the 4.3-dev branch.

Discussion
----------

[HttpClient] use "nyholm/psr7" by default in Psr18Client

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

This makes the factory arguments of `Psr18Client` optional, with a fallback to using `Nyholm\Psr7\Factory\Psr17Factory` when no factories are provided.

Commits
-------

f2222e4 [HttpClient] use "nyholm/psr7" by default in Psr18Client
@nicolas-grekas nicolas-grekas deleted the psr18 branch March 28, 2019 16:45
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
@fabpot fabpot mentioned this pull request May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants