Skip to content

[stable31] refactor: footer handler reduce coupling - #5990

Merged
vitormattos merged 3 commits into
stable31from
backport/5988/stable31
Dec 4, 2025
Merged

vitormattos merged 3 commits into
stable31from
backport/5988/stable31

Conversation

@backportbot-libresign

Copy link
Copy Markdown

Backport of PR #5988

- Remove $file property to reduce coupling
- Make getMetadata() public and accept File as parameter
- Change getFooter() to receive dimensions array instead of File
- This allows more flexibility and reduces dependencies

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
- Update test to pass dimensions array instead of File
- All 6 tests passing (27 assertions)

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
- Call getMetadata() before getFooter()
- Pass dimensions array to getFooter() instead of File object

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in LibreSign Roadmap Dec 4, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (31) milestone Dec 4, 2025
@vitormattos
vitormattos merged commit c292240 into stable31 Dec 4, 2025
62 checks passed
@vitormattos
vitormattos deleted the backport/5988/stable31 branch December 4, 2025 13:21
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in LibreSign Roadmap Dec 4, 2025
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