Skip to content

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

Merged
AndyScherzinger merged 1 commit into
stable34from
backport/2572/stable34
Jun 17, 2026
Merged

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

Conversation

@backportbot

@backportbot backportbot Bot commented May 20, 2026

Copy link
Copy Markdown

Backport of PR #2572

@cypress

cypress Bot commented May 20, 2026

Copy link
Copy Markdown

Activity    Run #3838

Run Properties:  status check failed Failed #3838  •  git commit d89cf09305: [stable34] refactor(types): add native parameter and return types to UserSetting...
Project Activity
Branch Review backport/2572/stable34
Run status status check failed Failed #3838
Run duration 02m 18s
Commit git commit d89cf09305: [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 3
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 6
View all changes introduced in this branch ↗︎

Tests for review

Failed  sidebar.cy.ts • 2 failed tests • Run E2E

View Output

Test Artifacts
Check activity listing in the sidebar > Has favorite activity Test Replay Screenshots
Check activity listing in the sidebar > Has tag activity Test Replay Screenshots
Failed  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

@miaulalala miaulalala force-pushed the backport/2572/stable34 branch from d4cb9d6 to 534fdff Compare May 25, 2026 13:39
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 534fdff to 0a386cf Compare May 26, 2026 14:53
@AndyScherzinger AndyScherzinger merged commit f7f2429 into stable34 Jun 17, 2026
51 of 55 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/2572/stable34 branch June 17, 2026 21:05
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.

3 participants