You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Tests/RequestTest.php
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2013,13 +2013,6 @@ public function methodSafeProvider()
2013
2013
);
2014
2014
}
2015
2015
2016
-
publicfunctiontestMethodSafeChecksCacheable()
2017
-
{
2018
-
$request = newRequest();
2019
-
$request->setMethod('OPTION');
2020
-
$this->assertFalse($request->isMethodSafe());
2021
-
}
2022
-
2023
2016
/**
2024
2017
* @group legacy
2025
2018
* @expectedDeprecation Checking only for cacheable HTTP methods with 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.
0 commit comments