8000 [FrameworkBundle][HttpKernel] bump browser-kit by nicolas-grekas · Pull Request #41920 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle][HttpKernel] bump browser-kit #41920

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

Merged
merged 1 commit into from
Jun 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function loginUser($user, string $firewallContext = 'main'): self
*
* @return Response
*/
protected function doRequest($request)
protected function doRequest(object $request)
{
// avoid shutting down the Kernel if no request has been performed yet
// WebTestCase::createClient() boots the Kernel but do not handle a request
Expand All @@ -176,7 +176,7 @@ protected function doRequest($request)
*
* @return Response
*/
protected function doRequestInProcess($request)
protected function doRequestInProcess(object $request)
{
$response = parent::doRequestInProcess($request);

Expand All @@ -197,7 +197,7 @@ protected function doRequestInProcess($request)
*
* @return string
*/
protected function getScript($request)
protected function getScript(object $request)
{
$kernel = var_export(serialize($this->kernel), true);
$request = var_export(serialize($request), true);
Expand Down
5 changes: 2 additions & 3 deletions src/Symfony/Bundle/FrameworkBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"symfony/event-dispatcher": "^5.1|^6.0",
"symfony/error-handler": "^4.4.1|^5.0.1|^6.0",
"symfony/http-foundation": "^5.3|^6.0",
"symfony/http-kernel": "^5.3|^6.0",
"symfony/http-kernel": "^5.4|^6.0",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php80": "^1.15",
"symfony/filesystem": "^4.4|^5.0|^6.0",
Expand All @@ -37,7 +37,7 @@
"doctrine/cache": "^1.0|^2.0",
"doctrine/persistence": "^1.3|^2.0",
"symfony/asset": "^5.3|^6.0",
"symfony/browser-kit": "^4.4|^5.0|^6.0",
"symfony/browser-kit": "^5.4|^6.0",
"symfony/console": "^5.2|^6.0",
"symfony/css-selector": "^4.4|^5.0|^6.0",
"symfony/dom-crawler": "^4.4|^5.0|^6.0",
Expand Down Expand Up @@ -108,7 +108,6 @@
"phpdocumentor/type-resolver": "<1.4.0",
"phpunit/phpunit": "<5.4.3",
"symfony/asset": "<5.3",
"symfony/browser-kit": "<4.4",
"symfony/console": "<5.2.5",
"symfony/dotenv": "<5.1",
"symfony/dom-crawler": "<4.4",
Expand Down
6 changes: 3 additions & 3 deletions src/Symfony/Component/HttpKernel/HttpKernelBrowser.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function catchExceptions(bool $catchExceptions)
*
* @return Response A Response instance
*/
protected function doRequest($request)
protected function doRequest(object $request)
{
$response = $this->kernel->handle($request, HttpKernelInterface::MAIN_REQUEST, $this->catchExceptions);

Expand All @@ -78,7 +78,7 @@ protected function doRequest($request)
*
* @return string
*/
protected function getScript($request)
protected function getScript(object $request)
{
$kernel = var_export(serialize($this->kernel), true);
$request = var_export(serialize($request), true);
Expand Down Expand Up @@ -196,7 +196,7 @@ protected function filterFiles(array $files)
*
* @return DomResponse A DomResponse instance
*/
protected function filterResponse($response)
protected function filterResponse(object $response)
{
// this is needed to support StreamedResponse
ob_start();
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/HttpKernel/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"psr/log": "~1.0"
},
"require-dev": {
"symfony/browser-kit": "^4.4|^5.0|^6.0",
"symfony/browser-kit": "^5.4|^6.0",
"symfony/config": "^5.0|^6.0",
"symfony/console": "^4.4|^5.0|^6.0",
"symfony/css-selector": "^4.4|^5.0|^6.0",
Expand All @@ -48,7 +48,7 @@
"psr/log-implementation": "1.0"
},
"conflict": {
"symfony/browser-kit": "<4.4",
"symfony/browser-kit": "<5.4",
"symfony/cache": "<5.0",
"symfony/config": "<5.0",
"symfony/console": "<4.4",
Expand Down
0