Skip to content

Comments

chore: Add psalm#651

Merged
susnux merged 2 commits intomasterfrom
chore/psalm
Sep 2, 2024
Merged

chore: Add psalm#651
susnux merged 2 commits intomasterfrom
chore/psalm

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

@susnux susnux force-pushed the refactor/replace-app-config branch from aadc112 to 8601d63 Compare September 2, 2024 09:12
Base automatically changed from refactor/replace-app-config to master September 2, 2024 09:22
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 <[email protected]>
@susnux susnux merged commit e1fc5ec into master Sep 2, 2024
@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