Passed
Push — task/manager-survey ( 142ec9...5c5ca6 )
by Grant
09:55 queued 01:17
created
app/Http/ViewComposers/ApplicationTrackerComposer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         if (isset($view->getData()['job_application'])) {
31 31
             $job_application = $view->getData()['job_application'];
32 32
             if ($job_application != null && $job_application instanceof JobApplication) {
33
-                foreach($app_tracker['items'] as $key => $value) {
33
+                foreach ($app_tracker['items'] as $key => $value) {
34 34
                     $app_tracker['items'][$key]['status'] = $job_application->getSectionStatus($key);
35 35
                 }
36 36
             }
Please login to merge, or discard this patch.
app/Http/ViewComposers/ApplicantProfileMenuComposer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $profileMenu['portfolio']['link'] = route('profile.work_samples.edit', $view->getData()['applicant']);
27 27
 
28 28
         //Set active on the proper item
29
-        switch(Route::currentRouteName()) {
29
+        switch (Route::currentRouteName()) {
30 30
             case('profile.about'):
31 31
             case('profile.about.edit'):
32 32
             case('profile.about.update'):
Please login to merge, or discard this patch.
app/Http/Middleware/InitializeUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             // If no profile exists yet create one.
36 36
             // Admins should be given an applicant and manager profile
37 37
             if ($user->isApplicant() ||
38
-                    $user->isAdmin() ) {
38
+                    $user->isAdmin()) {
39 39
                 $applicantProfile = $user->applicant;
40 40
                 if ($applicantProfile === null) {
41 41
                     $applicantProfile = new Applicant();
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/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.