Skip to content

Commit

Permalink
Fix remaining global imports
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers committed Dec 16, 2024
1 parent afedfb9 commit 69f19e3
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion modules/backend/behaviors/RelationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
namespace Backend\Behaviors;

use Backend\Classes\ControllerBehavior;
use Form as FormHelper;
use Illuminate\Support\Facades\Lang;
use Illuminate\Support\Facades\Request;
use Winter\Storm\Database\Model;
use Winter\Storm\Exception\ApplicationException;
use Winter\Storm\Support\Facades\DB;
use Winter\Storm\Support\Facades\Form as FormHelper;

/**
* Uses a combination of lists and forms for managing Model relations.
Expand Down
2 changes: 1 addition & 1 deletion modules/backend/models/Preference.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use DirectoryIterator;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Lang;
use Session;
use Illuminate\Support\Facades\Session;
use Winter\Storm\Database\Model;
use Winter\Storm\Support\Facades\Config;

Expand Down
2 changes: 1 addition & 1 deletion modules/backend/traits/SessionMaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Backend\Traits;

use Session;
use Illuminate\Support\Facades\Session;
use Winter\Storm\Support\Str;

/**
Expand Down
2 changes: 1 addition & 1 deletion modules/backend/widgets/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
use Backend\Classes\WidgetManager;
use Backend\Facades\BackendAuth;
use Exception;
use Form as FormHelper;
use Illuminate\Support\Facades\Lang;
use Winter\Storm\Database\Model;
use Winter\Storm\Exception\ApplicationException;
use Winter\Storm\Html\Helper as HtmlHelper;
use Winter\Storm\Support\Facades\Form as FormHelper;

/**
* Form Widget
Expand Down
4 changes: 2 additions & 2 deletions modules/system/classes/ImageResizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
namespace System\Classes;

use Exception;
use File as FileHelper;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Crypt;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\URL;
use Storage;
use System\Models\File as SystemFileModel;
use Winter\Storm\Database\Attach\File as FileModel;
use Winter\Storm\Database\Attach\Resizer as DefaultResizer;
use Winter\Storm\Exception\SystemException;
use Winter\Storm\Support\Facades\Config;
use Winter\Storm\Support\Facades\Event;
use Winter\Storm\Support\Facades\File as FileHelper;

/**
* Image Resizing class used for resizing any image resources accessible
Expand Down
2 changes: 1 addition & 1 deletion modules/system/classes/MediaLibrary.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
use Illuminate\Filesystem\FilesystemAdapter;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Lang;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\URL;
use Storage;
use Winter\Storm\Exception\ApplicationException;
use Winter\Storm\Exception\SystemException;
use Winter\Storm\Filesystem\Definitions as FileDefinitions;
Expand Down
2 changes: 1 addition & 1 deletion modules/system/helpers/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace System\Helpers;

use Cache as CacheFacade;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Cache as CacheFacade;
use Winter\Storm\Support\Facades\Config;
use Winter\Storm\Support\Facades\File;

Expand Down
2 changes: 1 addition & 1 deletion modules/system/helpers/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace System\Helpers;

use View as ViewFacade;
use Illuminate\Support\Facades\View as ViewFacade;

/**
* This helper class is used to extract basic variables
Expand Down
2 changes: 1 addition & 1 deletion modules/system/models/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace System\Models;

use Backend\Controllers\Files;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\URL;
use Storage;
use Winter\Storm\Database\Attach\File as FileBase;
use Winter\Storm\Support\Facades\Config;

Expand Down
2 changes: 1 addition & 1 deletion modules/system/models/MailBrandSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace System\Models;

use Exception;
use File as FileHelper;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Cache;
use Less_Parser;
use Winter\Storm\Database\Model;
use Winter\Storm\Support\Facades\File as FileHelper;
use Winter\Storm\Support\Str;

/**
Expand Down
2 changes: 1 addition & 1 deletion modules/system/models/MailPartial.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
namespace System\Models;

use Exception;
use File as FileHelper;
use Illuminate\Support\Facades\View;
use System\Classes\MailManager;
use Winter\Storm\Database\Model;
use Winter\Storm\Exception\ApplicationException;
use Winter\Storm\Mail\MailParser;
use Winter\Storm\Support\Facades\File as FileHelper;

/**
* Mail partial
Expand Down
2 changes: 1 addition & 1 deletion modules/system/models/MailTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace System\Models;

use File as FileHelper;
use Illuminate\Support\Facades\View;
use System\Classes\MailManager;
use Winter\Storm\Database\Model;
use Winter\Storm\Mail\MailParser;
use Winter\Storm\Support\Facades\File as FileHelper;

/**
* Mail template
Expand Down
2 changes: 1 addition & 1 deletion modules/system/traits/SecurityController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Carbon\Carbon;
use Illuminate\Support\Facades\Crypt;
use Illuminate\Support\Facades\Request;
use Session;
use Illuminate\Support\Facades\Session;
use Symfony\Component\HttpFoundation\Cookie;
use Winter\Storm\Support\Facades\Config;

Expand Down

0 comments on commit 69f19e3

Please sign in to comment.