PHP 8 fixes

1 job for !1602 with 6328-support-php-8-x in 6 minutes and 37 seconds (queued for 9 seconds)
latest merge request