-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Using sprintf() is preferred over string concatenation #6062
Conversation
Could you please rebase your PR and fix merge conflicts? |
1 similar comment
Could you please rebase your PR and fix merge conflicts? |
Could you please rebase your PR and fix merge conflicts? |
3 similar comments
Could you please rebase your PR and fix merge conflicts? |
Could you please rebase your PR and fix merge conflicts? |
Could you please rebase your PR and fix merge conflicts? |
ca6566d
to
76562f1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks great now 👌
1529a3d
to
dafd02d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't we leverage the same substitutions in order to avoid duplicate them?
use multiline throw change position of concatenation character remove duplicates in sprintf() arguments
6018907
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is pedantic, please remove changelog
Thank you @peter-gribanov |
Subject
As i was told, this project adopted the Symfony coding style. But this coding style is not always respected, which leads to problems when making changes to the project code. In this PR, i fix some coding style errors.