refactor(upgrade): migrate upgrade framework to namespaced classes with DI#10
Merged
mambax7 merged 13 commits intoXOOPS:masterfrom Apr 12, 2026
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Complete the upgrade framework modernization that was partially started
with the scanner classes. Migrates the three core classes from legacy
flat files to PSR-4 namespaced structure, adds a proper autoloader, and
updates every upd_*/index.php to use constructor dependency injection.
Framework changes:
Every upd_*/index.php file updated to:
upd_2.5.11-to-2.7.0/index.php gains 6 new upgrade tasks:
upgrade_tpl.php refactored to use a $viewModel array for cleaner
separation between the upgrade controller and its template rendering.
Tested end-to-end by running the upgrade wizard from a fresh XOOPS 2.5.11
install through to 2.7.0 RC1, including the System module update step
that seeds menus. All upgrade tasks completed successfully.
Summary by CodeRabbit
New Features
Bug Fixes
Refactor