Passed
Push — task/upgrade-to-laravel-8 ( 37b691...bcb735 )
by Grant
03:48
created
app/Http/Controllers/ResourcesController.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
             $files = Resource::all();
30 30
             foreach ($files as $file) {
31 31
                 array_push($resources, [
32
-                  'link' => asset(Storage::url($file->file)),
33
-                  'title' => '',
34
-                  'text' => $file->name,
32
+                    'link' => asset(Storage::url($file->file)),
33
+                    'title' => '',
34
+                    'text' => $file->name,
35 35
                 ]);
36 36
             }
37 37
 
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
         $portal = WhichPortal::isHrPortal() ? 'hr' : 'manager';
45 45
 
46 46
         return view('common/resources', [
47
-          // Localized strings.
48
-          'resources_template' => $resources_template,
49
-          'portal' => $portal,
50
-          // List of resource downloads.
51
-          'resources' => $resources,
47
+            // Localized strings.
48
+            'resources_template' => $resources_template,
49
+            'portal' => $portal,
50
+            // List of resource downloads.
51
+            'resources' => $resources,
52 52
         ]);
53 53
     }
54 54
 }
Please login to merge, or discard this patch.
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.