This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpFoundation
Fabien Potencier 7378b0b836 feature #39128 [HttpFoundation] Deprecate BinaryFileResponse::create() (derrabus)
This PR was merged into the 5.2 branch.

Discussion
----------

[HttpFoundation] Deprecate BinaryFileResponse::create()

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | no
| New feature?  | no
| Deprecations? | yes
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

Follows #34771. We've deprecated the static `::create()` methods on all response classes but `BinaryFileResponse`. This PR proposes to fix this inconsistency.

Commits
-------

9ce2e86207 [HttpFoundation] Deprecate BinaryFileResponse::create().
2020-11-27 07:13:25 +01:00
..
Exception [HttpFoundation] Add Request::toArray() for JSON content 2020-10-03 08:13:56 +02:00
File Merge branch '5.1' 2020-09-02 18:27:44 +02:00
RateLimiter [RateLimiter] Moved classes implementing LimiterInterface to a new namespace 2020-10-25 09:35:33 +01:00
Session [HttpFoundation][Cache][Messenger] Replace redis "DEL" commands with "UNLINK" 2020-09-27 12:41:29 +02:00
Test/Constraint [HttpFoundation] Add types to private/final/internal methods and constructors. 2019-09-08 21:38:13 +02:00
Tests feature #39128 [HttpFoundation] Deprecate BinaryFileResponse::create() (derrabus) 2020-11-27 07:13:25 +01:00
.gitattributes add missing gitattributes for phpunit-bridge 2020-03-27 17:54:36 +01:00
.gitignore
AcceptHeader.php Enable "native_constant_invocation" CS rule 2020-09-02 18:06:40 +02:00
AcceptHeaderItem.php Enable "native_constant_invocation" CS rule 2020-09-02 18:06:40 +02:00
BinaryFileResponse.php [HttpFoundation] Deprecate BinaryFileResponse::create(). 2020-11-20 16:47:02 +01:00
CHANGELOG.md [HttpFoundation] Deprecate BinaryFileResponse::create(). 2020-11-20 16:47:02 +01:00
composer.json Merge branch '4.4' into 5.1 2020-10-24 14:01:57 +02:00
Cookie.php [HttpFoundation] Expired cookies string representation consistency & tests 2020-10-04 10:45:35 +02:00
ExpressionRequestMatcher.php switched array() to [] 2019-01-16 10:39:14 +01:00
FileBag.php Merge branch '4.4' into 5.1 2020-09-02 18:23:27 +02:00
HeaderBag.php Merge branch '4.4' into 5.1 2020-09-02 18:23:27 +02:00
HeaderUtils.php Merge branch '5.1' 2020-09-02 18:27:44 +02:00
InputBag.php [HttpFoundation] Deprecate not passing a Closure together with FILTER_CALLBACK to ParameterBag::filter() 2020-10-30 17:07:47 +01:00
IpUtils.php Merge branch '4.4' into 5.1 2020-10-28 22:31:18 +01:00
JsonResponse.php Merge branch '4.4' into 5.1 2020-09-02 18:23:27 +02:00
LICENSE Update year in license files 2020-01-01 12:03:25 +01:00
ParameterBag.php [HttpFoundation] Deprecate not passing a Closure together with FILTER_CALLBACK to ParameterBag::filter() 2020-10-30 17:07:47 +01:00
phpunit.xml.dist Bump phpunit XSD version to 5.2 2018-11-11 12:18:13 +01:00
README.md Update links to documentation 2020-01-04 13:05:51 +01:00
RedirectResponse.php Merge branch '4.4' into 5.1 2020-09-02 18:23:27 +02:00
Request.php [HttpFoundation] Typo on deprecation package name 2020-11-20 18:25:36 +01:00
RequestMatcher.php [SecurityBundle] Comma separated ips for security.access_control 2020-09-12 07:06:09 +02:00
RequestMatcherInterface.php
RequestStack.php Fix return statements 2019-08-13 08:33:05 +02:00
Response.php Merge branch '4.4' into 5.1 2020-09-02 18:23:27 +02:00
ResponseHeaderBag.php [HttpFoundation] fix perf of ResponseHeaderBag::initDate() 2020-05-06 12:54:46 +02:00
ServerBag.php Use short array deconstruction syntax. 2020-10-28 21:42:29 +01:00
StreamedResponse.php Leverage trigger_deprecation() from symfony/deprecation-contracts 2020-02-08 15:04:50 +01:00
UrlHelper.php Fix CS regarding nullable arguments 2019-07-05 09:04:50 +02:00

HttpFoundation Component

The HttpFoundation component defines an object-oriented layer for the HTTP specification.

Resources