Passed
Push — feature/add-2fa-support ( 330d32...373a46 )
by Tristan
08:00
created
app/Listeners/JobPublished.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         // If job is being modified, only want to log when it goes from unpublished to published
33 33
         if (($job->wasRecentlyCreated && $job->published) ||
34 34
                 (!$job->wasRecentlyCreated && $job->published && !$job->getOriginal('published'))) {
35
-            Log::notice('Job published: job {id='.$job->id.'} published by manager {id='.$job->manager->id.', email='.$job->manager->user->email.'}');
35
+            Log::notice('Job published: job {id=' . $job->id . '} published by manager {id=' . $job->manager->id . ', email=' . $job->manager->user->email . '}');
36 36
         }
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
app/Providers/ViewComposerServiceProvider.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         View::composer(
66 66
             ['common/relatives','common/reference','common/relatives-projects',
67
-             'common/sample', 'common/skill', 'common/modals/create_reference'],
67
+                'common/sample', 'common/skill', 'common/modals/create_reference'],
68 68
             'App\Http\ViewComposers\RelativeComposer'
69 69
         );
70 70
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         );
64 64
 
65 65
         View::composer(
66
-            ['common/relatives','common/reference','common/relatives-projects',
66
+            ['common/relatives', 'common/reference', 'common/relatives-projects',
67 67
              'common/sample', 'common/skill', 'common/modals/create_reference'],
68 68
             'App\Http\ViewComposers\RelativeComposer'
69 69
         );
Please login to merge, or discard this patch.
app/Http/Controllers/Api/JobApiController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * Convert a job poster to the array expected by API requests,
30 30
      * with all criteria,
31 31
      * and with translation arrays in both languages.
32
-    *
32
+     *
33 33
      * @param  \App\Models\JobPoster $job Incoming Job Poster object.
34 34
      * @return mixed[]
35 35
      */
Please login to merge, or discard this patch.
app/Http/Controllers/ExperienceController.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,12 +26,12 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-    * Show the form for editing the applicant's experience
30
-    *
31
-    * @param  \Illuminate\Http\Request $request   Incoming request object.
32
-    * @param  \App\Models\Applicant    $applicant Incoming applicant object.
33
-    * @return \Illuminate\Http\Response
34
-    */
29
+     * Show the form for editing the applicant's experience
30
+     *
31
+     * @param  \Illuminate\Http\Request $request   Incoming request object.
32
+     * @param  \App\Models\Applicant    $applicant Incoming applicant object.
33
+     * @return \Illuminate\Http\Response
34
+     */
35 35
     public function edit(Request $request, Applicant $applicant)
36 36
     {
37 37
         return view('applicant/profile_02_experience', [
Please login to merge, or discard this patch.
app/Http/Controllers/ManagerProfileController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
         // redirect to error messages element if validation fails
139 139
         if (isset($request->validator) && $request->validator->fails()) {
140 140
             $hash = '#managerProfileFormErrors';
141
-            return redirect(route('manager.profile.edit', $manager).$hash)
141
+            return redirect(route('manager.profile.edit', $manager) . $hash)
142 142
                         ->withErrors($request->validator)
143 143
                         ->withInput();
144 144
         }
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
                 break;
172 172
         }
173 173
 
174
-        return redirect(route('manager.profile.edit', $manager).$hash);
174
+        return redirect(route('manager.profile.edit', $manager) . $hash);
175 175
     }
176 176
 
177 177
     public function faq(Request $request)
Please login to merge, or discard this patch.
app/Http/Controllers/ApplicantProfileController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                 'description' => $question->description,
92 92
                 'answer' => $answer,
93 93
                 'answer_label' => $profileText['about_section']['answer_label'],
94
-                'input_name' => $this->answerFormInputName.'['.$question->id.']'
94
+                'input_name' => $this->answerFormInputName . '[' . $question->id . ']'
95 95
             ];
96 96
             array_push($profileQuestionForms, $formValues);
97 97
         }
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
                 )->first();
143 143
                 if ($answer == null) {
144 144
                     $answer = new ApplicantProfileAnswer();
145
-                    $answer->applicant_id =$applicant->id;
145
+                    $answer->applicant_id = $applicant->id;
146 146
                     $answer->applicant_profile_question_id = $question->id;
147 147
                 }
148 148
                 $answer->answer = $request->input($answerName);
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/JobPosterCrudController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,8 +177,8 @@
 block discarded – undo
177 177
             'type' => 'date_picker',
178 178
             'label' => 'Letter of Offer Issuance Date',
179 179
             'date_picker_options' => [
180
-               'todayBtn' => 'linked',
181
-               'format' => 'yyyy-mm-dd',
180
+                'todayBtn' => 'linked',
181
+                'format' => 'yyyy-mm-dd',
182 182
             ],
183 183
         ]);
184 184
         if ($this->crud->getCurrentEntry() &&
Please login to merge, or discard this patch.
app/Http/Controllers/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
     {
108 108
         $rotatedArray = [];
109 109
         foreach ($expandedArray as $item) {
110
-            for ($i=0; $i<$steps; $i++) {
110
+            for ($i = 0; $i < $steps; $i++) {
111 111
                 array_push($item['keys'], array_shift($item['keys']));
112 112
             }
113 113
             $rotatedArray[] = $item;
Please login to merge, or discard this patch.
app/Utilities/HandleNullState.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function getFunctions(): array
14 14
     {
15 15
         return [
16
-          new Twig_SimpleFunction('handleNullState', [$this, 'handleNullState']),
16
+            new Twig_SimpleFunction('handleNullState', [$this, 'handleNullState']),
17 17
         ];
18 18
     }
19 19
 
Please login to merge, or discard this patch.