? Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
12 Jun 2020

This removes unused use statements and alphasorts them everywhere. I'm relying on PHPStorm here, so I haven't tested every single file. If you want to do this yourself, simply select the project root (or the file that you want to check) and press CTRL-ALT-o. This does more than check all PHP files and I removed everything non-PHP, but unfortunately the SVG file slipped through the cracks...

avatar Hackwar Hackwar - open - 12 Jun 2020
avatar Hackwar Hackwar - change - 12 Jun 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jun 2020
Category Administration com_admin com_content com_fields com_finder com_installer com_languages com_menus com_tags com_users com_workflow Modules
avatar wlisikpl
wlisikpl - comment - 12 Jun 2020

Agree. Should have been removed long ago in fact


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

avatar ceford
ceford - comment - 13 Jun 2020

Using Eclipse I looked at almost all of the files bearing a tiny red x marker - usually indicating a list of use statements. I skipped some of those in vendor. I only found one list not in apparent alphabet order, in plugins/system/remember/remember.php:
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Plugin\PluginHelper;
use Joomla\CMS\User\UserHelper;
use Joomls\CMS\Log\Log;
If you look closely that last is Joomls with an s. Is this a pass?


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

avatar alikon
alikon - comment - 13 Jun 2020

use Joomls\CMS\Log\Log;

that's a typo

avatar alikon
alikon - comment - 13 Jun 2020

fix #29593

avatar Quy Quy - test_item - 13 Jun 2020 - Tested successfully
avatar Quy
Quy - comment - 13 Jun 2020

I have tested this item successfully on 20cadf5


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

avatar bonzani bonzani - test_item - 14 Jun 2020 - Tested successfully
avatar bonzani
bonzani - comment - 14 Jun 2020

I have tested this item successfully on 20cadf5


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

avatar alikon alikon - change - 14 Jun 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 14 Jun 2020

RTC


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

avatar infograf768 infograf768 - change - 14 Jun 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-06-14 11:20:58
Closed_By infograf768
Labels Added: ?
avatar infograf768 infograf768 - close - 14 Jun 2020
avatar infograf768 infograf768 - merge - 14 Jun 2020
avatar infograf768
infograf768 - comment - 14 Jun 2020

tks

Add a Comment

Login with GitHub to post a comment