Completed
Pull Request — master (#2)
by Mikołaj
15:25 queued 05:27
created
src/Controllers/Auth/AuthController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Controllers\Auth;
4 4
 
5
-use App\Models\User;
6 5
 use App\Controllers\Controller;
6
+use App\Models\User;
7 7
 
8 8
 class AuthController extends Controller
9 9
 {
Please login to merge, or discard this patch.
src/Validation/Rules/EmailAvailable.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Validation\Rules;
4 4
 
5
-use App\Models\User;
6 5
 use Albert221\Validation\Rule\RuleInterface;
7 6
 use Albert221\Validation\Rule\RuleTrait as RuleTrait;
7
+use App\Models\User;
8 8
 
9 9
 class EmailAvailable implements RuleInterface
10 10
 {
Please login to merge, or discard this patch.
src/Validation/Rules/EmailOccupied.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Validation\Rules;
4 4
 
5
-use App\Models\User;
6 5
 use Albert221\Validation\Rule\RuleInterface;
7 6
 use Albert221\Validation\Rule\RuleTrait as RuleTrait;
7
+use App\Models\User;
8 8
 
9 9
 class EmailOccupied implements RuleInterface
10 10
 {
Please login to merge, or discard this patch.
src/Validation/Rules/PasswordNotOld.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Validation\Rules;
4 4
 
5
-use App\Models\User;
6 5
 use Albert221\Validation\Rule\RuleInterface;
7 6
 use Albert221\Validation\Rule\RuleTrait as RuleTrait;
7
+use App\Models\User;
8 8
 
9 9
 class PasswordNotOld implements RuleInterface
10 10
 {
Please login to merge, or discard this patch.
src/Validation/Rules/PasswordOld.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Validation\Rules;
4 4
 
5
-use App\Models\User;
6 5
 use Albert221\Validation\Rule\RuleInterface;
7 6
 use Albert221\Validation\Rule\RuleTrait as RuleTrait;
7
+use App\Models\User;
8 8
 
9 9
 class PasswordOld implements RuleInterface
10 10
 {
Please login to merge, or discard this patch.
src/Validation/Rules/PasswordValid.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Validation\Rules;
4 4
 
5
-use App\Models\User;
6 5
 use Albert221\Validation\Rule\RuleInterface;
7 6
 use Albert221\Validation\Rule\RuleTrait as RuleTrait;
7
+use App\Models\User;
8 8
 
9 9
 class PasswordValid implements RuleInterface
10 10
 {
Please login to merge, or discard this patch.
src/routes.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use App\Middleware\AuthMiddleware\UserMiddleware;
4 3
 use App\Middleware\AuthMiddleware\GuestMiddleware;
4
+use App\Middleware\AuthMiddleware\UserMiddleware;
5 5
 
6 6
 // All access routes
7 7
 $app->get('/', 'IndexController:index')->setName('home');
Please login to merge, or discard this patch.