-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
Clarified "static analysis" wording in docs and logo #1008
Clarified "static analysis" wording in docs and logo #1008
Conversation
@nunomaduro won't be happy about it. We are working on it. Larastan will be at some point static. |
I'm only going by what Nuno said regarding the dynamic loading of code:
I am just trying to help to ensure folks are not misled by using terminology incorrectly :) |
AFAIK This is complicated. |
Thank you for suggesting this, and for opening this pull request. Yet, we don't plan to change the wording here. Keep in mind that we don't load the entire project's code. We simply "boot" an instance of the framework, so we can use the container to resolve concrete types. I still understand your motivations @asgrim, and because of that, @canvural is currently working on removing the "boot" instance step from Larastan. |
Adjusted the readme: a244eea. |
Hmm, as an author of a static analysis library myself, where we have taken great pains to ensure code is never loaded - until the dynamic code loading is removed - I strongly object to this library declaring itself "static analysis" because it is misleading. I appreciate work is being done to amend it (and I also know the great undertaking that could be), but until such time, surely it would resolve confusion to remove such wording? As it stands, Larastan is strictly NOT only a static analysis tool, and I would be severely disappointed if you don't reconsider describing this library as a "static analysis" tool :/ |
Oh, didn't see this until just after my post, sorry:
Hmm, respectfully, I don't think this goes far enough; you are still shouting "Adds static analysis" etc, just with an asterisk that it's not true static analysis by definition. |
@nunomaduro Thank you so much for reconsidering, but woaaaah hold your horses, the logo needs updating, it is not done properly as I mentioned in the description 🚨 |
Thank you 🙏 appreciate it, I didn't want it to slip through the net; in hindsight I should've made the PR a "draft", since I wanted to contribute and discuss rather than have immediate fix. Again, thank you for this! |
Thank you for merging this — such a clarification would have prevented me from opening #749, because at that time it wasn't clear for me that Larastan boots my application, so I didn't expect my |
This PR updates the documentation and wording to clarify that Larastan is not actually "static analysis", since it is loading the code it is analysing. Rather than just complain on Twitter, I'd rather try to be helpful and propose changes to improve this, however, there are some additional things I can't do:
Adds code analysis to Laravel improving developer productivity and code quality.
or similarstatic-code-analysis
andstatic-analysis
should be removed, maybe addcode-analysis
?docs/logo.png
- my suggestion is to replace/ code static analysis /
with just/ code analysis /
- change shown here just for demo purposes.