Skip to content
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

Return the $info from the transport in the <transport>.after_request event #192

Closed

Conversation

brandonhesse
Copy link
Contributor

Handles issue #191

  • Returns $this->info from the current $transport on blocking transports only
  • Updated documentation to show the new API to the hooks
  • Added a test case to validate that it is used at least once and that it's a non-empty array.

I couldn't get phpunit to run on the test, it threw errors about autoloading the base test files. I did download and include the phpunit.phar, but I utilized most of the test from the progress test a few lines above, so it should not have any issues.

- Returns $this->info from the current $transport on blocking transports only
- Updated documentation to show the new API to the hooks
- Added a test case to validate that it is used at least once and that it's a non-empty array.
@rmccue
Copy link
Collaborator

rmccue commented Apr 19, 2016

Thanks for the PR, and sorry for not getting to this sooner. I'm going to update this to fix the tests in a separate PR :)

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