Passed
Push — task/job-get-classification ( 2a5715...6d3445 )
by
unknown
07:06
created
app/Models/JobApplication.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -536,7 +536,7 @@
 block discarded – undo
536 536
      * Attach steps to new application (version 2).
537 537
      *
538 538
      * @return void
539
-    */
539
+     */
540 540
     public function attachSteps(): void
541 541
     {
542 542
         if ($this->touched_application_steps->isEmpty()) {
Please login to merge, or discard this patch.
app/Http/Controllers/ApplicationTimelineController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      *
16 16
      * @param  \App\Models\JobApplication $application Incoming Application object.
17 17
      * @return \Illuminate\Http\Response
18
-    */
18
+     */
19 19
     public function show(JobApplication $jobApplication, string $requestedStep = null)
20 20
     {
21 21
         $jobApplicationSteps = $jobApplication->jobApplicationSteps();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
                 'application' => $jobApplication,
93 93
                 'application_template' => Lang::get(
94 94
                     'applicant/application_template',
95
-                    ['security_clearance' => $jobPoster->security_clearance->value ]
95
+                    ['security_clearance' => $jobPoster->security_clearance->value]
96 96
                 ),
97 97
                 'jobPoster' => $jobPoster,
98 98
             ]
Please login to merge, or discard this patch.
app/Models/TouchedApplicationStep.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@
 block discarded – undo
19 19
 class TouchedApplicationStep extends BaseModel
20 20
 {
21 21
     protected $casts = [
22
-      'job_application_id' => 'int',
23
-      'step_id' => 'int',
24
-      'touched' => 'boolean',
22
+        'job_application_id' => 'int',
23
+        'step_id' => 'int',
24
+        'touched' => 'boolean',
25 25
     ];
26 26
 
27 27
     protected $fillable = [
28
-      'touched'
28
+        'touched'
29 29
     ];
30 30
 
31 31
     public function job_application() //phpcs:ignore
Please login to merge, or discard this patch.
app/Http/Controllers/JobController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -521,14 +521,14 @@  discard block
 block discarded – undo
521 521
         if (!empty($skillsArray)) {
522 522
             $lastSkill = end($skillsArray);
523 523
             foreach ($skillsArray as $skillItem) {
524
-                $skillsString .= $skillItem['skill'].' - '.$skillItem['level'].($skillItem == $lastSkill ? '.' : ', ');
524
+                $skillsString .= $skillItem['skill'] . ' - ' . $skillItem['level'] . ($skillItem == $lastSkill ? '.' : ', ');
525 525
             }
526 526
         }
527 527
 
528 528
         $benefitsString = '';
529 529
         if (is_array($jobLang['structured_data']['benefits'])) {
530 530
             foreach ($jobLang['structured_data']['benefits'] as $benefit) {
531
-                $benefitsString .= $benefit.' ';
531
+                $benefitsString .= $benefit . ' ';
532 532
             }
533 533
         }
534 534
 
@@ -536,12 +536,12 @@  discard block
 block discarded – undo
536 536
         if (is_array($jobPoster['job_poster_key_tasks'])) {
537 537
             $lastTask = end($jobPoster['job_poster_key_tasks']);
538 538
             foreach ($jobPoster['job_poster_key_tasks'] as $task) {
539
-                $tasksString .= $task['description'].' '.($task == $lastTask ? '' : ' | ');
539
+                $tasksString .= $task['description'] . ' ' . ($task == $lastTask ? '' : ' | ');
540 540
             }
541 541
         }
542 542
 
543
-        $securityClearanceString = $jobLang['structured_data']['security_clearance_requirement_level'].': '
544
-        .$jobPoster['security_clearance']['value'].'. '
543
+        $securityClearanceString = $jobLang['structured_data']['security_clearance_requirement_level'] . ': '
544
+        .$jobPoster['security_clearance']['value'] . '. '
545 545
         .$jobLang['structured_data']['security_clearance_requirement_description'];
546 546
 
547 547
         $structuredData = [
Please login to merge, or discard this patch.