-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[suggestion] Code quality #612
Comments
Agreed. Will work on getting this started shortly. |
any update about this ? https://github.com/phpstan/phpstan |
Hi everybody, For me it starts with an IDE, which provides syntax highlighting. Many of you might not think that there are some people around, which still use an unmodified VIM or editor (windows) or textedit (mac os) without any hinting. But there are! Many! I do not know if you want to mention commercial products besides open source IDE. So I will not go into detail, which IDE I am using to not influence this discussion to one direction. IDE usually allows plug-ins. They can provide so much more detailed checking than just syntax checking. The plug-in I really really recommend is PHP Inspections EA ( https://github.com/kalessil/phpinspectionsea ). Also PhpClean is on my list ( https://plugins.jetbrains.com/plugin/11272-phpclean ). The problem with deep code inspection tools in IDE or static analyzers is that it provides good feedback for experienced developers. Beginners might enable all levels and try to fight all notices. By clearing issue by issue beginners might not solve the architectural mistakes behind it. Personally I am struggling with naming a static analyzer "a tool for everybody". They are easy to use - Yes. They provide helpful hints for everybody - Yes. But the conclusion of using a static analyzer cannot be to solve every displayed error without architectural changes. Here is my recommendation for changes:
If you consider these or familiar changes, I would love to support you by writing a draft. What do you think? |
The text was updated successfully, but these errors were encountered: