File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,11 @@ HttpFoundation
94
94
- ` isInvalid ` /` isSuccessful ` /` isRedirection ` /` isClientError ` /` isServerError `
95
95
- ` isOk ` /` isForbidden ` /` isNotFound ` /` isRedirect ` /` isEmpty `
96
96
97
+ * Checking only for cacheable HTTP methods with ` Request::isMethodSafe() ` is deprecated
98
+ since version 3.2 and will throw an exception in 4.0. Disable checking only for
99
+ cacheable methods by calling the method with ` false ` as first argument or use
100
+ ` Request::isMethodCacheable() ` instead.
101
+
97
102
HttpKernel
98
103
----------
99
104
Original file line number Diff line number Diff line change @@ -151,6 +151,9 @@ HttpFoundation
151
151
- ` isInvalid ` /` isSuccessful ` /` isRedirection ` /` isClientError ` /` isServerError `
152
152
- ` isOk ` /` isForbidden ` /` isNotFound ` /` isRedirect ` /` isEmpty `
153
153
154
+ * The ability to check only for cacheable HTTP methods using ` Request::isMethodSafe() ` is
155
+ not supported anymore, use ` Request::isMethodCacheable() ` instead.
156
+
154
157
HttpKernel
155
158
----------
156
159
You can’t perform that action at this time.
0 commit comments