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

Add ability to get reason phrase #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DarronEngelbrechtEdge
Copy link

This adds the ability to get the HTTP reason phrase from the original response so that the developer may handle errors with the same status codes on an individual basis.

https://developers.google.com/analytics/devguides/reporting/core/v4/errors

I was not able to execute the tests using PHP 8.1 on my system (Manjaro) getting the following error seemingly related to the older PHPUnit version but I was unable to update and unsuccessful with yoast/phpunit-polyfills installed so just hoping the PR works. Feel free to edit. :-)

PHP Fatal error:  Uncaught Error: Call to undefined function each() in /home/darron/webdev/php-ga-measurement-protocol/vendor/phpunit/phpunit/src/Util/Getopt.php:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant