Package: php-tcpdf
Version: 6.4.2+dfsg1-1
Severity: normal
Control: block 976811 by -1

Hi,

Now that PHP 8.1 is default in experimental (soon in unstable), we
noticed the testsuite is currently failing due to deprecation notices.

https://release.debian.org/britney/pseudo-excuses-experimental.html#php-defaults
https://ci.debian.net/data/autopkgtest/unstable/amd64/t/tcpdf/16973890/log.gz
[…]
Deprecated: Implicit conversion from float 16.912810673130803 to int loses 
precision in /usr/share/php/tcpdf/tcpdf.php on line 7360

Deprecated: Implicit conversion from float 5.388921932205105 to int loses 
precision in /usr/share/php/tcpdf/tcpdf.php on line 7360

Deprecated: Implicit conversion from float 0.20696933481202212 to int loses 
precision in /usr/share/php/tcpdf/tcpdf.php on line 7360

Deprecated: Implicit conversion from float 0.006000286595066149 to int loses 
precision in /usr/share/php/tcpdf/tcpdf.php on line 7360

Warning: Cannot modify header information - headers already sent by (output 
started at /usr/share/php/tcpdf/tcpdf.php:7360) in 
/usr/share/php/tcpdf/tcpdf.php on line 7709
<strong>TCPDF ERROR: </strong>Some data has already been output to browser, 
can't send PDF file
---------------------------
[…]

A quick look upstream makes me think a patch is already available.

PHP 8.1: Fix implicit conversion from float to int #387 
https://github.com/tecnickcom/TCPDF/pull/387

Thanks in advance for fixing this issue.

Regards

David

Attachment: signature.asc
Description: PGP signature

Reply via email to