Skip to content

Commit

Permalink
Alpha order imports in system plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed Oct 16, 2018
1 parent 86978fd commit 3ed7228
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 46 deletions.
6 changes: 3 additions & 3 deletions plugins/system/cache/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Uri\Uri;
use Joomla\CMS\Cache\Cache;
use Joomla\CMS\Factory;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Profiler\Profiler;
use Joomla\CMS\Plugin\PluginHelper;
use Joomla\CMS\Profiler\Profiler;
use Joomla\CMS\Uri\Uri;

/**
* Joomla! Page Cache Plugin.
Expand Down
2 changes: 1 addition & 1 deletion plugins/system/debug/DataCollector/ProfileCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
namespace Joomla\Plugin\System\Debug\DataCollector;

use DebugBar\DebugBarException;
use Joomla\Registry\Registry;
use Joomla\Plugin\System\Debug\AbstractDataCollector;
use Joomla\Registry\Registry;

/**
* Collects info about the request duration as well as providing
Expand Down
6 changes: 3 additions & 3 deletions plugins/system/debug/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
use DebugBar\DebugBar;
use DebugBar\OpenHandler;
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Log\Log;
use Joomla\CMS\Log\LogEntry;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Session\Session;
use Joomla\Database\DatabaseDriver;
use Joomla\Database\Event\ConnectionEvent;
use Joomla\Event\DispatcherInterface;
use Joomla\Plugin\System\Debug\DataCollector\InfoCollector;
use Joomla\Plugin\System\Debug\DataCollector\LanguageErrorsCollector;
Expand All @@ -29,8 +31,6 @@
use Joomla\Plugin\System\Debug\DataCollector\QueryCollector;
use Joomla\Plugin\System\Debug\DataCollector\SessionCollector;
use Joomla\Plugin\System\Debug\DebugMonitor;
use Joomla\Database\DatabaseDriver;
use Joomla\Database\Event\ConnectionEvent;
use Joomla\Plugin\System\Debug\Storage\FileStorage;

/**
Expand Down
4 changes: 2 additions & 2 deletions plugins/system/fields/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

use Joomla\CMS\Factory;
use Joomla\CMS\Form\Form;
use Joomla\Registry\Registry;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Language\Multilanguage;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\Component\Fields\Administrator\Helper\FieldsHelper;
use Joomla\Registry\Registry;

/**
* Fields Plugin
Expand Down
6 changes: 3 additions & 3 deletions plugins/system/highlight/highlight.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

defined('_JEXEC') or die;

use Joomla\CMS\Component\ComponentHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Filter\InputFilter;
use Joomla\CMS\Component\ComponentHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Plugin\CMSPlugin;

/**
* System plugin to highlight terms.
Expand Down
2 changes: 1 addition & 1 deletion plugins/system/languagecode/languagecode.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

use Joomla\CMS\Factory;
use Joomla\CMS\Form\Form;
use Joomla\CMS\Language\LanguageHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Language\LanguageHelper;

/**
* Language Code plugin class.
Expand Down
22 changes: 11 additions & 11 deletions plugins/system/languagefilter/languagefilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@

defined('_JEXEC') or die;

use Joomla\CMS\Application\ApplicationHelper;
use Joomla\CMS\Association\AssociationServiceInterface;
use Joomla\CMS\Uri\Uri;
use Joomla\CMS\Component\ComponentHelper;
use Joomla\CMS\Event\BeforeExecuteEvent;
use Joomla\CMS\Factory;
use Joomla\CMS\Filesystem\Folder;
use Joomla\CMS\Language\Associations;
use Joomla\CMS\Language\Language;
use Joomla\CMS\Language\LanguageHelper;
use Joomla\CMS\Language\Multilanguage;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Router\Router;
use Joomla\CMS\Uri\Uri;
use Joomla\Component\Menus\Administrator\Helper\MenusHelper;
use Joomla\Registry\Registry;
use Joomla\String\StringHelper;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Language\Language;
use Joomla\CMS\Language\Associations;
use Joomla\CMS\Language\Multilanguage;
use Joomla\CMS\Language\LanguageHelper;
use Joomla\CMS\Component\ComponentHelper;
use Joomla\CMS\Event\BeforeExecuteEvent;
use Joomla\CMS\Application\ApplicationHelper;
use Joomla\CMS\Filesystem\Folder;
use Joomla\Component\Menus\Administrator\Helper\MenusHelper;

/**
* Joomla! Language Filter Plugin.
Expand Down
2 changes: 1 addition & 1 deletion plugins/system/log/log.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

defined('_JEXEC') or die;

use Joomla\CMS\Authentication\Authentication;
use Joomla\CMS\Log\Log;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Authentication\Authentication;

/**
* Joomla! System Logging Plugin.
Expand Down
4 changes: 1 addition & 3 deletions plugins/system/logout/logout.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Application\ApplicationHelper;
use Joomla\CMS\Plugin\CMSPlugin;

/**
* Plugin class for logout redirect handling.
Expand Down
4 changes: 2 additions & 2 deletions plugins/system/sef/sef.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

defined('_JEXEC') or die;

use Joomla\CMS\Uri\Uri;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Uri\Uri;

/**
* Joomla! SEF Plugin.
Expand Down
1 change: 0 additions & 1 deletion plugins/system/sessiongc/sessiongc.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
defined('_JEXEC') or die;

use Joomla\CMS\Application\CMSApplication;
use Joomla\CMS\Factory;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Session\MetadataManager;

Expand Down
2 changes: 1 addition & 1 deletion plugins/system/stats/Field/AbstractStatsField.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\Form\FormField;
use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormField;

/**
* Base field for the Stats Plugin.
Expand Down
2 changes: 1 addition & 1 deletion plugins/system/stats/Field/DataField.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

defined('JPATH_BASE') or die;

use Joomla\CMS\Plugin\PluginHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\Plugin\PluginHelper;

/**
* Unique ID Field class for the Stats Plugin.
Expand Down
10 changes: 5 additions & 5 deletions plugins/system/stats/stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@

defined('_JEXEC') or die;

use Joomla\CMS\Uri\Uri;
use Joomla\CMS\Cache\Cache;
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Http\HttpFactory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\FileLayout;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Uri\Uri;
use Joomla\CMS\User\UserHelper;
use Joomla\CMS\Http\HttpFactory;
use Joomla\CMS\Cache\Cache;

// Uncomment the following line to enable debug mode for testing purposes. Note: statistics will be sent on every page load
// define('PLG_SYSTEM_STATS_DEBUG', 1);
Expand Down
16 changes: 8 additions & 8 deletions plugins/system/updatenotification/updatenotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@

defined('_JEXEC') or die;

use Joomla\CMS\Uri\Uri;
use Joomla\CMS\Factory;
use Joomla\CMS\Version;
use Joomla\CMS\Cache\Cache;
use Joomla\CMS\Table\Table;
use Joomla\CMS\Access\Access;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Updater\Updater;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Cache\Cache;
use Joomla\CMS\Component\ComponentHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Log\Log;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Table\Table;
use Joomla\CMS\Updater\Updater;
use Joomla\CMS\Uri\Uri;
use Joomla\CMS\Version;

// Uncomment the following line to enable debug mode (update notification email sent every single time)
// define('PLG_SYSTEM_UPDATENOTIFICATION_DEBUG', 1);
Expand Down

0 comments on commit 3ed7228

Please sign in to comment.