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 fb40550

Browse filesBrowse files
committed
[BrowserKit] marked Response as @Final
1 parent 4e02ed4 commit fb40550
Copy full SHA for fb40550

File tree

4 files changed

+8
-0
lines changed
Filter options

4 files changed

+8
-0
lines changed

‎UPGRADE-4.3.md

Copy file name to clipboardExpand all lines: UPGRADE-4.3.md
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ UPGRADE FROM 4.2 to 4.3
44
BrowserKit
55
----------
66

7+
* Marked `Response` final.
78
* Deprecated `Response::buildHeader()`
89
* Deprecated `Response::getStatus()`, use `Response::getStatusCode()` instead
910

‎UPGRADE-5.0.md

Copy file name to clipboardExpand all lines: UPGRADE-5.0.md
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ UPGRADE FROM 4.x to 5.0
44
BrowserKit
55
----------
66

7+
* Removed the possibility to extend `Response` by making it final.
78
* Removed `Response::buildHeader()`
89
* Removed `Response::getStatus()`, use `Response::getStatusCode()` instead
910
* The `Client::submit()` method has a new `$serverParameters` argument.

‎src/Symfony/Component/BrowserKit/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/BrowserKit/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
4.3.0
55
-----
66

7+
* Marked `Response` final.
78
* Deprecated `Response::buildHeader()`
89
* Deprecated `Response::getStatus()`, use `Response::getStatusCode()` instead
910

‎src/Symfony/Component/BrowserKit/Response.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/BrowserKit/Response.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@
1313

1414
/**
1515
* @author Fabien Potencier <fabien@symfony.com>
16+
*
17+
* @final since Symfony 4.3
1618
*/
1719
class Response
1820
{
21+
/** @internal */
1922
protected $content;
23+
/** @internal */
2024
protected $status;
25+
/** @internal */
2126
protected $headers;
2227

2328
/**

0 commit comments

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