Skip to content
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

chore: Add psalm #651

Merged
merged 2 commits into from
Sep 2, 2024
Merged

chore: Add psalm #651

merged 2 commits into from
Sep 2, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Sep 1, 2024

  1. Use psalm: Added config and ci workflow
  2. Fix easy psalm issues like missing type annotations
  3. Fix a possible bug: IResponse::getBody could be a resource

Base automatically changed from refactor/replace-app-config to master September 2, 2024 09:22
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Mostly missing type annotations and missing template parameters for EventListeners.
Also fixed one typo in `SuccesfullLoginListener` (successful vs "sucessfull").

But there is also one potential issue: `HIBPValidator` was assuming `getBody` is always a string, but it could also be a resource.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux merged commit e1fc5ec into master Sep 2, 2024
44 checks passed
@susnux susnux deleted the chore/psalm branch September 2, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup psalm
2 participants