Skip to content

Commit

Permalink
Shift cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift committed Apr 23, 2024
1 parent 221e8d0 commit 050b256
Show file tree
Hide file tree
Showing 90 changed files with 114 additions and 117 deletions.
2 changes: 1 addition & 1 deletion app/Achievements/Achievement.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Achievements;

use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use App\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;

class Achievement extends Model
{
Expand Down
2 changes: 1 addition & 1 deletion app/City.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App;

use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;

class City extends Model
{
Expand Down
2 changes: 1 addition & 1 deletion app/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App;

use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;
Expand Down
8 changes: 4 additions & 4 deletions app/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

namespace App;

use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\HasOne;
use App\Filters\EventFilters;
use App\Helpers\EventHelper;
use App\Helpers\ImporterHelper;
use App\Policies\EventPolicy;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\HasOne;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Mail;
Expand Down
2 changes: 1 addition & 1 deletion app/Excellence.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App;

use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

/**
* App\Excellence
Expand Down
2 changes: 1 addition & 1 deletion app/Experience.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App;

use Illuminate\Database\Eloquent\Relations\BelongsTo;
use App\Achievements\Events\UserEarnedExperience;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class Experience extends Model
{
Expand Down
2 changes: 1 addition & 1 deletion app/Exports/VotesExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Exports;

use Illuminate\Support\Collection;
use App\Vote;
use Illuminate\Support\Collection;
use Maatwebsite\Excel\Concerns\FromCollection;

class VotesExport implements FromCollection
Expand Down
2 changes: 1 addition & 1 deletion app/Filters/EventFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Filters;

use Illuminate\Database\Eloquent\Builder;
use App\Tag;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Http\Request;
use Illuminate\Support\Str;

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Certificate;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Illuminate\View\View;
use Spatie\Activitylog\Models\Activity;

class AdminController extends Controller
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/AmbassadorController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Country;
use App\Filters\UserFilters;
use App\Helpers\AmbassadorHelper;
use App\User;
use Illuminate\View\View;

class AmbassadorController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/EventPictureController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Http\Controllers\Api;

use Illuminate\Http\Response;
use App\Http\Controllers\Controller;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Facades\Image;

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/UserAvatarController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

//define("DEFAULT_AVATAR_PATH","avatars/default.png");

use Illuminate\Http\Response;
use App\Http\Controllers\Controller;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Facades\Image;

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Http\Controllers\Auth;

use Illuminate\Http\RedirectResponse;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Log;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/BadgesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\User;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use Illuminate\View\View;

class BadgesController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/CertificateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Queries\ExcellenceQuery;
use App\Queries\ReportableEventsQuery;
use App\Queries\SuperOrganiserQuery;
use Illuminate\Support\Facades\Auth;
use Illuminate\View\View;

class CertificateController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ChallengesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use Illuminate\Http\Request;
use Illuminate\View\View;

class ChallengesController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Codeweek4AllController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Helpers\Codeweek4AllHelper;
use Carbon\Carbon;
use Illuminate\View\View;

class Codeweek4AllController extends Controller
{
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/EventController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use Illuminate\Http\RedirectResponse;
use App\Country;
use App\Event;
use App\Helpers\EventHelper;
Expand All @@ -13,11 +11,13 @@
use App\User;
use Carbon\Carbon;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Lang;
use Illuminate\Support\Facades\Mail;
use Illuminate\View\View;

class EventController extends Controller
{
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/ExcellenceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use Illuminate\Http\RedirectResponse;
use App\CertificateExcellence;
use App\Excellence;
use App\Queries\ExcellenceQuery;
use Gate;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\View\View;

class ExcellenceController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ExcellenceWinnersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Excellence;
use App\Exports\ExcellenceExport;
use App\Helpers\ExcellenceWinnersHelper;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
use Illuminate\View\View;

class ExcellenceWinnersController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/HackathonsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use Illuminate\View\View;

class HackathonsController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use Illuminate\Http\Request;
use Illuminate\View\View;

class HomeController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/LeadingTeachersSignup.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Audience;
use App\City;
use App\Country;
use Illuminate\Http\Request;
use Illuminate\View\View;

class LeadingTeachersSignup extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/LocationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Http\Requests\StoreLocationRequest;
use App\Http\Requests\UpdateLocationRequest;
use App\Location;
use Illuminate\View\View;

class LocationController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/MapController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\User;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\View\View;

class MapController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/OnlineEventsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Country;
use App\Helpers\EventHelper;
use App\Queries\CountriesQuery;
use App\Queries\OnlineEventsQuery;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\View\View;

class OnlineEventsController extends Controller
{
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/ParticipationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use Illuminate\Http\RedirectResponse;
use App\CertificateParticipation;
use App\Jobs\GenerateCertificatesOfParticipation;
use App\Participation;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\View\View;

class ParticipationController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/PodcastsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Podcast;
use Illuminate\Http\Request;
use Illuminate\View\View;

class PodcastsController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ReportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Certificate;
use App\Event;
use App\Queries\ReportableEventsQuery;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\View\View;

class ReportController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ResourcesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use Illuminate\Http\Request;
use Illuminate\View\View;

class ResourcesController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ResourcesPageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use Illuminate\Http\Request;
use Illuminate\View\View;

class ResourcesPageController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ReviewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace App\Http\Controllers;

use Illuminate\View\View;
use App\Country;
use App\Queries\CountriesQuery;
use Illuminate\Http\Request;
use Illuminate\View\View;

class ReviewController extends Controller
{
Expand Down
Loading

0 comments on commit 050b256

Please sign in to comment.