Skip to content

[stable34] refactor(types): add native parameter and return types to UserSettings#2614

Open
backportbot[bot] wants to merge 1 commit into
stable34from
backport/2572/stable34
Open

[stable34] refactor(types): add native parameter and return types to UserSettings#2614
backportbot[bot] wants to merge 1 commit into
stable34from
backport/2572/stable34

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 20, 2026

Backport of PR #2572

@cypress
Copy link
Copy Markdown

cypress Bot commented May 20, 2026

Activity    Run #3837

Run Properties:  status check failed Failed #3837  •  git commit 02cf9e97f5: [stable34] refactor(types): add native parameter and return types to UserSetting...
Project Activity
Branch Review backport/2572/stable34
Run status status check failed Failed #3837
Run duration 01m 57s
Commit git commit 02cf9e97f5: [stable34] refactor(types): add native parameter and return types to UserSetting...
Committer backportbot[bot]
View all properties for this run ↗︎

Test results
Tests that failed  Failures 1
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 8
View all changes introduced in this branch ↗︎

Tests for review

Failed  cypress/e2e/settings.cy.ts • 1 failed test • Run E2E

View Output

Test Artifacts
Check that user's settings survive a reload > Form survive a reload Test Replay Screenshots

All six public/protected methods now carry PHP 8.x native types instead
of relying on docblocks alone.  Two test mocks that used willReturnMap
were migrated to willReturnCallback so they return a typed default
(false / []) instead of null when no entry matches.

Signed-off-by: Anna Larch <anna@nextcloud.com>
AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@miaulalala miaulalala force-pushed the backport/2572/stable34 branch from d4cb9d6 to 534fdff Compare May 25, 2026 13:39
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.

1 participant