-
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
Fixed coding standard violations in the Framework\Validator namespace #9251
Fixed coding standard violations in the Framework\Validator namespace #9251
Conversation
- Removed @codingStandardsIgnoreFile - Fixed indentation - Fixed number of chars per line
I will look into this why the test fails, fix it and make a commit again. |
Such kind of manual changes is a waste of time for both developer and PR reviewers. With ~700 files with violations and 2-4 files fixed per PR you'll need few hundreds of PRs created. Please get familiar with approach I described in #7166 (comment) and already successfully used and fix coding standard violations in similar manner. |
@orlangur I don't think that everything should be fixed in one pull request, more granular fixes will allow delivering changes often. However, if you'd like to work on the automated tool, please feel free to do so. @dverkade can you please fix the issue with the static test:
|
@dverkade can you please fix unit tests":
|
…a fixed array into the constructor of the Property class.
@orlangur Thank you for your suggestion. Since you have a clear idea on how to fix this you can do it on all the modules in the /app/code folder. I'm focusing on the Framework. The first time it was all in one PR which became impossible to proces, so I opted for this approach where I'll fix a couple of files and do a PR per namespace. This way the PR's can be processed faster and developers can benefit from these changes immedialely while not every file is yet coding standard compliant. @vrann I fixed the coding violations which where still in there and I fixed the failing unit tests. So this PR is now complete from my side. |
@vrann @dverkade the problem is not with granularity, changes can be partial with automated approach as well, the problem is with time spent on manual changes and then rigorous review of such changes. Ok, I'll do my best to show my approach in action asap, fixing all the codebase (modules, framework, whatever else...). |
…fix-09072024 Cia 2.4.8 beta1 develop bugfix 09072024
Fixed coding standard violations in the Framework\Validator namespace, so that it will be checked bij PHP CS and no longer be ignored while doing CI checks. Made the following changes: