Skip to content

Fix all dialyzer red errors #82

Fix all dialyzer red errors

Fix all dialyzer red errors #82

Triggered via pull request July 3, 2024 14:34
Status Success
Total duration 1m 51s
Artifacts

dialyzer.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Dialyzer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Dialyzer: lib/teiserver/moderation/queries/report_group_queries.ex#L87
this clause cannot match because a previous clause at line 81 always matches
Dialyzer: lib/teiserver_web/templates/admin/user/smurf_list.html.heex#L189
variable "games_allied" is unused (if the variable is not meant to be used, prefix it with an underscore)
Dialyzer: lib/teiserver_web/templates/admin/user/smurf_list.html.heex#L190
variable "games_vs" is unused (if the variable is not meant to be used, prefix it with an underscore)
Dialyzer: lib/teiserver_web/live/account/profile/overview.ex#L289
variable "user_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
Dialyzer: lib/teiserver_web/live/account/profile/overview.ex#L288
clauses with the same name and arity (number of arguments) should be grouped together, "def handle_event/3" was previously defined (lib/teiserver_web/live/account/profile/overview.ex:87)
Dialyzer: lib/teiserver_web/live/account/profile/overview.ex#L328
clauses with the same name and arity (number of arguments) should be grouped together, "def get_relationships_and_permissions/1" was previously defined (lib/teiserver_web/live/account/profile/overview.ex:272)
Dialyzer: lib/teiserver_web/live/account/profile/overview.ex#L62
module attribute @impl was not set for function handle_info/2 callback (specified in Phoenix.LiveView). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback