Skip to content

Add Fulfilled and Rejected promise implementations #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 24, 2015

Conversation

sagikazarmark
Copy link
Member

Based on the idea from php-http/httplug#98.

One major change: Promise now handles \Exception instead of HttplugException.

Reasoning: avoiding circular dependency, moving towards the PSR which will definitely not use our exception interfaces.

@sagikazarmark
Copy link
Member Author

@joelwurtz do you think this will have any bad effect?

@@ -75,7 +75,7 @@ $ git rebase -i HEAD~3
If your branch conflicts with the master branch, you will need to rebase and repush it with the following commands:

``` bash
$ git remote add upstream git@github.com:php-http/repo-name.git
$ git remote add upstream git@github.com:orga/repo-name.git
Copy link
Contributor

Choose a reason for hiding this comment

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

change to php-http/promise? otherwise we can just link to a global contributing guide instead of committing the same file in every repo.

Copy link
Member Author

Choose a reason for hiding this comment

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

My idea was to use the same everywhere.

Copy link
Member Author

Choose a reason for hiding this comment

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

No hassle with updating the differences.

Copy link
Contributor

@dbu dbu Dec 22, 2015 via email

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Low prio IMO, moved to php-http/documentation#44. For now it is just easier to copy files from boilerplate without thinking. 😛

@sagikazarmark sagikazarmark modified the milestone: v0.2 Dec 22, 2015
@sagikazarmark
Copy link
Member Author

Merging this and tagging a PATCH release so we can actually use it. I don't think it could cause any problem.

sagikazarmark added a commit that referenced this pull request Dec 24, 2015
Add Fulfilled and Rejected promise implementations
@sagikazarmark sagikazarmark merged commit 1f63526 into master Dec 24, 2015
@sagikazarmark sagikazarmark deleted the implementation branch December 24, 2015 22:59
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