8000 [BrowserKit] marked Response as @final · symfony/symfony@c13438c · GitHub
[go: up one dir, main page]

Skip to content

Commit c13438c

Browse files
committed
[BrowserKit] marked Response as @Final
1 parent 5d0d7ac commit c13438c

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

UPGRADE-4.3.md

Lines 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

Lines 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

Lines 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

Lines 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