tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.18k stars 1.51k forks source link

Fix for PHP 8.1 #571

Closed PavloPixart closed 1 year ago

PavloPixart commented 1 year ago

If $style is empty, PHP is throwing a warning.You need to set the default as empty string if $style is not set.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

PavloPixart commented 1 year ago

Can anyone have a look at it? Thanks.

PavloPixart commented 1 year ago

How long could it take to be merged? Because we have several warnings for this. Thanks.

PavloPixart commented 1 year ago

I've just approved and applied the suggestions.

PavloPixart commented 1 year ago

Thanks all for the quick merge!

PavloPixart commented 1 year ago

@nicolaasuni: Apologize, how can we get the fix from composer? Are you going to release a new version?

williamdes commented 1 year ago

@nicolaasuni: Apologize, how can we get the fix from composer? Are you going to release a new version?

Released! https://github.com/tecnickcom/TCPDF/commit/154bba45ffc9c2a049aa9e21501d02472b24deb4

PavloPixart commented 1 year ago

@williamdes Thanks!