Passed
Push — feature/timeline-profile ( c196be...6a324d )
by Tristan
08:11
created
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/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/JobController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -190,14 +190,14 @@  discard block
 block discarded – undo
190 190
         if (!empty($skillsArray)) {
191 191
             $lastSkill = end($skillsArray);
192 192
             foreach ($skillsArray as $skillItem) {
193
-                $skillsString .= $skillItem['skill'].' - '.$skillItem['level'].($skillItem == $lastSkill ? '.' : ', ');
193
+                $skillsString .= $skillItem['skill'] . ' - ' . $skillItem['level'] . ($skillItem == $lastSkill ? '.' : ', ');
194 194
             }
195 195
         }
196 196
 
197 197
         $benefitsString = '';
198 198
         if (is_array($jobLang['structured_data']['benefits'])) {
199 199
             foreach ($jobLang['structured_data']['benefits'] as $benefit) {
200
-                $benefitsString .= $benefit.' ';
200
+                $benefitsString .= $benefit . ' ';
201 201
             }
202 202
         }
203 203
 
@@ -205,12 +205,12 @@  discard block
 block discarded – undo
205 205
         if (is_array($jobPoster['job_poster_key_tasks'])) {
206 206
             $lastTask = end($jobPoster['job_poster_key_tasks']);
207 207
             foreach ($jobPoster['job_poster_key_tasks'] as $task) {
208
-                $tasksString .= $task['description'].' '.($skillItem == $lastSkill ? '' : ' | ');
208
+                $tasksString .= $task['description'] . ' ' . ($skillItem == $lastSkill ? '' : ' | ');
209 209
             }
210 210
         }
211 211
 
212
-        $securityClearanceString = $jobLang['structured_data']['security_clearance_requirement_level'].': '
213
-        .$jobPoster['security_clearance']['value'].'. '
212
+        $securityClearanceString = $jobLang['structured_data']['security_clearance_requirement_level'] . ': '
213
+        .$jobPoster['security_clearance']['value'] . '. '
214 214
         .$jobLang['structured_data']['security_clearance_requirement_description'];
215 215
 
216 216
         $structuredData = [
Please login to merge, or discard this patch.
app/Http/Controllers/ApplicationTimelineController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
                 'application' => $application,
40 40
                 'application_template' => Lang::get(
41 41
                     'applicant/application_template',
42
-                    ['security_clearance' => $jobPoster->security_clearance->value ]
42
+                    ['security_clearance' => $jobPoster->security_clearance->value]
43 43
                 ),
44 44
                 'jobPoster' => $jobPoster,
45 45
             ]
Please login to merge, or discard this patch.
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.
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.