Passed
Push — feature/immutable-application-... ( 724692...212613 )
by Chris
34:25 queued 17:29
created
app/Http/ViewComposers/SkillComposer.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -26,19 +26,19 @@
 block discarded – undo
26 26
      *
27 27
      * @return void
28 28
      */
29
-    public function compose(View $view) : void
29
+    public function compose (View $view) : void
30 30
     {
31 31
         if (!$this->skillLevels) {
32
-            $this->skillLevels = SkillLevel::all();
32
+            $this->skillLevels = SkillLevel::all ();
33 33
         }
34 34
 
35 35
         if (!$this->skills) {
36
-            $this->skills = Skill::all();
36
+            $this->skills = Skill::all ();
37 37
         }
38 38
 
39
-        $view->with('skills', $this->skills);
40
-        $view->with('skill_levels', $this->skillLevels);
41
-        $view->with('skill_template', Lang::get('common/skills'));
42
-        $view->with('skills_modal', Lang::get('common/skills_modals'));
39
+        $view->with ('skills', $this->skills);
40
+        $view->with ('skill_levels', $this->skillLevels);
41
+        $view->with ('skill_template', Lang::get ('common/skills'));
42
+        $view->with ('skills_modal', Lang::get ('common/skills_modals'));
43 43
     }
44 44
 }
Please login to merge, or discard this patch.
app/Http/ViewComposers/LangMenuComposer.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@  discard block
 block discarded – undo
14 14
      * @param  View  $view
15 15
      * @return void
16 16
      */
17
-    public function compose(View $view)
17
+    public function compose (View $view)
18 18
     {
19
-        $locale = LaravelLocalization::getCurrentLocale();
19
+        $locale = LaravelLocalization::getCurrentLocale ();
20 20
 
21
-        switch($locale) {
21
+        switch ($locale) {
22 22
             case 'en':
23 23
                 $linkLocale = 'fr';
24 24
                 break;
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
                 break;
31 31
         }
32 32
 
33
-        $view->with('lang_menu', Lang::get('common/lang_menu'));
34
-        $view->with('language_link', LaravelLocalization::getLocalizedURL($linkLocale));
33
+        $view->with ('lang_menu', Lang::get ('common/lang_menu'));
34
+        $view->with ('language_link', LaravelLocalization::getLocalizedURL ($linkLocale));
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
app/Http/ViewComposers/WorkSampleComposer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,13 +20,13 @@
 block discarded – undo
20 20
      *
21 21
      * @return void
22 22
      */
23
-    public function compose(View $view) : void
23
+    public function compose (View $view) : void
24 24
     {
25 25
         if (!$this->fileTypes) {
26
-            $this->fileTypes = FileType::all();
26
+            $this->fileTypes = FileType::all ();
27 27
         }
28 28
 
29
-        $view->with('file_types', $this->fileTypes);
30
-        $view->with('sample_template', Lang::get('common/work_samples'));
29
+        $view->with ('file_types', $this->fileTypes);
30
+        $view->with ('sample_template', Lang::get ('common/work_samples'));
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
app/Http/ViewComposers/WorkExperienceComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
      * @param  View  $view
14 14
      * @return void
15 15
      */
16
-    public function compose(View $view)
16
+    public function compose (View $view)
17 17
     {
18
-        $view->with('work_template', Lang::get('common/work_experience'));
18
+        $view->with ('work_template', Lang::get ('common/work_experience'));
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
app/Http/ViewComposers/DemoNotificationComposer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@
 block discarded – undo
14 14
      * @param  View  $view
15 15
      * @return void
16 16
      */
17
-    public function compose(View $view)
17
+    public function compose (View $view)
18 18
     {
19
-        $show_demo_notification = Auth::user() !== null && Auth::user()->isDemoManager();
20
-        $view->with([
21
-            'notification' => Lang::get('manager/notification'),
19
+        $show_demo_notification = Auth::user () !== null && Auth::user ()->isDemoManager ();
20
+        $view->with ([
21
+            'notification' => Lang::get ('manager/notification'),
22 22
             'show_demo_notification' => $show_demo_notification,
23 23
         ]);
24 24
     }
Please login to merge, or discard this patch.
app/Http/ViewComposers/ApplicantProfileMenuComposer.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -15,18 +15,18 @@  discard block
 block discarded – undo
15 15
      * @param  View  $view
16 16
      * @return void
17 17
      */
18
-    public function compose(View $view)
18
+    public function compose (View $view)
19 19
     {
20
-        $profileMenu = Lang::get('applicant/applicant_profile_menu');
20
+        $profileMenu = Lang::get ('applicant/applicant_profile_menu');
21 21
 
22
-        $profileMenu['about']['link'] = route('profile.about.edit', $view->getData()['applicant']);
23
-        $profileMenu['experience']['link'] = route('profile.experience.edit', $view->getData()['applicant']);
24
-        $profileMenu['skills']['link'] = route('profile.skills.edit', $view->getData()['applicant']);
25
-        $profileMenu['references']['link'] = route('profile.references.edit', $view->getData()['applicant']);
26
-        $profileMenu['portfolio']['link'] = route('profile.work_samples.edit', $view->getData()['applicant']);
22
+        $profileMenu['about']['link'] = route ('profile.about.edit', $view->getData ()['applicant']);
23
+        $profileMenu['experience']['link'] = route ('profile.experience.edit', $view->getData ()['applicant']);
24
+        $profileMenu['skills']['link'] = route ('profile.skills.edit', $view->getData ()['applicant']);
25
+        $profileMenu['references']['link'] = route ('profile.references.edit', $view->getData ()['applicant']);
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'):
@@ -54,6 +54,6 @@  discard block
 block discarded – undo
54 54
                 break;
55 55
         }
56 56
 
57
-        $view->with('profile_menu', $profileMenu);
57
+        $view->with ('profile_menu', $profileMenu);
58 58
     }
59 59
 }
Please login to merge, or discard this patch.
app/Http/ViewComposers/DegreeComposer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,13 +20,13 @@
 block discarded – undo
20 20
      *
21 21
      * @return void
22 22
      */
23
-    public function compose(View $view) : void
23
+    public function compose (View $view) : void
24 24
     {
25 25
         if (!$this->degreeTypes) {
26
-            $this->degreeTypes = DegreeType::all();
26
+            $this->degreeTypes = DegreeType::all ();
27 27
         }
28 28
 
29
-        $view->with('degree_types', $this->degreeTypes);
30
-        $view->with('degree_template', Lang::get('common/degree'));
29
+        $view->with ('degree_types', $this->degreeTypes);
30
+        $view->with ('degree_template', Lang::get ('common/degree'));
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
app/Http/ViewComposers/ManagerPortalComposer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@
 block discarded – undo
13 13
      * @param  View  $view
14 14
      * @return void
15 15
      */
16
-    public function compose(View $view)
16
+    public function compose (View $view)
17 17
     {
18
-        $show_demo_notification = Auth::user() !== null && Auth::user()->isDemoManager();
19
-        $view->with([
18
+        $show_demo_notification = Auth::user () !== null && Auth::user ()->isDemoManager ();
19
+        $view->with ([
20 20
             'show_demo_notification' => $show_demo_notification,
21 21
         ]);
22 22
     }
Please login to merge, or discard this patch.
app/Http/ViewComposers/RelativeComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
      * @param  View  $view
14 14
      * @return void
15 15
      */
16
-    public function compose(View $view)
16
+    public function compose (View $view)
17 17
     {
18
-        $view->with('relative_template', Lang::get('common/relatives'));
18
+        $view->with ('relative_template', Lang::get ('common/relatives'));
19 19
     }
20 20
 }
Please login to merge, or discard this patch.