Skip to content

Conversation

@joshtrichards
Copy link
Member

@joshtrichards joshtrichards commented Oct 13, 2025

  • Resolves: #na

Summary

  • Removes no longer needed legacy fallback (used only for v19->v20; was added in Fix undefined class property access after upgrade from 19 to 20 #22641).
  • Explicitly handles JSON decode failures.
  • Includes minor readability improvements, such as splitting out session fallback (non-legacy) into a dedicated function.
  • Updates docblocks.
  • Adds clearer exception messages

Outside of dropping the no longer applicable v19 legacy fallback behavior, there should be no breaking changes here. Other changes are purely code readability (e.g. re-ordering, separation of concerns, adjusting logic to not need temporary flag variable, minimize nesting, short/focused docblocks).

TODO

  • Have to finish adjusting the unit tests

Checklist

…e clarity

Removes no longer needed legacy fallback (used only for v19->v20).

Explicitly handles JSON decode failures.

Includes minor readability improvements, such as splitting out session fallback (non-legacy) into a dedicated function.

Updates and streamlines docblocks.

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added enhancement 3. to review Waiting for reviews feature: authentication ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) 2. developing Work in progress and removed 3. to review Waiting for reviews labels Oct 13, 2025
Signed-off-by: Josh <josh.t.richards@gmail.com>
Removed redundant condition from Store.php in psalm baseline.

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 14, 2025
@joshtrichards joshtrichards added this to the Nextcloud 33 milestone Oct 14, 2025
@joshtrichards joshtrichards marked this pull request as ready for review October 14, 2025 12:51
@joshtrichards joshtrichards requested a review from a team as a code owner October 14, 2025 12:51
@joshtrichards joshtrichards requested review from icewind1991 and salmart-dev and removed request for a team October 14, 2025 12:51
This was referenced Jan 7, 2026
@nextcloud-bot nextcloud-bot mentioned this pull request Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement feature: authentication ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants