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

Error HttpFoundation\Request::isMethodSafe() is deprecated #48

Closed
boonstoppel opened this issue Feb 21, 2018 · 5 comments
Closed

Error HttpFoundation\Request::isMethodSafe() is deprecated #48

boonstoppel opened this issue Feb 21, 2018 · 5 comments

Comments

@boonstoppel
Copy link

Symfony\Component\HttpFoundation\Request::isMethodSafe() is deprecated since version 3.2 and will throw an exception in 4.0.

Disable checking only for cacheable methods by calling the method with false as first argument or use the Request::isMethodCacheable() instead.

@boonstoppel
Copy link
Author

any updates on this? I submitted a pull request to fix this issue.

@boonstoppel
Copy link
Author

Created a new pull request that is backward compatible:
#51

@barryvdh
Copy link
Owner

barryvdh commented Mar 5, 2018

Fixed with ff09bf7

@barryvdh barryvdh closed this as completed Mar 5, 2018
@barryvdh
Copy link
Owner

barryvdh commented Mar 5, 2018

Can you try with 0.3@dev?

@boonstoppel
Copy link
Author

works like a charm

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