Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1df5e7f

Browse files
Fix merge
1 parent e67e47d commit 1df5e7f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Symfony/Component/HttpFoundation/Tests/RequestTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2013,13 +2013,6 @@ public function methodSafeProvider()
20132013
);
20142014
}
20152015

2016-
public function testMethodSafeChecksCacheable()
2017-
{
2018-
$request = new Request();
2019-
$request->setMethod('OPTION');
2020-
$this->assertFalse($request->isMethodSafe());
2021-
}
2022-
20232016
/**
20242017
* @group legacy
20252018
* @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

Comments
 (0)