FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

WIP: upgrade to HTTPlug 2.0 by dbu · Pull Request #29 · php-http/mock-client · GitHub

WIP: upgrade to HTTPlug 2.0 - #29

Closed
dbu wants to merge 2 commits into
masterfrom
upgrade-version-2
Closed

WIP: upgrade to HTTPlug 2.0#29
dbu wants to merge 2 commits into
masterfrom
upgrade-version-2

Conversation

dbu commented Dec 2, 2018
edited
Loading

Copy link
Copy Markdown
Contributor
Q A
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? no
Related tickets -
Documentation -
License MIT

What's in this PR?

Some BC breaking changes that clean up the mock client. To be merged when we want to start with version 2.

Checklist

  • Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
  • no documentation changes needed

Comment thread composer.json Outdated
Comment thread composer.json Outdated
dbu force-pushed the upgrade-version-2 branch 4 times, most recently from c7276fb to e785e9e Compare December 3, 2018 07:15
Comment thread src/Client.php
* @param \Exception|null $defaultException
*/
public function setDefaultException(\Exception $defaultException = null)
public function setDefaultException(?\Exception $defaultException)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Good!

We should not allow someone doing $e->setDefaultException();

This change make sure you have to do $e->setDefaultException(null);

Nyholm mentioned this pull request Dec 30, 2018
dbu closed this in #33 Dec 30, 2018

dbu commented Dec 30, 2018

Copy link
Copy Markdown
Contributor Author

@Nyholm did you port all improvements i did here into #33?

Nyholm commented Dec 30, 2018

Copy link
Copy Markdown
Member

Yes, I took this PR and reverted all things that broke BC

dbu changed the title WIP: upgrade to HTTPlug 2.0 WIP: start version 2 with some cleanups Dec 30, 2018
dbu changed the title WIP: start version 2 with some cleanups WIP: upgrade to HTTPlug 2.0 Dec 30, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL