theiconic / php-ga-measurement-protocol

Send data to Google Analytics from the server using PHP. Implements GA measurement protocol.
MIT License
655 stars 136 forks source link

Fixes issue with http_build_query() on PHP 8.1 #103

Open morawskim opened 2 years ago

morawskim commented 2 years ago

http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated

8ctopus commented 2 years ago

@jorgeborges It would be great if you find time to review the pull request.

8ctopus commented 2 years ago

@jorgeborges Could you please look into the pull request?

8ctopus commented 2 years ago

@jorgeborges Thank you for your reply.

8ctopus commented 2 years ago

For those interested, I forked the package and released it to packagist with this pull request. It's under:

https://packagist.org/packages/8ctopus/php-ga-measurement-protocol

hopeseekr commented 2 years ago

@8ctopus Thank you for resurrecting this project. I have switched to your project.