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/Console/Kernel.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         // search $needle in process status
61 61
         $result = array_filter(
62 62
             $process_status,
63
-            function ($var) use ($needle) {
63
+            function ($var) use ($needle){
64 64
                 return strpos($var, $needle);
65 65
             }
66 66
         );
Please login to merge, or discard this patch.
app/Models/JobApplication.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
     public function meetsEssentialCriteria(): bool
215 215
     {
216 216
         $essentialCriteria = $this->job_poster->criteria->filter(
217
-            function ($value, $key) {
217
+            function ($value, $key){
218 218
                 return $value->criteria_type->name == 'essential';
219 219
             }
220 220
         );
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.
app/Services/Validation/ApplicationValidator.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     protected function addNestedValidatorRules($nestedAttribute, $validatorRules, $rules = [])
82 82
     {
83 83
         // prepend the attribute name of each validator rule with the nested attribute name
84
-        $newRules = $this->arrayMapKeys(function ($key) use ($nestedAttribute) {
84
+        $newRules = $this->arrayMapKeys(function ($key) use ($nestedAttribute){
85 85
                 return implode('.', [$nestedAttribute, $key]);
86 86
         },
87 87
             $validatorRules);
Please login to merge, or discard this patch.