Resource icon

XF2.2 => XF2.3 rename aliases 2024-07-18

No permission to download
  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Admin submitted a new resource:

XF2.2 => XF2.3 rename aliases - XF2.2 compatibility shim

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

Read more about this resource...
 

Facebook Comments

Similar threads

Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
569
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
973
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
768
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
972
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
770
AdminAdmin is verified member.
Admin
V
Replies
0
Views
1K
Vnteen
V
Back
Top