-
Notifications
You must be signed in to change notification settings - Fork 9.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
Fix code style issues with php-cs-fixer #13270
Fix code style issues with php-cs-fixer #13270
Conversation
Tests are failing, will update code |
Fix too long lines issues
Revert interface that was used for tests
Fix too long lines issues
Manually fix static test failures
After automatic fixes I also applied manual fixes because there were a lot of issues with "too long line" issues. Another issue I faced - phpmd static test runs only for changed files, so some files appeared because they hadn't suppression. Right now if we're running php-cs-fixer for app/code and lib/internal - we have broken static tests for 9 lines, these files were fixed manually:
|
@ihor-sviziev Looks like it is not possible to easily refactor |
One more time :D It will be pretty strange if this PR will be merged "as is" as it does not differ from other attempts.
After branch is ready and green, please rewrite commits history in the way similar to #9367 - manual changes which do not make sense in separate commit should be squashed. Good luck! |
@orlangur It is still a challenge, to process this kind of PR, same as all previous attempts :) |
As we discussed with @ishakhsuvarov in slack - these changes couldn't be added to next 2.2 patch release because of huge list of changes, so I will prepare these changes to 2.3-develop branch |
@ihor-sviziev there are no coding style issues in And if we just apply |
Let's close this PR. I will prepare new PR once I'll have time for that to 2.3-develop branch |
Description
Fixed code style issues with automatic tool.
Executed following commands:
Fixed Issues (if relevant)
N/A
Manual testing scenarios
N/A
Contribution checklist