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

Fix minor inconsistencies and no-op sprintf detected by static analysis #24649

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
Oct 22, 2017

Conversation

TysonAndre
Copy link
Contributor

and fix required param after optional param

Q A
Branch? 3.3
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass?
Fixed tickets
License MIT
Doc PR

@fabpot
Copy link
Member

fabpot commented Oct 21, 2017

Are these changes only affecting 3.3? It looks like some of them apply to older versions (2.7 and 2.8).

@TysonAndre
Copy link
Contributor Author

Created separate PRs for 2.7 and 2.8

@fabpot
Copy link
Member

fabpot commented Oct 22, 2017

Thank you @TysonAndre.

@fabpot fabpot merged commit c9ddd68 into symfony:3.3 Oct 22, 2017
fabpot added a commit that referenced this pull request Oct 22, 2017
…static analysis (TysonAndre)

This PR was merged into the 3.3 branch.

Discussion
----------

Fix minor inconsistencies and no-op sprintf detected by static analysis

and fix required param after optional param

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   |
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

c9ddd68 Fix phpdoc inconsistencies, simplify no-op sprintf.
@@ -108,7 +108,7 @@ public function normalize($object, $format = null, array $context = array())
*
* @return string[]
*/
protected function getAttributes($object, $format = null, array $context)
protected function getAttributes($object, $format, array $context)
Copy link
Member

Choose a reason for hiding this comment

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

What is the reason for this change? This is breaking compatibility with classes that extend the AbstractObjectNormalizer.

fabpot added a commit that referenced this pull request Nov 3, 2017
This PR was merged into the 3.3 branch.

Discussion
----------

[Serializer] readd default argument value

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #24649 (comment)
| License       | MIT
| Doc PR        |

Commits
-------

740abbe [Serializer] readd default argument value
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.