Skip to content

Conversation

@chrillep
Copy link

@chrillep chrillep commented Dec 29, 2025

This pull request replaces usages of the deprecated Request::get() method with Request::input() in CreateSecurityCookieController and DispatchEventFromAppController.

The Request::get() method has been deprecated in Symfony 7.4 (underlying Laravel's Request class) and will be removed in Symfony 8.0. Switching to input() resolves the deprecation warnings and aligns with Laravel best practices for retrieving input data.

References:

Changes:

  • CreateSecurityCookieController: Replaced $request->get('secret') with $request->input('secret').
  • DispatchEventFromAppController: Replaced $request->get('event') and $request->get('payload') with $request->input(...).

closes #59

@chrillep chrillep changed the title fix(#59): 🐛 replace deprecated Request::get() with Request::input() fix(controller): 🐛 replace deprecated Request::get() with Request::input() Dec 29, 2025
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.

Electron spamming Symfony/http-foundation 7.4: Request::get() is deprecated

2 participants