- Notifications
You must be signed in to change notification settings - Fork 9.4k
Minor cleanup: fixed wrong usage of sprintf, it only takes 2 placeholders here and w… #38628
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
Minor cleanup: fixed wrong usage of sprintf, it only takes 2 placeholders here and w… #38628
Conversation
…e gave it 3 arguments.
Hi @hostep. Thank you for your contribution! Add the comment under your pull request to deploy test or vanilla Magento instance:
❗ Automated tests can be triggered manually with an appropriate comment:
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
@magento run all tests |
Hi @hostep, Thank you for your contribution! ✔️ QA PassedPreconditions:
Steps to reproduce
Build is failing hence moving this PR to Extended Testing. |
@magento create issue |
@magento run all tests |
@magento run Functional Tests CE, Functional Tests EE, WebAPI Tests |
@magento run all tests |
Some Functional EE test failures are different in recent 2 builds, one is constant in both the build. This test failure is a known failure and exits open JIRA for the same. ![]() Run 2: Known issues : |
In the recent 2 builds the Functional B2B failures are not consistent in recent 2 builds, seems to be flaky. Hence moving this PR to Merge in Progress. Run 1: Run 2: |
…e gave it 3 arguments.
Description (*)
Found with running phpstan on level 0:
This PR fixes this, it doesn't fix anything major, as the code runs fine as-is and doesn't crash. So this is only a minor cleanup.
I've left the trailing comma, since that's accepted by PHP > 8.0 and it results in cleaner git diffs.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Nothing to test, the code wasn't behaving wrong before, this is just a minor cleanup.
The unit test for this class already tests for the correct exception message, so if unit tests are green, this can be considered good enough.
Questions or comments
Contribution checklist (*)
Resolved issues: