setTimestamp is called with a float, which has been deprecated as of PHP 8.1.
The problematic part of the code is this:
|
$date->setTimestamp(self::decodeBitsToInt($bitString, $start, $length) / 10); |
Something like the following would fix it:
- $date->setTimestamp(self::decodeBitsToInt($bitString, $start, $length) / 10);
+ $date->setTimestamp(intdiv(self::decodeBitsToInt($bitString, $start, $length), 10));
setTimestamp is called with a float, which has been deprecated as of PHP 8.1.
The problematic part of the code is this:
iab-tcf-php/src/Utils/Bits.php
Line 44 in a9025d1
Something like the following would fix it: