Skip to content

Replace call to deprecated symfony method - #271

Merged
freekmurze merged 1 commit into
spatie:mainfrom
billypoke:replace-deprecated-symfony-fn-call
Dec 22, 2025
Merged

Replace call to deprecated symfony method#271
freekmurze merged 1 commit into
spatie:mainfrom
billypoke:replace-deprecated-symfony-fn-call

Conversation

@billypoke

Copy link
Copy Markdown
Contributor

As of symfony/http-foundation 7.4 the Request::get() method is deprecated (ref).

The framework has discussed re-implementing for BC purposes but no decision has been made yet (ref)

I think if/when laravel v13 adopts symfony 8 there will be a definitive answer, but if this library expects the incoming data about includes, excludes, and fieldsets to always come via the query string, this is a safe refactor.

@freekmurze
freekmurze merged commit 1a65fe5 into spatie:main Dec 22, 2025
1 check passed
@freekmurze

Copy link
Copy Markdown
Member

Thank you!

@billypoke
billypoke deleted the replace-deprecated-symfony-fn-call branch December 29, 2025 15:47
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

Successfully merging this pull request may close these issues.

2 participants