Skip to content

refactor(themes-catalog): encapsulate reset+register on ThemesHandler - #22

Merged
TDannhauer merged 1 commit into
FRAMEWORK_6_0from
fix/themes-catalog-followup
Jul 3, 2026
Merged

TDannhauer merged 1 commit into
FRAMEWORK_6_0from
fix/themes-catalog-followup

Conversation

@ralflang

@ralflang ralflang commented Jul 2, 2026

Copy link
Copy Markdown
Member

Follow-up to #21.

Summary

Reconfigure flow no longer reaches through the public $themesCatalog property: adds ThemesHandler::resetCatalog() and registerTheme() as thin delegators. Strips trailing whitespace introduced in #21 (only cs-fixer violation on the file). Flags the never-wired ThemesCatalog::unregister() stub as @deprecated. Adds ThemesCatalogTest — 3 tests, 12 assertions — covering the reset+register cycle in memory and on disk (the exact regression #21 fixed).

@TDannhauer TDannhauer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for cleanup

@TDannhauer
TDannhauer merged commit b0ca737 into FRAMEWORK_6_0 Jul 3, 2026
1 check failed
ralflang added a commit that referenced this pull request Jul 4, 2026
Release version 3.6.1-RC3

Merge pull request #22 from horde/fix/themes-catalog-followup
Merge pull request #27 from Bramvzw/chore/drop-invalid-function-use-imports
chore: drop invalid class-style use imports for global functions
refactor(themes-catalog): encapsulate reset+register on ThemesHandler
fix(themes-catalog): rebuild themes.json from scratch on each reconfigure run
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.

2 participants