xenvn

XF2.2 => XF2.3 Rename Aliases

XenForo 2.3 contains a number of renames of core files, which can break static analysis of XF2.2 addons when using XF2.3. This complicates updating to XF2.2, by making it harder to separate type changes from actual breaking changes.

Drop rename_aliases.php into somewhere phpstorm will read as a source file, and it will allow static type checking to work without needing to manually rename/update files.

Note; 'goto definition' doesn't work properly since it'll jump to the rename_aliases.php file
 

Attachments

Back
Top Bottom