You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michael Beck edited this page Jun 8, 2026
·
2 revisions
1. Why a XOOPS Rector package?
Modernising 200+ legacy XOOPS modules by hand — or with fragile find/replace scripts — is slow and
error-prone. Rector rewrites code on the AST (abstract syntax tree), so it understands structure:
it won't corrupt a string, a comment, or a language constant the way a regex can. This package bundles
the XOOPS-specific transforms (DB API, removed PHP functions, the $xoopsDB wrapper, MyTextSanitizer,
Smarty PHP API, …) as proper, tested Rector rules so any module can be modernised the same way, twice,
and safely.
PHP-only. Rector parses PHP. Smarty template (.tpl) migration is handled separately by the
XOOPS upgrade preflight scanner, not here.