-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.1 - Deprecated error in setasign\Fpdi\Tcpdf\Fpdi #152
Comments
Can you please check if the changes in this branch solves that problem? |
Hi, |
Okay, this will make it into the next official release. Just some more information: The message comes from the DebugClassLoader which checks the loaded classes for some style things. The error is thrown by exactly this class and is not a deprecation warning from the PHP engine. |
Hey, Could we have an release for this fix? |
Done! |
In my project under symfony 6.1 (php 8.1), I have the error message below that appears:
Method "TCPDF::_getxobjectdict()" might add "string" as a native return type declaration in the future. Do the same in child class "setasign\Fpdi\Tcpdf\Fpdi" now to avoid errors or add an explicit @return annotation to suppress this message.
The text was updated successfully, but these errors were encountered: