Passed
Push — chore/format-php ( 5ef121 )
by Grant
16:21
created
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
     protected function mapWebRoutes()
56 56
     {
57 57
         Route::middleware('web')
58
-             ->namespace($this->namespace)
59
-             ->group(base_path('routes/web.php'));
58
+                ->namespace($this->namespace)
59
+                ->group(base_path('routes/web.php'));
60 60
     }
61 61
 
62 62
     /**
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
     protected function mapApiRoutes()
70 70
     {
71 71
         Route::prefix('api')
72
-             ->middleware('api')
73
-             ->namespace($this->namespace)
74
-             ->group(base_path('routes/api.php'));
72
+                ->middleware('api')
73
+                ->namespace($this->namespace)
74
+                ->group(base_path('routes/api.php'));
75 75
     }
76 76
 }
Please login to merge, or discard this patch.
app/Http/Middleware/Authenticate.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
6 6
 class Authenticate extends Middleware
7 7
 {
8 8
     /**
9
-    * Get the path the user should be redirected to when they are not authenticated.
10
-    *
11
-    * @param  \Illuminate\Http\Request  $request
12
-    * @return string
13
-    */
9
+     * Get the path the user should be redirected to when they are not authenticated.
10
+     *
11
+     * @param  \Illuminate\Http\Request  $request
12
+     * @return string
13
+     */
14 14
     protected function redirectTo($request)
15 15
     {
16 16
         if (WhichPortal::isManagerPortal()) {
Please login to merge, or discard this patch.
app/Http/Middleware/VerifyCsrfToken.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,6 +50,6 @@
 block discarded – undo
50 50
                 )
51 51
             );
52 52
         }
53
-         return $response;
53
+            return $response;
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
app/Services/Validation/Rules/CourseValidator.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
         // Validate basic data is filled in
29 29
         Validator::make($courseValidator->getAttributes(), [
30 30
             'applicant_id' => [
31
-             'required',
31
+                'required',
32 32
                 Rule::in($applicant_ids->toArray()),
33 33
             ],
34
-             'course_status_id' => [
35
-             'required',
34
+                'course_status_id' => [
35
+                'required',
36 36
                 Rule::in($this->course_status_ids->toArray()),
37 37
             ]
38 38
          
Please login to merge, or discard this patch.
app/Services/Validation/Rules/DegreeValidator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
         Validator::make($degreeValidator->getAttributes(), [
29 29
             'applicant_id' => [
30 30
             'required',
31
-               Rule::in($applicant_ids->toArray()),
31
+                Rule::in($applicant_ids->toArray()),
32 32
             ],
33 33
             'degree_type_id' => [
34 34
             'required',
35
-               Rule::in($this->degree_type_id->toArray()),
35
+                Rule::in($this->degree_type_id->toArray()),
36 36
             ]
37 37
 
38 38
         ])->validate();
Please login to merge, or discard this patch.
app/Services/Validation/Rules/WorkSamplesValidator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@
 block discarded – undo
26 26
         Validator::make($workSamplesValidator->getAttributes(), [
27 27
             'applicant_id' => [
28 28
             'required',
29
-               Rule::in($applicant_ids->toArray()),
29
+                Rule::in($applicant_ids->toArray()),
30 30
             ],
31 31
             'file_type_id' => [
32 32
             'required',
33
-               Rule::in($this->file_type_id->toArray()),
33
+                Rule::in($this->file_type_id->toArray()),
34 34
             ]
35 35
        
36 36
         ])->validate();
Please login to merge, or discard this patch.