The Wayback Machine - https://web.archive.org/web/20220811041352/https://github.com/symfony/symfony/pull/39128
Skip to content
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

[HttpFoundation] Deprecate BinaryFileResponse::create() #39128

Merged
merged 1 commit into from Nov 27, 2020

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Nov 20, 2020

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.

@derrabus derrabus force-pushed the improvement/deprecate-bfr-create branch from 2c3918f to 9ce2e86 Compare Nov 20, 2020
@derrabus
Copy link
Member Author

@derrabus derrabus commented Nov 20, 2020

Paging @fabpot: Was there a particular reason why BinaryFileResponse was omitted in #34771?

fabpot
fabpot approved these changes Nov 27, 2020
@fabpot
Copy link
Member

@fabpot fabpot commented Nov 27, 2020

Thank you @derrabus.

@fabpot fabpot merged commit 7378b0b into symfony:5.2 Nov 27, 2020
3 of 5 checks passed
@derrabus derrabus deleted the improvement/deprecate-bfr-create branch Nov 27, 2020
@fabpot fabpot mentioned this pull request Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.