? PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
2 Mar 2023

Summary of Changes

I ran the "optimize imports" action from PHPStorm on our codebase and this is what was the result. (Minus some unnecessary optimizations, like removing spaces in JS or ordering lowercase imports before uppercase ones.)

Testing Instructions

Codereview

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 2 Mar 2023
Category Administration com_banners com_contact com_content com_fields com_installer com_joomlaupdate com_messages com_templates Repository Front End com_tags Installation Libraries
avatar Hackwar Hackwar - open - 2 Mar 2023
avatar Hackwar Hackwar - change - 2 Mar 2023
Status New Pending
avatar Hackwar Hackwar - change - 2 Mar 2023
Labels Added: PR-4.3-dev
avatar brianteeman
brianteeman - comment - 2 Mar 2023

I ran a similar check yesterday in vs-code with similar results. The difference was that I just assumed in my ignorance that as there were so many that they must have been false positives.

avatar Hackwar
Hackwar - comment - 2 Mar 2023

Looks like a lot of those things are from earlier refactoring, where for example all Factory::getDbo() were moved to a $this->getDatabase() instead of something like that.

avatar Hackwar Hackwar - change - 2 Mar 2023
Title
[4.3] Optimizing import statements
[4.3] Phan: Optimizing import statements
avatar Hackwar Hackwar - edited - 2 Mar 2023
avatar Quy Quy - test_item - 3 Mar 2023 - Tested successfully
avatar Quy
Quy - comment - 3 Mar 2023

I have tested this item successfully on 44f3b8b


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39984.

avatar joomdonation joomdonation - test_item - 4 Mar 2023 - Tested successfully
avatar joomdonation
joomdonation - comment - 4 Mar 2023

I have tested this item successfully on 44f3b8b


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39984.

avatar joomdonation joomdonation - change - 4 Mar 2023
Status Pending Ready to Commit
avatar joomdonation
joomdonation - comment - 4 Mar 2023

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39984.

avatar Quy Quy - change - 8 Mar 2023
Labels Added: ?
avatar obuisard obuisard - change - 8 Mar 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-03-08 05:12:04
Closed_By obuisard
avatar obuisard obuisard - close - 8 Mar 2023
avatar obuisard obuisard - merge - 8 Mar 2023
avatar obuisard
obuisard - comment - 8 Mar 2023

Thank you Hannes @Hackwar, this was tedious...

Add a Comment

Login with GitHub to post a comment