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

fix: make compatible with FPDF #2671

Merged
merged 2 commits into from
Apr 5, 2024
Merged

Conversation

vitormattos
Copy link
Member

I identified an edge case parsing a PDF generated with FPDF. The MediaBox don't exists at page scope and was necessary to get from document scope.

I identified an edge case parsing a PDF generated with FPDF. The MediaBox don't exists at page scope and was necessary to get from document scope.

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos added this to the Next Major (30) milestone Apr 5, 2024
@vitormattos vitormattos self-assigned this Apr 5, 2024
```
ERROR: InvalidPassByReference - lib/Service/PdfParserService.php:76:22 - Parameter 1 of reset expects a variable (see https://psalm.dev/102)
				$details = reset($pdf->getObjectsByType('Pages'))->getHeader()->getDetails();
```

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos
Copy link
Member Author

/backport to stable29

@vitormattos
Copy link
Member Author

/backport to stable28

@vitormattos vitormattos merged commit fd43025 into main Apr 5, 2024
68 checks passed
@vitormattos vitormattos deleted the fix/make-compatible-with-fpdf branch April 5, 2024 20:49
@vitormattos vitormattos removed this from the Next Major (30) milestone May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant