Skip to content

Commit

Permalink
Merge pull request #707 from FTXInfotech/analysis-EA0ZoO
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
alanwhitmore authored Oct 19, 2020
2 parents 1fe35dd + bc4dbce commit 82bba47
Show file tree
Hide file tree
Showing 154 changed files with 435 additions and 435 deletions.
10 changes: 5 additions & 5 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
namespace App\Exceptions;

use Exception;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Log;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Validation\ValidationException;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Log;
use Illuminate\Validation\ValidationException;
use Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException;
use Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException;

/**
* Class Handler.
Expand Down
2 changes: 1 addition & 1 deletion app/Helpers/General/HtmlHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Helpers\General;

use Illuminate\Support\HtmlString;
use Illuminate\Contracts\Routing\UrlGenerator;
use Illuminate\Support\HtmlString;

/**
* Class HtmlHelper.
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Composers/Backend/SidebarComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Http\Composers\Backend;

use Illuminate\View\View;
use App\Repositories\Backend\Auth\UserRepository;
use Illuminate\View\View;

/**
* Class SidebarComposer.
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/V1/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Http\Controllers\API\V1;

use Validator;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Validator;

/**
* @group Authentication
Expand Down
10 changes: 5 additions & 5 deletions app/Http/Controllers/Api/V1/BlogCategoriesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace App\Http\Controllers\Api\V1;

use App\Models\BlogCategory;
use Illuminate\Http\Response;
use App\Http\Resources\BlogCategoriesResource;
use App\Repositories\Backend\BlogCategoriesRepository;
use App\Http\Requests\Backend\BlogCategories\StoreBlogCategoriesRequest;
use App\Http\Requests\Backend\BlogCategories\DeleteBlogCategoriesRequest;
use App\Http\Requests\Backend\BlogCategories\ManageBlogCategoriesRequest;
use App\Http\Requests\Backend\BlogCategories\StoreBlogCategoriesRequest;
use App\Http\Requests\Backend\BlogCategories\UpdateBlogCategoriesRequest;
use App\Http\Resources\BlogCategoriesResource;
use App\Models\BlogCategory;
use App\Repositories\Backend\BlogCategoriesRepository;
use Illuminate\Http\Response;

/**
* @group Blog Categories Management
Expand Down
10 changes: 5 additions & 5 deletions app/Http/Controllers/Api/V1/BlogTagsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace App\Http\Controllers\Api\V1;

use App\Models\BlogTag;
use Illuminate\Http\Response;
use App\Http\Resources\BlogTagsResource;
use App\Repositories\Backend\BlogTagsRepository;
use App\Http\Requests\Backend\BlogTags\StoreBlogTagsRequest;
use App\Http\Requests\Backend\BlogTags\DeleteBlogTagsRequest;
use App\Http\Requests\Backend\BlogTags\ManageBlogTagsRequest;
use App\Http\Requests\Backend\BlogTags\StoreBlogTagsRequest;
use App\Http\Requests\Backend\BlogTags\UpdateBlogTagsRequest;
use App\Http\Resources\BlogTagsResource;
use App\Models\BlogTag;
use App\Repositories\Backend\BlogTagsRepository;
use Illuminate\Http\Response;

/**
* @group Blog Tag Management
Expand Down
10 changes: 5 additions & 5 deletions app/Http/Controllers/Api/V1/BlogsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace App\Http\Controllers\Api\V1;

use App\Models\Blog;
use Illuminate\Http\Response;
use App\Http\Resources\BlogsResource;
use App\Repositories\Backend\BlogsRepository;
use App\Http\Requests\Backend\Blogs\StoreBlogsRequest;
use App\Http\Requests\Backend\Blogs\DeleteBlogsRequest;
use App\Http\Requests\Backend\Blogs\ManageBlogsRequest;
use App\Http\Requests\Backend\Blogs\StoreBlogsRequest;
use App\Http\Requests\Backend\Blogs\UpdateBlogsRequest;
use App\Http\Resources\BlogsResource;
use App\Models\Blog;
use App\Repositories\Backend\BlogsRepository;
use Illuminate\Http\Response;

/**
* @group Blog Management
Expand Down
10 changes: 5 additions & 5 deletions app/Http/Controllers/Api/V1/FaqsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace App\Http\Controllers\Api\V1;

use App\Models\Faq;
use Illuminate\Http\Response;
use App\Http\Resources\FaqsResource;
use App\Repositories\Backend\FaqsRepository;
use App\Http\Requests\Backend\Faqs\StoreFaqsRequest;
use App\Http\Requests\Backend\Faqs\DeleteFaqsRequest;
use App\Http\Requests\Backend\Faqs\ManageFaqsRequest;
use App\Http\Requests\Backend\Faqs\StoreFaqsRequest;
use App\Http\Requests\Backend\Faqs\UpdateFaqsRequest;
use App\Http\Resources\FaqsResource;
use App\Models\Faq;
use App\Repositories\Backend\FaqsRepository;
use Illuminate\Http\Response;

/**
* @group Faq Management
Expand Down
10 changes: 5 additions & 5 deletions app/Http/Controllers/Api/V1/PagesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace App\Http\Controllers\Api\V1;

use App\Models\Page;
use Illuminate\Http\Response;
use App\Http\Resources\PagesResource;
use App\Repositories\Backend\PagesRepository;
use App\Http\Requests\Backend\Pages\StorePageRequest;
use App\Http\Requests\Backend\Pages\DeletePageRequest;
use App\Http\Requests\Backend\Pages\ManagePageRequest;
use App\Http\Requests\Backend\Pages\StorePageRequest;
use App\Http\Requests\Backend\Pages\UpdatePageRequest;
use App\Http\Resources\PagesResource;
use App\Models\Page;
use App\Repositories\Backend\PagesRepository;
use Illuminate\Http\Response;

/**
* @group Pages Management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace App\Http\Controllers\Backend\Auth\Permission;

use App\Http\Controllers\Controller;
use Yajra\DataTables\Facades\DataTables;
use App\Repositories\Backend\Auth\PermissionRepository;
use App\Http\Requests\Backend\Auth\Permission\ManagePermissionRequest;
use App\Repositories\Backend\Auth\PermissionRepository;
use Yajra\DataTables\Facades\DataTables;

/**
* Class PermissionTableController.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

namespace App\Http\Controllers\Backend\Auth\Permission;

use App\Models\Auth\Permission;
use App\Http\Controllers\Controller;
use App\Http\Responses\ViewResponse;
use Illuminate\Support\Facades\View;
use App\Http\Responses\RedirectResponse;
use App\Repositories\Backend\Auth\PermissionRepository;
use App\Http\Responses\Backend\Auth\Permission\EditResponse;
use App\Http\Responses\Backend\Auth\Permission\CreateResponse;
use App\Http\Requests\Backend\Auth\Permission\EditPermissionRequest;
use App\Http\Requests\Backend\Auth\Permission\StorePermissionRequest;
use App\Http\Requests\Backend\Auth\Permission\CreatePermissionRequest;
use App\Http\Requests\Backend\Auth\Permission\DeletePermissionRequest;
use App\Http\Requests\Backend\Auth\Permission\EditPermissionRequest;
use App\Http\Requests\Backend\Auth\Permission\ManagePermissionRequest;
use App\Http\Requests\Backend\Auth\Permission\StorePermissionRequest;
use App\Http\Requests\Backend\Auth\Permission\UpdatePermissionRequest;
use App\Http\Responses\Backend\Auth\Permission\CreateResponse;
use App\Http\Responses\Backend\Auth\Permission\EditResponse;
use App\Http\Responses\RedirectResponse;
use App\Http\Responses\ViewResponse;
use App\Models\Auth\Permission;
use App\Repositories\Backend\Auth\PermissionRepository;
use Illuminate\Support\Facades\View;

class PermissionsController extends Controller
{
Expand Down
18 changes: 9 additions & 9 deletions app/Http/Controllers/Backend/Auth/Role/RoleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

namespace App\Http\Controllers\Backend\Auth\Role;

use App\Models\Auth\Role;
use App\Http\Controllers\Controller;
use App\Http\Responses\ViewResponse;
use Illuminate\Support\Facades\View;
use App\Http\Responses\RedirectResponse;
use App\Repositories\Backend\Auth\RoleRepository;
use App\Http\Responses\Backend\Auth\Role\EditResponse;
use App\Repositories\Backend\Auth\PermissionRepository;
use App\Http\Requests\Backend\Auth\Role\EditRoleRequest;
use App\Http\Responses\Backend\Auth\Role\CreateResponse;
use App\Http\Requests\Backend\Auth\Role\StoreRoleRequest;
use App\Http\Requests\Backend\Auth\Role\ManageRoleRequest;
use App\Http\Requests\Backend\Auth\Role\StoreRoleRequest;
use App\Http\Requests\Backend\Auth\Role\UpdateRoleRequest;
use App\Http\Responses\Backend\Auth\Role\CreateResponse;
use App\Http\Responses\Backend\Auth\Role\EditResponse;
use App\Http\Responses\RedirectResponse;
use App\Http\Responses\ViewResponse;
use App\Models\Auth\Role;
use App\Repositories\Backend\Auth\PermissionRepository;
use App\Repositories\Backend\Auth\RoleRepository;
use Illuminate\Support\Facades\View;

class RoleController extends Controller
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace App\Http\Controllers\Backend\Auth\Role;

use App\Http\Controllers\Controller;
use Yajra\DataTables\Facades\DataTables;
use App\Repositories\Backend\Auth\RoleRepository;
use App\Http\Requests\Backend\Auth\Role\ManageRoleRequest;
use App\Repositories\Backend\Auth\RoleRepository;
use Yajra\DataTables\Facades\DataTables;

/**
* Class RoleTableController.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers\Backend\Auth\User;

use App\Models\Auth\User;
use App\Helpers\Auth\Auth;
use App\Exceptions\GeneralException;
use App\Helpers\Auth\Auth;
use App\Http\Controllers\Controller;
use App\Http\Requests\Backend\Auth\User\ManageUserRequest;
use App\Models\Auth\User;

/**
* Class UserAccessController.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers\Backend\Auth\User;

use App\Models\Auth\User;
use App\Http\Controllers\Controller;
use App\Repositories\Backend\Auth\UserRepository;
use App\Http\Requests\Backend\Auth\User\ManageUserRequest;
use App\Models\Auth\User;
use App\Notifications\Frontend\Auth\UserNeedsConfirmation;
use App\Repositories\Backend\Auth\UserRepository;

class UserConfirmationController extends Controller
{
Expand Down
12 changes: 6 additions & 6 deletions app/Http/Controllers/Backend/Auth/User/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

namespace App\Http\Controllers\Backend\Auth\User;

use App\Models\Auth\User;
use App\Http\Controllers\Controller;
use App\Http\Requests\Backend\Auth\User\ManageUserRequest;
use App\Http\Requests\Backend\Auth\User\StoreUserRequest;
use App\Http\Requests\Backend\Auth\User\UpdateUserRequest;
use App\Http\Responses\ViewResponse;
use Illuminate\Support\Facades\View;
use App\Models\Auth\User;
use App\Repositories\Backend\Auth\PermissionRepository;
use App\Repositories\Backend\Auth\RoleRepository;
use App\Repositories\Backend\Auth\UserRepository;
use App\Repositories\Backend\Auth\PermissionRepository;
use App\Http\Requests\Backend\Auth\User\StoreUserRequest;
use App\Http\Requests\Backend\Auth\User\ManageUserRequest;
use App\Http\Requests\Backend\Auth\User\UpdateUserRequest;
use Illuminate\Support\Facades\View;

class UserController extends Controller
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers\Backend\Auth\User;

use App\Models\Auth\User;
use App\Http\Controllers\Controller;
use App\Repositories\Backend\Auth\UserRepository;
use App\Http\Requests\Backend\Auth\User\ManageUserRequest;
use App\Http\Requests\Backend\Auth\User\UpdateUserPasswordRequest;
use App\Models\Auth\User;
use App\Repositories\Backend\Auth\UserRepository;

class UserPasswordController extends Controller
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Http\Controllers\Backend\Auth\User;

use App\Models\Auth\User;
use App\Http\Controllers\Controller;
use App\Http\Requests\Backend\Auth\User\ManageUserRequest;
use App\Models\Auth\User;

/**
* Class UserSessionController.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers\Backend\Auth\User;

use App\Models\Auth\User;
use App\Models\Auth\SocialAccount;
use App\Http\Controllers\Controller;
use App\Repositories\Backend\Auth\User\SocialRepository;
use App\Http\Requests\Backend\Auth\User\ManageUserRequest;
use App\Models\Auth\SocialAccount;
use App\Models\Auth\User;
use App\Repositories\Backend\Auth\User\SocialRepository;

/**
* Class UserSocialController.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers\Backend\Auth\User;

use App\Models\Auth\User;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\View;
use App\Repositories\Backend\Auth\UserRepository;
use App\Http\Requests\Backend\Auth\User\ManageUserRequest;
use App\Models\Auth\User;
use App\Repositories\Backend\Auth\UserRepository;
use Illuminate\Support\Facades\View;

/**
* Class UserStatusController.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers\Backend\Auth\User;

use Carbon\Carbon;
use App\Http\Controllers\Controller;
use Yajra\DataTables\Facades\DataTables;
use App\Repositories\Backend\Auth\UserRepository;
use App\Http\Requests\Backend\Auth\User\ManageUserRequest;
use App\Repositories\Backend\Auth\UserRepository;
use Carbon\Carbon;
use Yajra\DataTables\Facades\DataTables;

/**
* Class UserTableController.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

namespace App\Http\Controllers\Backend\BlogCategories;

use App\Models\BlogCategory;
use App\Http\Controllers\Controller;
use App\Http\Responses\ViewResponse;
use Illuminate\Support\Facades\View;
use App\Http\Responses\RedirectResponse;
use App\Repositories\Backend\BlogCategoriesRepository;
use App\Http\Responses\Backend\BlogCategory\EditResponse;
use App\Http\Requests\Backend\BlogCategories\StoreBlogCategoriesRequest;
use App\Http\Requests\Backend\BlogCategories\CreateBlogCategoriesRequest;
use App\Http\Requests\Backend\BlogCategories\DeleteBlogCategoriesRequest;
use App\Http\Requests\Backend\BlogCategories\ManageBlogCategoriesRequest;
use App\Http\Requests\Backend\BlogCategories\StoreBlogCategoriesRequest;
use App\Http\Requests\Backend\BlogCategories\UpdateBlogCategoriesRequest;
use App\Http\Responses\Backend\BlogCategory\EditResponse;
use App\Http\Responses\RedirectResponse;
use App\Http\Responses\ViewResponse;
use App\Models\BlogCategory;
use App\Repositories\Backend\BlogCategoriesRepository;
use Illuminate\Support\Facades\View;

class BlogCategoriesController extends Controller
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace App\Http\Controllers\Backend\BlogCategories;

use App\Http\Controllers\Controller;
use Yajra\DataTables\Facades\DataTables;
use App\Repositories\Backend\BlogCategoriesRepository;
use App\Http\Requests\Backend\BlogCategories\ManageBlogCategoriesRequest;
use App\Repositories\Backend\BlogCategoriesRepository;
use Yajra\DataTables\Facades\DataTables;

/**
* Class BlogCategoriesTableController.
Expand Down
Loading

0 comments on commit 82bba47

Please sign in to comment.