trax-project / moodle-trax-logs

This plugin transforms Moodle logs into xAPI statements, and sends then to your LRS.
GNU General Public License v3.0
7 stars 7 forks source link

fix: deprecated warning passing null to http_build_query() in guzzlehttp #16

Closed mstimvol closed 10 months ago

mstimvol commented 10 months ago

When using PHP 8.1 and above, you're getting the following deprecation warning:

: http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated in
/var/www/html/m2/admin/tool/log/store/trax/vendor/guzzlehttp/guzzle/src/Client.php
on line
371

This pull request updates Guzzle from 6.3.3 to 7.8.0 (latest 7.x version) that fixes the deprecation notice.