-
Notifications
You must be signed in to change notification settings - Fork 35
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
Cleanup codebase #105
Comments
I can advise https://github.com/slevomat/coding-standard |
Isn't it part of EsayCodingStandard? Anyway, I have started to work on ECS integration in #137, but maybe I will give a try to Slevomat. Also, feel free to help me :) |
Not quite. Levomat also uses code-sniffer, but it also contains many additional rules (they also exist in phpstan) that can be customized for your project. In my project, I started using PHP_CodeSniffer, but then I added the Slevomat rules and configured them as necessary (which does not allow PHP_CodeSniffer to do). |
I truly believe that ECS is just a wrapper around Slevomat, as there are a lot of Slevomat rules used internally like here: https://github.com/Symplify/EasyCodingStandard/blob/master/config/clean-code.yml#L2-L12 Still, anything that will make the code better by automatization is good for me :) |
What about the Sylius Coding Standard rules for PHPStan? |
Really! Looked bad) https://github.com/Symplify/EasyCodingStandard/blob/master/composer.json#L22 |
We should try some tool that will help to maintain clean code base.
E.g. https://github.com/Symplify/EasyCodingStandard
The text was updated successfully, but these errors were encountered: