Skip to content

Fix format strings for deprecation notices #30004

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

Conversation

TysonAndre
Copy link
Contributor

Q A
Branch? master for features / 3.4 up to 4.2 for bug fixes
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass?
Fixed tickets
License MIT
Doc PR

The %c conversion specifier expects an integer
(the value of the byte to print). To produce a literal %, %% should be used.

Detected via static analysis

The `%c` conversion specifier expects an integer
(the value of the byte to print)

Detected via static analysis
@nicolas-grekas
Copy link
Member

Thank you @TysonAndre.

@nicolas-grekas nicolas-grekas merged commit 2e00dfb into symfony:4.2 Jan 28, 2019
nicolas-grekas added a commit that referenced this pull request Jan 28, 2019
This PR was merged into the 4.2 branch.

Discussion
----------

Fix format strings for deprecation notices

| Q             | A
| ------------- | ---
| Branch?       | master for features / 3.4 up to 4.2 for bug fixes <!-- see below -->
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   |
| Fixed tickets |
| License       | MIT
| Doc PR        |

The `%c` conversion specifier expects an integer
(the value of the byte to print). To produce a literal `%`, `%%` should be used.

Detected via static analysis

Commits
-------

2e00dfb Fix format strings for deprecation notices
@fabpot fabpot mentioned this pull request Feb 3, 2019
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.

5 participants