Skip to content

Add ability to get reason phrase#104

Open
DarronEngelbrechtEdge wants to merge 1 commit into
theiconic:masterfrom
DarronEngelbrechtEdge:feature/get-response-reason-phrase
Open

Add ability to get reason phrase#104
DarronEngelbrechtEdge wants to merge 1 commit into
theiconic:masterfrom
DarronEngelbrechtEdge:feature/get-response-reason-phrase

Conversation

@DarronEngelbrechtEdge
Copy link
Copy Markdown

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.

1 participant