Skip to content

Psalm > level 3 - #39

Merged
tchapi merged 1 commit into
mainfrom
psalm-level-3
Nov 9, 2026
Merged

tchapi merged 1 commit into
mainfrom
psalm-level-3

Conversation

@tchapi

@tchapi tchapi commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Fixes the 40 findings level 3 adds on top of level 4, then raises errorLevel to 3 in psalm.xml. Among them:

  • 404 instead of 500 on the show and listen pages for an unknown uid
  • captcha check fails closed when Google cannot be reached or answers something unexpected; client IP read from the request
  • guards on curl handles, preg_split, preg_replace, iconv, json_encode and transliterator results
  • ellipsis() no longer cuts a long first word down to one letter
  • Album::merge prefers the other picture when one album has none
  • typed request values in the login form, non-empty admin identifier, repository class reference on the Item entity

Fixes the 40 findings level 3 adds on top of level 4, then raises
errorLevel to 3 in psalm.xml. Among them:

- 404 instead of 500 on the show and listen pages for an unknown uid
- captcha check fails closed when Google cannot be reached or answers
  something unexpected; client IP read from the request
- guards on curl handles, preg_split, preg_replace, iconv, json_encode
  and transliterator results
- ellipsis() no longer cuts a long first word down to one letter
- Album::merge prefers the other picture when one album has none
- typed request values in the login form, non-empty admin identifier,
  repository class reference on the Item entity
@tchapi tchapi self-assigned this Nov 9, 2026
@tchapi
tchapi merged commit f2e9d31 into main Nov 9, 2026
1 check passed
@tchapi
tchapi deleted the psalm-level-3 branch November 9, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant