-
Notifications
You must be signed in to change notification settings - Fork 190
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
Add psalm for static code analysis #907
Conversation
I'm not a 100% sure how useful this will be in the beginning as right now we have many errors according to psalm, some of them might be invalid though. |
The check doesn't seem to be run yet? |
No apparently not, maybe there is a syntax error because the changelog enforcer was also inforced on the or itself |
yea it was a yaml lint error :) added a plugin to my editor now |
I think I'd want to fix the reported issues here before merging this. |
Sure, I didn't want to integrate that into this pr. Partly because I'm not sure how to fix it |
Signed-off-by: Benjamin Brahmer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK for me too, if we want to fix the reported issues in later commits.
This adds the static code analyzer psalm based on https://docs.nextcloud.com/server/latest/developer_manual//digging_deeper/continuous_integration.html