Skip to content

*Response::create() method is deprecated #12748

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

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

OskarStark
Copy link
Contributor

@fabpot deprecated *Response::create() methods in symfony/symfony#34771

I think we can use __construct from the lowest version on (no occurences in 3.4, so 4.3) from now!
No need to mention the deprecation itself in the docs IMHO

Thats why I target 4.3

@OskarStark OskarStark changed the title ::create() is deprecated `Response::create() method is deprecated Dec 3, 2019
@OskarStark OskarStark changed the base branch from master to 4.3 December 3, 2019 10:09
@OskarStark OskarStark changed the title `Response::create() method is deprecated *Response::create() method is deprecated Dec 3, 2019
Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fully agree with what you said! Thanks Oskar.

Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #12746

@OskarStark
Copy link
Contributor Author

Fixes #12746

Sorry @xabbuh I forget to add this, so you didn't notice that I already did this PR 😢 and did the same ...

OskarStark added a commit that referenced this pull request Dec 4, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

*Response::create() method is deprecated

@fabpot deprecated `*Response::create()` methods in symfony/symfony#34771

I think we can use `__construct` from the lowest version on (no occurences in `3.4`, so `4.3`) from now!
No need to mention the deprecation itself in the docs IMHO

Thats why I target `4.3`

Commits
-------

e930ea9 *Response::create() method is deprecated
@OskarStark OskarStark merged commit e930ea9 into symfony:4.3 Dec 4, 2019
@OskarStark OskarStark deleted the createis-deprecated branch December 4, 2019 07:54
@xabbuh
Copy link
Member

xabbuh commented Dec 4, 2019

It wasn't that big of a change anyway. 😄

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.

4 participants