Skip to content
This repository was archived by the owner on Jul 31, 2019. It is now read-only.

Commit cb13e2d

Browse files
Adding development providers
1 parent fe4d4da commit cb13e2d

34 files changed

+1413
-47
lines changed

app/Console/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App\Console;
3+
namespace TimeClock\Console;
44

55
use Illuminate\Console\Scheduling\Schedule;
66
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

app/Exceptions/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App\Exceptions;
3+
namespace TimeClock\Exceptions;
44

55
use Exception;
66
use Illuminate\Auth\AuthenticationException;

app/Http/Controllers/Auth/ForgotPasswordController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace App\Http\Controllers\Auth;
3+
namespace TimeClock\Http\Controllers\Auth;
44

5-
use App\Http\Controllers\Controller;
65
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
6+
use TimeClock\Http\Controllers\Controller;
77

88
class ForgotPasswordController extends Controller
99
{

app/Http/Controllers/Auth/LoginController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace App\Http\Controllers\Auth;
3+
namespace TimeClock\Http\Controllers\Auth;
44

5-
use App\Http\Controllers\Controller;
65
use Illuminate\Foundation\Auth\AuthenticatesUsers;
6+
use TimeClock\Http\Controllers\Controller;
77

88
class LoginController extends Controller
99
{

app/Http/Controllers/Auth/RegisterController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace App\Http\Controllers\Auth;
3+
namespace TimeClock\Http\Controllers\Auth;
44

5-
use App\Http\Controllers\Controller;
6-
use App\User;
75
use Illuminate\Foundation\Auth\RegistersUsers;
86
use Illuminate\Support\Facades\Validator;
7+
use TimeClock\Http\Controllers\Controller;
8+
use TimeClock\User;
99

1010
class RegisterController extends Controller
1111
{

app/Http/Controllers/Auth/ResetPasswordController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace App\Http\Controllers\Auth;
3+
namespace TimeClock\Http\Controllers\Auth;
44

5-
use App\Http\Controllers\Controller;
65
use Illuminate\Foundation\Auth\ResetsPasswords;
6+
use TimeClock\Http\Controllers\Controller;
77

88
class ResetPasswordController extends Controller
99
{

app/Http/Controllers/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App\Http\Controllers;
3+
namespace TimeClock\Http\Controllers;
44

55
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
66
use Illuminate\Foundation\Bus\DispatchesJobs;

app/Http/Kernel.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App\Http;
3+
namespace TimeClock\Http;
44

55
use Illuminate\Foundation\Http\Kernel as HttpKernel;
66

@@ -24,11 +24,11 @@ class Kernel extends HttpKernel
2424
*/
2525
protected $middlewareGroups = [
2626
'web' => [
27-
\App\Http\Middleware\EncryptCookies::class,
27+
\TimeClock\Http\Middleware\EncryptCookies::class,
2828
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
2929
\Illuminate\Session\Middleware\StartSession::class,
3030
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
31-
\App\Http\Middleware\VerifyCsrfToken::class,
31+
\TimeClock\Http\Middleware\VerifyCsrfToken::class,
3232
\Illuminate\Routing\Middleware\SubstituteBindings::class,
3333
],
3434

@@ -50,7 +50,7 @@ class Kernel extends HttpKernel
5050
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
5151
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
5252
'can' => \Illuminate\Auth\Middleware\Authorize::class,
53-
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
53+
'guest' => \TimeClock\Http\Middleware\RedirectIfAuthenticated::class,
5454
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
5555
];
5656
}

app/Http/Middleware/EncryptCookies.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App\Http\Middleware;
3+
namespace TimeClock\Http\Middleware;
44

55
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
66

app/Http/Middleware/RedirectIfAuthenticated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App\Http\Middleware;
3+
namespace TimeClock\Http\Middleware;
44

55
use Closure;
66
use Illuminate\Support\Facades\Auth;

0 commit comments

Comments
 (0)