Skip to content
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.4 compatibility #226

Closed
michael-klier opened this issue Dec 4, 2024 · 2 comments
Closed

PHP 8.4 compatibility #226

michael-klier opened this issue Dec 4, 2024 · 2 comments

Comments

@michael-klier
Copy link

The PdfStream class ist not fully compatible with PHP 8.4 as it produces deprecation warnings:

Fdpi Library Fehler: setasign\Fpdi\PdfParser\Type\PdfStream::parse(): Implicitly marking parameter $parser as nullable is deprecated

Versions

  • Version of this library: 2.6.0
  • PHP version: 8.4.1

When I briefly checked other classes, I noticed that there are other places where the warning could occur, e.g.:

  • StreamReader->readBytes()
  • PdfDictionary::get()
  • ...
@JanSlabon
Copy link
Member

This was already fixed via #215. An official release will follow the coming days.

@JanSlabon
Copy link
Member

ehh... sorry, I just saw that this was not only fixed in the PR but was also already released in 2.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants