Passed
Push — task/upgrade-to-laravel-8 ( 06df3c...4c1b1e )
by Chris
03:46
created
app/Mail/ScreenCandidatesPrompt.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,9 +75,9 @@
 block discarded – undo
75 75
 
76 76
         $position = $this->job->getTranslations('title');
77 77
         $classification = $this->job->getClassificationMessageAttribute();
78
-        $subject = Lang::get('common/notifications/screen_candidates.subject', [ 'position' => $position['en'], 'classification' => $classification ], 'en')
78
+        $subject = Lang::get('common/notifications/screen_candidates.subject', ['position' => $position['en'], 'classification' => $classification], 'en')
79 79
             . ' / '
80
-            . Lang::get('common/notifications/screen_candidates.subject', [ 'position' => $position['fr'], 'classification' => $classification ], 'fr');
80
+            . Lang::get('common/notifications/screen_candidates.subject', ['position' => $position['fr'], 'classification' => $classification], 'fr');
81 81
 
82 82
         return $this->subject($subject)
83 83
                     ->cc($hr_advisors_emails)
Please login to merge, or discard this patch.
app/Http/Controllers/Api/JobApplicationAnswerController.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
     {
30 30
         // Validate job application answer.
31 31
         $validatedData = $request->validate([
32
-          'answer' => 'required|nullable|string',
32
+            'answer' => 'required|nullable|string',
33 33
         ]);
34 34
 
35 35
         // Update existing object with data and save to db.
Please login to merge, or discard this patch.
app/Http/Controllers/ApplicationTimelineController.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
      *
14 14
      * @param  \App\Models\JobApplication $application Incoming Application object.
15 15
      * @return \Illuminate\Http\Response
16
-    */
16
+     */
17 17
     public function show(JobApplication $jobApplication)
18 18
     {
19 19
         return view('applicant/application-timeline-root')
Please login to merge, or discard this patch.
app/Services/Validation/ApplicationTimelineValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@
 block discarded – undo
249 249
         $rules = $this->addNestedValidatorRules(
250 250
             'job_application_answers.*',
251 251
             $answerValidator->rules(),
252
-            [ 'job_application_answers.*.answer' => ['required', 'string', new WordLimitRule(250)]]
252
+            ['job_application_answers.*.answer' => ['required', 'string', new WordLimitRule(250)]]
253 253
         );
254 254
 
255 255
         // Validate that each question has been answered.
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/JobPosterCrudController.php 1 patch
Spacing   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@  discard block
 block discarded – undo
81 81
             'orderable' => false,
82 82
             'function' => function ($entry) {
83 83
                 return $entry->isOpen() ?
84
-                    '<span><i class="la la-check-circle"></i></span>' :
85
-                    '<span><i class="la la-circle"></i></span>';
84
+                    '<span><i class="la la-check-circle"></i></span>' : '<span><i class="la la-circle"></i></span>';
86 85
             }
87 86
         ]);
88 87
         $this->crud->addColumn([
@@ -92,8 +91,7 @@  discard block
 block discarded – undo
92 91
             'orderable' => false,
93 92
             'function' => function ($entry) {
94 93
                 return $entry->isClosed() ?
95
-                    '<span><i class="la la-check-circle"></i></span>' :
96
-                    '<span><i class="la la-circle"></i></span>';
94
+                    '<span><i class="la la-check-circle"></i></span>' : '<span><i class="la la-circle"></i></span>';
97 95
             }
98 96
         ]);
99 97
 
@@ -124,8 +122,7 @@  discard block
 block discarded – undo
124 122
             'function' =>
125 123
             function ($entry) {
126 124
                 return $entry->submitted_applications_count() > 0 ?
127
-                    '<a target="_blank" href="' . route('manager.jobs.applications', $entry->id) . '">' . $entry->submitted_applications_count() . ' (View <i class="la la-external-link"></i>)</a>' :
128
-                    $entry->submitted_applications_count();
125
+                    '<a target="_blank" href="' . route('manager.jobs.applications', $entry->id) . '">' . $entry->submitted_applications_count() . ' (View <i class="la la-external-link"></i>)</a>' : $entry->submitted_applications_count();
129 126
             }
130 127
         ]);
131 128
 
Please login to merge, or discard this patch.