Reorder imports

This commit is contained in:
Nabeel Shahzad 2019-07-15 15:51:35 -04:00
parent a720f12e0b
commit dd946d4cdd
43 changed files with 43 additions and 43 deletions

View File

@ -2,8 +2,8 @@
namespace App\Cron\Hourly; namespace App\Cron\Hourly;
use App\Events\CronHourly;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\CronHourly;
use App\Models\Bid; use App\Models\Bid;
use Carbon\Carbon; use Carbon\Carbon;

View File

@ -2,8 +2,8 @@
namespace App\Cron\Hourly; namespace App\Cron\Hourly;
use App\Events\CronHourly;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\CronHourly;
use App\Models\Pirep; use App\Models\Pirep;
use Carbon\Carbon; use Carbon\Carbon;

View File

@ -2,8 +2,8 @@
namespace App\Cron\Monthly; namespace App\Cron\Monthly;
use App\Events\CronMonthly;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\CronMonthly;
use App\Models\Enums\ExpenseType; use App\Models\Enums\ExpenseType;
use App\Services\Finance\RecurringFinanceService; use App\Services\Finance\RecurringFinanceService;

View File

@ -2,8 +2,8 @@
namespace App\Cron\Nightly; namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\CronNightly;
use App\Models\Enums\ExpenseType; use App\Models\Enums\ExpenseType;
use App\Services\Finance\RecurringFinanceService; use App\Services\Finance\RecurringFinanceService;

View File

@ -2,8 +2,8 @@
namespace App\Cron\Nightly; namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\CronNightly;
use App\Models\Enums\UserState; use App\Models\Enums\UserState;
use App\Models\User; use App\Models\User;
use App\Services\UserService; use App\Services\UserService;

View File

@ -2,8 +2,8 @@
namespace App\Cron\Nightly; namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\CronNightly;
use App\Models\Journal; use App\Models\Journal;
use App\Repositories\JournalRepository; use App\Repositories\JournalRepository;
use Log; use Log;

View File

@ -2,8 +2,8 @@
namespace App\Cron\Nightly; namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\CronNightly;
use App\Models\Enums\UserState; use App\Models\Enums\UserState;
use App\Repositories\UserRepository; use App\Repositories\UserRepository;
use App\Services\UserService; use App\Services\UserService;

View File

@ -2,8 +2,8 @@
namespace App\Cron\Nightly; namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\CronNightly;
use App\Models\Enums\Days; use App\Models\Enums\Days;
use App\Models\Flight; use App\Models\Flight;
use Carbon\Carbon; use Carbon\Carbon;

View File

@ -2,10 +2,10 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreateAircraftRequest; use App\Http\Requests\CreateAircraftRequest;
use App\Http\Requests\ImportRequest; use App\Http\Requests\ImportRequest;
use App\Http\Requests\UpdateAircraftRequest; use App\Http\Requests\UpdateAircraftRequest;
use App\Contracts\Controller;
use App\Models\Aircraft; use App\Models\Aircraft;
use App\Models\Enums\AircraftStatus; use App\Models\Enums\AircraftStatus;
use App\Models\Expense; use App\Models\Expense;

View File

@ -2,9 +2,9 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreateAirlineRequest; use App\Http\Requests\CreateAirlineRequest;
use App\Http\Requests\UpdateAirlineRequest; use App\Http\Requests\UpdateAirlineRequest;
use App\Contracts\Controller;
use App\Repositories\AirlineRepository; use App\Repositories\AirlineRepository;
use App\Support\Countries; use App\Support\Countries;
use Flash; use Flash;

View File

@ -2,10 +2,10 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreateAirportRequest; use App\Http\Requests\CreateAirportRequest;
use App\Http\Requests\ImportRequest; use App\Http\Requests\ImportRequest;
use App\Http\Requests\UpdateAirportRequest; use App\Http\Requests\UpdateAirportRequest;
use App\Contracts\Controller;
use App\Models\Airport; use App\Models\Airport;
use App\Models\Expense; use App\Models\Expense;
use App\Repositories\AirportRepository; use App\Repositories\AirportRepository;

View File

@ -2,9 +2,9 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreateAwardRequest; use App\Http\Requests\CreateAwardRequest;
use App\Http\Requests\UpdateAwardRequest; use App\Http\Requests\UpdateAwardRequest;
use App\Contracts\Controller;
use App\Repositories\AwardRepository; use App\Repositories\AwardRepository;
use App\Services\AwardService; use App\Services\AwardService;
use Flash; use Flash;

View File

@ -2,8 +2,8 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Facades\Utils;
use App\Contracts\Controller; use App\Contracts\Controller;
use App\Facades\Utils;
use App\Repositories\NewsRepository; use App\Repositories\NewsRepository;
use App\Repositories\PirepRepository; use App\Repositories\PirepRepository;
use App\Repositories\UserRepository; use App\Repositories\UserRepository;

View File

@ -2,8 +2,8 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Http\Requests\ImportRequest;
use App\Contracts\Controller; use App\Contracts\Controller;
use App\Http\Requests\ImportRequest;
use App\Models\Enums\ExpenseType; use App\Models\Enums\ExpenseType;
use App\Models\Expense; use App\Models\Expense;
use App\Repositories\AirlineRepository; use App\Repositories\AirlineRepository;

View File

@ -2,10 +2,10 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreateFareRequest; use App\Http\Requests\CreateFareRequest;
use App\Http\Requests\ImportRequest; use App\Http\Requests\ImportRequest;
use App\Http\Requests\UpdateFareRequest; use App\Http\Requests\UpdateFareRequest;
use App\Contracts\Controller;
use App\Repositories\FareRepository; use App\Repositories\FareRepository;
use App\Services\ExportService; use App\Services\ExportService;
use App\Services\ImportService; use App\Services\ImportService;

View File

@ -2,9 +2,9 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreateFlightRequest; use App\Http\Requests\CreateFlightRequest;
use App\Http\Requests\UpdateFlightRequest; use App\Http\Requests\UpdateFlightRequest;
use App\Contracts\Controller;
use App\Models\Enums\Days; use App\Models\Enums\Days;
use App\Models\Enums\FlightType; use App\Models\Enums\FlightType;
use App\Models\Flight; use App\Models\Flight;

View File

@ -2,10 +2,10 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Facades\Utils; use App\Facades\Utils;
use App\Http\Requests\CreatePirepRequest; use App\Http\Requests\CreatePirepRequest;
use App\Http\Requests\UpdatePirepRequest; use App\Http\Requests\UpdatePirepRequest;
use App\Contracts\Controller;
use App\Models\Enums\PirepSource; use App\Models\Enums\PirepSource;
use App\Models\Enums\PirepState; use App\Models\Enums\PirepState;
use App\Models\Pirep; use App\Models\Pirep;

View File

@ -2,9 +2,9 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreatePirepFieldRequest; use App\Http\Requests\CreatePirepFieldRequest;
use App\Http\Requests\UpdatePirepFieldRequest; use App\Http\Requests\UpdatePirepFieldRequest;
use App\Contracts\Controller;
use App\Repositories\PirepFieldRepository; use App\Repositories\PirepFieldRepository;
use Flash; use Flash;
use Illuminate\Http\Request; use Illuminate\Http\Request;

View File

@ -2,9 +2,9 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreateRankRequest; use App\Http\Requests\CreateRankRequest;
use App\Http\Requests\UpdateRankRequest; use App\Http\Requests\UpdateRankRequest;
use App\Contracts\Controller;
use App\Repositories\RankRepository; use App\Repositories\RankRepository;
use App\Repositories\SubfleetRepository; use App\Repositories\SubfleetRepository;
use App\Services\FleetService; use App\Services\FleetService;

View File

@ -2,9 +2,9 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreateRoleRequest; use App\Http\Requests\CreateRoleRequest;
use App\Http\Requests\UpdateRoleRequest; use App\Http\Requests\UpdateRoleRequest;
use App\Contracts\Controller;
use App\Repositories\PermissionsRepository; use App\Repositories\PermissionsRepository;
use App\Repositories\RoleRepository; use App\Repositories\RoleRepository;
use Flash; use Flash;

View File

@ -2,10 +2,10 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Http\Requests\CreateSubfleetRequest; use App\Http\Requests\CreateSubfleetRequest;
use App\Http\Requests\ImportRequest; use App\Http\Requests\ImportRequest;
use App\Http\Requests\UpdateSubfleetRequest; use App\Http\Requests\UpdateSubfleetRequest;
use App\Contracts\Controller;
use App\Models\Airline; use App\Models\Airline;
use App\Models\Enums\FuelType; use App\Models\Enums\FuelType;
use App\Models\Expense; use App\Models\Expense;

View File

@ -2,10 +2,10 @@
namespace App\Http\Controllers\Admin; namespace App\Http\Controllers\Admin;
use App\Contracts\Controller;
use App\Facades\Utils; use App\Facades\Utils;
use App\Http\Requests\CreateUserRequest; use App\Http\Requests\CreateUserRequest;
use App\Http\Requests\UpdateUserRequest; use App\Http\Requests\UpdateUserRequest;
use App\Contracts\Controller;
use App\Models\Rank; use App\Models\Rank;
use App\Models\Role; use App\Models\Role;
use App\Models\User; use App\Models\User;

View File

@ -2,12 +2,12 @@
namespace App\Http\Controllers\Api; namespace App\Http\Controllers\Api;
use App\Contracts\Controller;
use App\Exceptions\PirepCancelled; use App\Exceptions\PirepCancelled;
use App\Http\Requests\Acars\EventRequest; use App\Http\Requests\Acars\EventRequest;
use App\Http\Requests\Acars\LogRequest; use App\Http\Requests\Acars\LogRequest;
use App\Http\Requests\Acars\PositionRequest; use App\Http\Requests\Acars\PositionRequest;
use App\Http\Resources\AcarsRoute as AcarsRouteResource; use App\Http\Resources\AcarsRoute as AcarsRouteResource;
use App\Contracts\Controller;
use App\Models\Acars; use App\Models\Acars;
use App\Models\Enums\AcarsType; use App\Models\Enums\AcarsType;
use App\Models\Enums\PirepStatus; use App\Models\Enums\PirepStatus;

View File

@ -2,8 +2,8 @@
namespace App\Http\Controllers\Api; namespace App\Http\Controllers\Api;
use App\Http\Resources\Airline as AirlineResource;
use App\Contracts\Controller; use App\Contracts\Controller;
use App\Http\Resources\Airline as AirlineResource;
use App\Repositories\AirlineRepository; use App\Repositories\AirlineRepository;
use Illuminate\Http\Request; use Illuminate\Http\Request;

View File

@ -2,8 +2,8 @@
namespace App\Http\Controllers\Api; namespace App\Http\Controllers\Api;
use App\Http\Resources\Airport as AirportResource;
use App\Contracts\Controller; use App\Contracts\Controller;
use App\Http\Resources\Airport as AirportResource;
use App\Repositories\AirportRepository; use App\Repositories\AirportRepository;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Cache;

View File

@ -2,9 +2,9 @@
namespace App\Http\Controllers\Api; namespace App\Http\Controllers\Api;
use App\Contracts\Controller;
use App\Http\Resources\Aircraft as AircraftResource; use App\Http\Resources\Aircraft as AircraftResource;
use App\Http\Resources\Subfleet as SubfleetResource; use App\Http\Resources\Subfleet as SubfleetResource;
use App\Contracts\Controller;
use App\Repositories\AircraftRepository; use App\Repositories\AircraftRepository;
use App\Repositories\SubfleetRepository; use App\Repositories\SubfleetRepository;
use Illuminate\Http\Request; use Illuminate\Http\Request;

View File

@ -2,9 +2,9 @@
namespace App\Http\Controllers\Api; namespace App\Http\Controllers\Api;
use App\Contracts\Controller;
use App\Http\Resources\Flight as FlightResource; use App\Http\Resources\Flight as FlightResource;
use App\Http\Resources\Navdata as NavdataResource; use App\Http\Resources\Navdata as NavdataResource;
use App\Contracts\Controller;
use App\Repositories\Criteria\WhereCriteria; use App\Repositories\Criteria\WhereCriteria;
use App\Repositories\FlightRepository; use App\Repositories\FlightRepository;
use App\Services\FlightService; use App\Services\FlightService;

View File

@ -2,8 +2,8 @@
namespace App\Http\Controllers\Api; namespace App\Http\Controllers\Api;
use App\Http\Resources\News as NewsResource;
use App\Contracts\Controller; use App\Contracts\Controller;
use App\Http\Resources\News as NewsResource;
use App\Repositories\NewsRepository; use App\Repositories\NewsRepository;
use Illuminate\Http\Request; use Illuminate\Http\Request;

View File

@ -2,6 +2,7 @@
namespace App\Http\Controllers\Api; namespace App\Http\Controllers\Api;
use App\Contracts\Controller;
use App\Exceptions\AircraftNotAtAirport; use App\Exceptions\AircraftNotAtAirport;
use App\Exceptions\AircraftPermissionDenied; use App\Exceptions\AircraftPermissionDenied;
use App\Exceptions\PirepCancelled; use App\Exceptions\PirepCancelled;
@ -17,7 +18,6 @@ use App\Http\Resources\JournalTransaction as JournalTransactionResource;
use App\Http\Resources\Pirep as PirepResource; use App\Http\Resources\Pirep as PirepResource;
use App\Http\Resources\PirepComment as PirepCommentResource; use App\Http\Resources\PirepComment as PirepCommentResource;
use App\Http\Resources\PirepFieldCollection; use App\Http\Resources\PirepFieldCollection;
use App\Contracts\Controller;
use App\Models\Acars; use App\Models\Acars;
use App\Models\Enums\AcarsType; use App\Models\Enums\AcarsType;
use App\Models\Enums\PirepFieldSource; use App\Models\Enums\PirepFieldSource;

View File

@ -2,8 +2,8 @@
namespace App\Http\Controllers\Api; namespace App\Http\Controllers\Api;
use App\Http\Resources\Setting as SettingResource;
use App\Contracts\Controller; use App\Contracts\Controller;
use App\Http\Resources\Setting as SettingResource;
use App\Repositories\SettingRepository; use App\Repositories\SettingRepository;
use Illuminate\Http\Request; use Illuminate\Http\Request;

View File

@ -2,11 +2,11 @@
namespace App\Http\Controllers\Api; namespace App\Http\Controllers\Api;
use App\Contracts\Controller;
use App\Http\Resources\Bid as BidResource; use App\Http\Resources\Bid as BidResource;
use App\Http\Resources\Pirep as PirepResource; use App\Http\Resources\Pirep as PirepResource;
use App\Http\Resources\Subfleet as SubfleetResource; use App\Http\Resources\Subfleet as SubfleetResource;
use App\Http\Resources\User as UserResource; use App\Http\Resources\User as UserResource;
use App\Contracts\Controller;
use App\Models\Bid; use App\Models\Bid;
use App\Models\Enums\PirepState; use App\Models\Enums\PirepState;
use App\Repositories\Criteria\WhereCriteria; use App\Repositories\Criteria\WhereCriteria;

View File

@ -2,8 +2,8 @@
namespace App\Http\Controllers\Auth; namespace App\Http\Controllers\Auth;
use App\Facades\Utils;
use App\Contracts\Controller; use App\Contracts\Controller;
use App\Facades\Utils;
use App\Models\Enums\UserState; use App\Models\Enums\UserState;
use App\Models\User; use App\Models\User;
use App\Repositories\AirlineRepository; use App\Repositories\AirlineRepository;

View File

@ -2,10 +2,10 @@
namespace App\Http\Controllers\Frontend; namespace App\Http\Controllers\Frontend;
use App\Contracts\Controller;
use App\Facades\Utils; use App\Facades\Utils;
use App\Http\Requests\CreatePirepRequest; use App\Http\Requests\CreatePirepRequest;
use App\Http\Requests\UpdatePirepRequest; use App\Http\Requests\UpdatePirepRequest;
use App\Contracts\Controller;
use App\Models\Enums\PirepSource; use App\Models\Enums\PirepSource;
use App\Models\Enums\PirepState; use App\Models\Enums\PirepState;
use App\Models\Pirep; use App\Models\Pirep;

View File

@ -2,8 +2,8 @@
namespace App\Http\Controllers\Frontend; namespace App\Http\Controllers\Frontend;
use App\Facades\Utils;
use App\Contracts\Controller; use App\Contracts\Controller;
use App\Facades\Utils;
use App\Models\User; use App\Models\User;
use App\Repositories\AirlineRepository; use App\Repositories\AirlineRepository;
use App\Repositories\AirportRepository; use App\Repositories\AirportRepository;

View File

@ -2,8 +2,8 @@
namespace App\Listeners; namespace App\Listeners;
use App\Events\UserStatsChanged;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\UserStatsChanged;
use App\Models\Award; use App\Models\Award;
/** /**

View File

@ -2,8 +2,8 @@
namespace App\Listeners; namespace App\Listeners;
use App\Events\Expenses;
use App\Contracts\Listener; use App\Contracts\Listener;
use App\Events\Expenses;
/** /**
* Class ExpenseListener * Class ExpenseListener

View File

@ -2,9 +2,9 @@
namespace App\Listeners; namespace App\Listeners;
use App\Contracts\Listener;
use App\Events\PirepAccepted; use App\Events\PirepAccepted;
use App\Events\PirepRejected; use App\Events\PirepRejected;
use App\Contracts\Listener;
use App\Services\Finance\PirepFinanceService; use App\Services\Finance\PirepFinanceService;
use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Events\Dispatcher;

View File

@ -2,9 +2,9 @@
namespace App\Listeners; namespace App\Listeners;
use App\Contracts\Listener;
use App\Events\UserRegistered; use App\Events\UserRegistered;
use App\Events\UserStateChanged; use App\Events\UserStateChanged;
use App\Contracts\Listener;
use App\Models\Enums\UserState; use App\Models\Enums\UserState;
use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Mail;

View File

@ -2,8 +2,8 @@
namespace App\Repositories; namespace App\Repositories;
use App\Exceptions\SettingNotFound;
use App\Contracts\Repository; use App\Contracts\Repository;
use App\Exceptions\SettingNotFound;
use App\Models\Setting; use App\Models\Setting;
use Illuminate\Support\Carbon; use Illuminate\Support\Carbon;
use Log; use Log;

View File

@ -2,8 +2,8 @@
namespace App\Services\Finance; namespace App\Services\Finance;
use App\Events\Expenses as ExpensesEvent;
use App\Contracts\Service; use App\Contracts\Service;
use App\Events\Expenses as ExpensesEvent;
use App\Models\Enums\ExpenseType; use App\Models\Enums\ExpenseType;
use App\Models\Enums\PirepSource; use App\Models\Enums\PirepSource;
use App\Models\Expense; use App\Models\Expense;

View File

@ -2,8 +2,8 @@
namespace App\Services; namespace App\Services;
use App\Exceptions\BidExists;
use App\Contracts\Service; use App\Contracts\Service;
use App\Exceptions\BidExists;
use App\Models\Bid; use App\Models\Bid;
use App\Models\Flight; use App\Models\Flight;
use App\Models\FlightFieldValue; use App\Models\FlightFieldValue;

View File

@ -2,12 +2,12 @@
namespace App\Services; namespace App\Services;
use App\Contracts\Service;
use App\Events\PirepAccepted; use App\Events\PirepAccepted;
use App\Events\PirepFiled; use App\Events\PirepFiled;
use App\Events\PirepRejected; use App\Events\PirepRejected;
use App\Events\UserStateChanged; use App\Events\UserStateChanged;
use App\Events\UserStatsChanged; use App\Events\UserStatsChanged;
use App\Contracts\Service;
use App\Models\Acars; use App\Models\Acars;
use App\Models\Bid; use App\Models\Bid;
use App\Models\Enums\AcarsType; use App\Models\Enums\AcarsType;

View File

@ -2,10 +2,10 @@
namespace App\Services; namespace App\Services;
use App\Contracts\Service;
use App\Events\UserRegistered; use App\Events\UserRegistered;
use App\Events\UserStateChanged; use App\Events\UserStateChanged;
use App\Events\UserStatsChanged; use App\Events\UserStatsChanged;
use App\Contracts\Service;
use App\Models\Enums\PirepState; use App\Models\Enums\PirepState;
use App\Models\Enums\UserState; use App\Models\Enums\UserState;
use App\Models\Pirep; use App\Models\Pirep;