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

[FrameworkBundle] Upgrade notice for the Controller::json() method #18373

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
Apr 5, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Upgrade notice for the Controller::json() method.
  • Loading branch information
derrabus authored and Alexander M. Turek committed Apr 5, 2016
commit ca6694ab19bdfa59efc556fe9c2f6a59a01e6f88
5 changes: 5 additions & 0 deletions 5 UPGRADE-3.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ FrameworkBundle
* As it was never an officially supported feature, the support for absolute
template paths has been deprecated and will be removed in Symfony 4.0.

* The abstract `Controller` class now has a `json()` helper method that creates
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing empty line :)

a `JsonResponse`. If you have existing controllers extending `Controller`
that contain a method with this name, you need to rename that method to avoid
conflicts.
Copy link
Contributor

Choose a reason for hiding this comment

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

So it might be a BC break, right ?
Just read the description of the PR


* The following form types registered as services have been deprecated and
will be removed in Symfony 4.0; use their fully-qualified class name instead:

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