Completed
Push — master ( 6aa462...b427b0 )
by Sebastian
14:02
created
app/Services/Mailers/MemberMailer.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Services\Mailers;
4 4
 
5
-use App\Events\UserWasActivated;
6 5
 use App\Services\Auth\Front\Events\UserWasCreatedThroughBack;
7 6
 use App\Services\Auth\Front\Events\UserWasRegistered;
8 7
 use Illuminate\Contracts\Events\Dispatcher;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     {
16 16
         $this->sendTo(
17 17
             $event->user->email,
18
-            'Welkom bij ' . config('app.url'),
18
+            'Welkom bij '.config('app.url'),
19 19
             'emails.auth.front.welcome',
20 20
             ['userId' => $event->user->id]
21 21
         );
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
 
24 24
     public function whenUserWasCreatedThroughBack(UserWasCreatedThroughBack $event)
25 25
     {
26
-        Password::broker('front')->sendResetLink(['email' => $event->user->email], function (Message $message) {
27
-            $message->subject('Welkom bij ' . config('app.url'));
26
+        Password::broker('front')->sendResetLink(['email' => $event->user->email], function(Message $message) {
27
+            $message->subject('Welkom bij '.config('app.url'));
28 28
         });
29 29
     }
30 30
 
Please login to merge, or discard this patch.
app/Services/Navigation/Menu/BackMenus.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,26 +10,26 @@  discard block
 block discarded – undo
10 10
 {
11 11
     public function register()
12 12
     {
13
-        Menu::macro('back', function () {
13
+        Menu::macro('back', function() {
14 14
             return Menu::new()
15 15
                 ->setActiveClass('-active')
16 16
                 ->setActiveFromRequest('/blender');
17 17
         });
18 18
 
19
-        Menu::macro('moduleGroup', function ($title) {
19
+        Menu::macro('moduleGroup', function($title) {
20 20
             return Menu::back()
21 21
                 ->addParentClass('menu_group')
22 22
                 ->setParentAttribute('data-menu-group', fragment("back.nav.{$title}"))
23
-                ->registerFilter(function (Link $link) {
23
+                ->registerFilter(function(Link $link) {
24 24
                     $link->addParentClass('menu_group_item');
25 25
                 });
26 26
         });
27 27
 
28
-        Menu::macro('module', function (string $action, string $name) {
28
+        Menu::macro('module', function(string $action, string $name) {
29 29
             return $this->action("Back\\{$action}", fragment("back.{$name}"));
30 30
         });
31 31
 
32
-        Menu::macro('backMain', function () {
32
+        Menu::macro('backMain', function() {
33 33
             return Menu::back()
34 34
                 ->addClass('menu_groups')
35 35
                 ->setAttribute('data-menu-groups')
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 );
54 54
         });
55 55
 
56
-        Menu::macro('backUser', function () {
56
+        Menu::macro('backUser', function() {
57 57
 
58 58
             $avatar = HTML::avatar(current_user(), '-small').
59 59
                 el('span.:response-desktop-only', current_user()->email);
Please login to merge, or discard this patch.
app/Services/Html/HtmlBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         }
48 48
 
49 49
         return el('div.alert.-info', ['class' => $classes],
50
-            el('span.fa.fa-info-circle') . ' ' . $message
50
+            el('span.fa.fa-info-circle').' '.$message
51 51
         );
52 52
     }
53 53
 
Please login to merge, or discard this patch.
app/Services/Mailers/SendsMails.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 sendMail($addresses, string $subject, string $view, $data = [])
17 17
     {
18
-        collect($addresses)->each(function (string $email) use ($subject, $view, $data) {
19
-            app(Mailer::class)->queue($view, $data, function (Message $message) use ($email, $subject) {
18
+        collect($addresses)->each(function(string $email) use ($subject, $view, $data) {
19
+            app(Mailer::class)->queue($view, $data, function(Message $message) use ($email, $subject) {
20 20
                 $message->to($email)->subject($subject);
21 21
             });
22 22
         });
Please login to merge, or discard this patch.
app/Services/Locale/LocaleServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     protected function registerLoader()
18 18
     {
19
-        $this->app->singleton('translation.loader', function ($app) {
19
+        $this->app->singleton('translation.loader', function($app) {
20 20
             return new TranslationLoader($app['files'], $app['path.lang']);
21 21
         });
22 22
     }
Please login to merge, or discard this patch.
app/Services/Mailers/AdminMailer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     public function userWasCreated(UserWasCreated $event)
20 20
     {
21
-        Password::broker('back')->sendResetLink(['email' => $event->user->email], function (Message $message) {
21
+        Password::broker('back')->sendResetLink(['email' => $event->user->email], function(Message $message) {
22 22
             $message->subject(fragment('passwords.subjectEmailNewUser'));
23 23
         });
24 24
     }
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     {
28 28
         $this->sendMail(
29 29
             config('mail.recipients.questionForm'),
30
-            'Een nieuwe reactie op ' . config('app.url'),
30
+            'Een nieuwe reactie op '.config('app.url'),
31 31
             'emails.admin.contactFormSubmitted',
32 32
             $event->formResponse->toArray()
33 33
         );
Please login to merge, or discard this patch.
app/Providers/ConfigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
         config()->set(
53 53
             'mail.recipients',
54
-            collect(config('mail.recipients'))->map(function () {
54
+            collect(config('mail.recipients'))->map(function() {
55 55
                 return '[email protected]';
56 56
             })
57 57
         );
Please login to merge, or discard this patch.
app/Services/Auth/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
     public function getNameAttribute(): string
51 51
     {
52
-        return $this->first_name . ' ' . $this->last_name;
52
+        return $this->first_name.' '.$this->last_name;
53 53
     }
54 54
 
55 55
     public function hasNeverLoggedIn(): bool
Please login to merge, or discard this patch.
app/Http/Controllers/Back/StatisticsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@
 block discarded – undo
15 15
         }
16 16
 
17 17
         $visitors = Analytics::fetchVisitorsAndPageViews(Period::days(365))
18
-            ->groupBy(function (array $visitorStatistics) {
18
+            ->groupBy(function(array $visitorStatistics) {
19 19
                 return $visitorStatistics['date']->format('Y-m');
20 20
             })
21
-            ->map(function ($visitorStatistics, $yearMonth) {
21
+            ->map(function($visitorStatistics, $yearMonth) {
22 22
                 list($year, $month) = explode('-', $yearMonth);
23 23
 
24 24
                 return [
Please login to merge, or discard this patch.