10000 Bug #14836 [HttpFoundation] Moves default JSON encoding assignment by Incognito · Pull Request #14918 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Bug #14836 [HttpFoundation] Moves default JSON encoding assignment #14918

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

Closed
wants to merge 1 commit into from
Closed

Bug #14836 [HttpFoundation] Moves default JSON encoding assignment #14918

wants to merge 1 commit into from

Conversation

Incognito
Copy link
Contributor
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? no
Fixed tickets #14918
License MIT
Doc PR no

Moves the assignment of the encoding flags to a property so the class can be extended without needing to re-write the constructor and perform the encoding of data twice.

For more information please see #14836

@Tobion
Copy link
Contributor
Tobion commented Jun 9, 2015

This syntax is only possible since php 5.6: http://3v4l.org/goRvS
So it cannot be merged.

@Tobion Tobion closed this Jun 9, 2015
fabpot added a commit that referenced this pull request Jun 11, 2015
…signment fr… (Incognito)

This PR was submitted for the master branch but it was merged into the 2.6 branch instead (closes #14930).

Discussion
----------

Bug #14836 [HttpFoundation] Moves default JSON encoding assignment fr…

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | #14918, #14836
| License       | MIT
| Doc PR        | no

Moves the assignment of the encoding flags to a property so the class can be extended without needing to re-write the constructor and perform the encoding of data twice.

For more information please see #14836

Commits
-------

25e0d63 Bug #14836 [HttpFoundation] Moves default JSON encoding assignment from constructor to property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0