Passed
Push — task/common-translation-packag... ( 1125af...852212 )
by Grant
08:02
created
app/Providers/EventServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function boot(): void
43 43
     {
44
-        parent::boot();
44
+        parent::boot ();
45 45
 
46 46
         //
47 47
     }
Please login to merge, or discard this patch.
app/Providers/AuthServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@  discard block
 block discarded – undo
65 65
      */
66 66
     protected function defineGates(): void
67 67
     {
68
-        Gate::define('view-assessment-plan', function ($user, $jobPoster) {
69
-            return $user->isAdmin() ||
70
-                $user->isManager() && $jobPoster->manager->user_id === $user->id;
68
+        Gate::define ('view-assessment-plan', function ($user, $jobPoster) {
69
+            return $user->isAdmin () ||
70
+                $user->isManager () && $jobPoster->manager->user_id === $user->id;
71 71
         });
72 72
     }
73 73
 
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public function boot(): void
84 84
     {
85
-        $this->registerPolicies();
85
+        $this->registerPolicies ();
86 86
 
87
-        $this->defineGates();
87
+        $this->defineGates ();
88 88
     }
89 89
 }
Please login to merge, or discard this patch.
app/Providers/BroadcastServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
      */
15 15
     public function boot()
16 16
     {
17
-        Broadcast::routes();
17
+        Broadcast::routes ();
18 18
 
19
-        require base_path('routes/channels.php');
19
+        require base_path ('routes/channels.php');
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,14 +19,14 @@  discard block
 block discarded – undo
19 19
         // Prevent resource responses from being wrapped in a top
20 20
         // level 'data' key.
21 21
         // https://laravel.com/docs/eloquent-resources#data-wrapping.
22
-        Resource::withoutWrapping();
22
+        Resource::withoutWrapping ();
23 23
 
24 24
         // A lower default string length for migrations is required for
25 25
         // versions of MySQL < 5.7.7.
26
-        Schema::defaultStringLength(191);
26
+        Schema::defaultStringLength (191);
27 27
 
28 28
         // Force all routes and requests to use HTTPS.
29
-        $this->app['request']->server->set('HTTPS', config('app.force_https'));
29
+        $this->app['request']->server->set ('HTTPS', config ('app.force_https'));
30 30
     }
31 31
 
32 32
     /**
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function register()
38 38
     {
39
-        $this->app->singleton(WhichPortal::class, function ($app) {
40
-            return new WhichPortal();
39
+        $this->app->singleton (WhichPortal::class, function ($app) {
40
+            return new WhichPortal ();
41 41
         });
42 42
     }
43 43
 }
Please login to merge, or discard this patch.
app/Http/ViewComposers/LangMenuComposer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@  discard block
 block discarded – undo
16 16
      */
17 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/FooterComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function compose(View $view)
25 25
     {
26
-        $view->with('footer', Lang::get('common/footer'))
27
-            ->with('date_modified', humanizeDate(new Date(self::DATE_MODIFIED, Config::get('app.local_timezone'))));
26
+        $view->with ('footer', Lang::get ('common/footer'))
27
+            ->with ('date_modified', humanizeDate (new Date (self::DATE_MODIFIED, Config::get ('app.local_timezone'))));
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
app/Http/ViewComposers/SkillComposer.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,16 +29,16 @@
 block discarded – undo
29 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/WorkExperienceComposer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
      */
16 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/ManagerPortalComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
      */
16 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.