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

Incompatible with guzzlehttp/promises ^2.0 #1

Open
enrise-mbraam opened this issue Jul 13, 2023 · 1 comment
Open

Incompatible with guzzlehttp/promises ^2.0 #1

enrise-mbraam opened this issue Jul 13, 2023 · 1 comment

Comments

@enrise-mbraam
Copy link

https://github.com/8ctopus/php-ga-measurement-protocol/blob/master/src/Network/HttpClient.php#L51

Line 51 in src/Network/HttpClient.php calls unwrap(). This method is removed in the PromiseInterface of guzzlehttp/promises v2.

There are two ways out:

  1. Requireguzzlehttp/promises ^1.5

  2. Apply this fix.
    Call to undefined function GuzzleHttp\Promise\unwrap() theiconic/php-ga-measurement-protocol#109 (comment)

@8ctopus
Copy link
Owner

8ctopus commented Nov 15, 2023

I'm terribly sorry, I somehow missed the notification that you opened an issue.
The library has become useless as universal analytics data collection has been stopped by google.
Let me know if you still need the fix applied.

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

No branches or pull requests

2 participants