Passed
Push — chore/format-php ( 5ef121 )
by Grant
16:21
created
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 2 patches
Spacing   +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.
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.