Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b1e2527

Browse filesBrowse files
minor #41920 [FrameworkBundle][HttpKernel] bump browser-kit (nicolas-grekas)
This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle][HttpKernel] bump browser-kit | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Allows adding more native types. Commits ------- dfe5b9e [HttpKernel][FrameworkBundle] bump browser-kit
2 parents d0f4591 + dfe5b9e commit b1e2527
Copy full SHA for b1e2527

File tree

Expand file treeCollapse file tree

4 files changed

+10
-11
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+10
-11
lines changed

‎src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function loginUser($user, string $firewallContext = 'main'): self
149149
*
150150
* @return Response
151151
*/
152-
protected function doRequest($request)
152+
protected function doRequest(object $request)
153153
{
154154
// avoid shutting down the Kernel if no request has been performed yet
155155
// WebTestCase::createClient() boots the Kernel but do not handle a request
@@ -176,7 +176,7 @@ protected function doRequest($request)
176176
*
177177
* @return Response
178178
*/
179-
protected function doRequestInProcess($request)
179+
protected function doRequestInProcess(object $request)
180180
{
181181
$response = parent::doRequestInProcess($request);
182182

@@ -197,7 +197,7 @@ protected function doRequestInProcess($request)
197197
*
198198
* @return string
199199
*/
200-
protected function getScript($request)
200+
protected function getScript(object $request)
201201
{
202202
$kernel = var_export(serialize($this->kernel), true);
203203
$request = var_export(serialize($request), true);

‎src/Symfony/Bundle/FrameworkBundle/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/composer.json
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"symfony/event-dispatcher": "^5.1|^6.0",
2626
"symfony/error-handler": "^4.4.1|^5.0.1|^6.0",
2727
"symfony/http-foundation": "^5.3|^6.0",
28-
"symfony/http-kernel": "^5.3|^6.0",
28+
"symfony/http-kernel": "^5.4|^6.0",
2929
"symfony/polyfill-mbstring": "~1.0",
3030
"symfony/polyfill-php80": "^1.15",
3131
"symfony/filesystem": "^4.4|^5.0|^6.0",
@@ -37,7 +37,7 @@
3737
"doctrine/cache": "^1.0|^2.0",
3838
"doctrine/persistence": "^1.3|^2.0",
3939
"symfony/asset": "^5.3|^6.0",
40-
"symfony/browser-kit": "^4.4|^5.0|^6.0",
40+
"symfony/browser-kit": "^5.4|^6.0",
4141
"symfony/console": "^5.2|^6.0",
4242
"symfony/css-selector": "^4.4|^5.0|^6.0",
4343
"symfony/dom-crawler": "^4.4|^5.0|^6.0",
@@ -108,7 +108,6 @@
108108
"phpdocumentor/type-resolver": "<1.4.0",
109109
"phpunit/phpunit": "<5.4.3",
110110
"symfony/asset": "<5.3",
111-
"symfony/browser-kit": "<4.4",
112111
"symfony/console": "<5.2.5",
113112
"symfony/dotenv": "<5.1",
114113
"symfony/dom-crawler": "<4.4",

‎src/Symfony/Component/HttpKernel/HttpKernelBrowser.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/HttpKernelBrowser.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function catchExceptions(bool $catchExceptions)
6060
*
6161
* @return Response A Response instance
6262
*/
63-
protected function doRequest($request)
63+
protected function doRequest(object $request)
6464
{
6565
$response = $this->kernel->handle($request, HttpKernelInterface::MAIN_REQUEST, $this->catchExceptions);
6666

@@ -78,7 +78,7 @@ protected function doRequest($request)
7878
*
7979
* @return string
8080
*/
81-
protected function getScript($request)
81+
protected function getScript(object $request)
8282
{
8383
$kernel = var_export(serialize($this->kernel), true);
8484
$request = var_export(serialize($request), true);
@@ -196,7 +196,7 @@ protected function filterFiles(array $files)
196196
*
197197
* @return DomResponse A DomResponse instance
198198
*/
199-
protected function filterResponse($response)
199+
protected function filterResponse(object $response)
200200
{
201201
// this is needed to support StreamedResponse
202202
ob_start();

‎src/Symfony/Component/HttpKernel/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/composer.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"psr/log": "~1.0"
2929
},
3030
"require-dev": {
31-
"symfony/browser-kit": "^4.4|^5.0|^6.0",
31+
"symfony/browser-kit": "^5.4|^6.0",
3232
"symfony/config": "^5.0|^6.0",
3333
"symfony/console": "^4.4|^5.0|^6.0",
3434
"symfony/css-selector": "^4.4|^5.0|^6.0",
@@ -48,7 +48,7 @@
4848
"psr/log-implementation": "1.0"
4949
},
5050
"conflict": {
51-
"symfony/browser-kit": "<4.4",
51+
"symfony/browser-kit": "<5.4",
5252
"symfony/cache": "<5.0",
5353
"symfony/config": "<5.0",
5454
"symfony/console": "<4.4",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.