Add missing upgrade path for Request::isMethodSafe() deprecation

This commit is contained in:
Robin Chalas 2016-12-19 23:28:29 +01:00
parent 411afbe854
commit 570a76cd9c
No known key found for this signature in database
GPG Key ID: 89672113756EE03B
2 changed files with 8 additions and 0 deletions

View File

@ -94,6 +94,11 @@ HttpFoundation
- `isInvalid`/`isSuccessful`/`isRedirection`/`isClientError`/`isServerError`
- `isOk`/`isForbidden`/`isNotFound`/`isRedirect`/`isEmpty`
* Checking only for cacheable HTTP methods with `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
`Request::isMethodCacheable()` instead.
HttpKernel
----------

View File

@ -151,6 +151,9 @@ HttpFoundation
- `isInvalid`/`isSuccessful`/`isRedirection`/`isClientError`/`isServerError`
- `isOk`/`isForbidden`/`isNotFound`/`isRedirect`/`isEmpty`
* The ability to check only for cacheable HTTP methods using `Request::isMethodSafe()` is
not supported anymore, use `Request::isMethodCacheable()` instead.
HttpKernel
----------