Test Setup Failed
Push — a-simpler-manager ( b87bbb...ca6085 )
by Ben
06:19 queued 13s
created
src/Admin/Settings/SettingFieldsManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@
 block discarded – undo
51 51
 
52 52
     public function editFields(): Fields
53 53
     {
54
-        return $this->fields()->map(function (Field $field) {
55
-            return $field->valueResolver(function ($model = null, $locale = null, $field) {
54
+        return $this->fields()->map(function(Field $field) {
55
+            return $field->valueResolver(function($model = null, $locale = null, $field) {
56 56
                 return $this->settings->get($field->getKey(), $locale);
57 57
             });
58 58
         });
Please login to merge, or discard this patch.
src/Admin/Settings/SettingsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
     public function register()
15 15
     {
16
-        $this->app->singleton(Settings::class, function ($app) {
16
+        $this->app->singleton(Settings::class, function($app) {
17 17
             return new Settings();
18 18
         });
19 19
     }
Please login to merge, or discard this patch.
src/Admin/Users/User.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     public function getFullnameAttribute()
59 59
     {
60
-        return $this->firstname . ' ' . $this->lastname;
60
+        return $this->firstname.' '.$this->lastname;
61 61
     }
62 62
 
63 63
     public function isSquantoDeveloper()
@@ -67,6 +67,6 @@  discard block
 block discarded – undo
67 67
 
68 68
     public function getShortNameAttribute()
69 69
     {
70
-        return $this->firstname . ' ' . substr($this->lastname, 0, 1) . '.';
70
+        return $this->firstname.' '.substr($this->lastname, 0, 1).'.';
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
src/Admin/Users/Invites/InvitationPresenter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,6 @@
 block discarded – undo
36 36
                 break;
37 37
         }
38 38
 
39
-        return '<span class="label ' . $flair . '">uitnodiging ' . $this->invitation->stateOf(InvitationState::KEY) . '</span>';
39
+        return '<span class="label '.$flair.'">uitnodiging '.$this->invitation->stateOf(InvitationState::KEY).'</span>';
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
src/Admin/HealthMonitor/Monitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
                 }
33 33
 
34 34
                 return;
35
-            } else {
35
+            }else {
36 36
                 foreach ($notifiers as $notifier) {
37 37
                     app($notifier)->onSuccess($checkInstance);
38 38
                 }
Please login to merge, or discard this patch.
src/Admin/HealthMonitor/Checks/HomepageAccessibleCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     public function message(): string
35 35
     {
36
-        return 'Het lijkt erop dat de homepagina niet meer bereikbaar is. <a href="' . route('chief.back.settings.edit') . '" class="text-secondary-800 underline hover:text-white">Kies een nieuwe</a>.';
36
+        return 'Het lijkt erop dat de homepagina niet meer bereikbaar is. <a href="'.route('chief.back.settings.edit').'" class="text-secondary-800 underline hover:text-white">Kies een nieuwe</a>.';
37 37
     }
38 38
 
39 39
     public function notifiers(): array
Please login to merge, or discard this patch.
src/Admin/HealthMonitor/Checks/HomepageSetCheck.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
     public function message(): string
18 18
     {
19
-        return 'Het lijkt erop dat er geen homepagina ingesteld is. Stel er een in hier: <a href="' . route('chief.back.settings.edit') . '" class="text-secondary-800 underline hover:text-white">Settings</a>';
19
+        return 'Het lijkt erop dat er geen homepagina ingesteld is. Stel er een in hier: <a href="'.route('chief.back.settings.edit').'" class="text-secondary-800 underline hover:text-white">Settings</a>';
20 20
     }
21 21
 
22 22
     public function notifiers(): array
Please login to merge, or discard this patch.
src/Managers/Routes/ManagedRoutes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     public function push($managedRoutes): self
31 31
     {
32
-        return new static($this->managerClass, $this->prefix, array_merge($this->routes, (array) $managedRoutes));
32
+        return new static($this->managerClass, $this->prefix, array_merge($this->routes, (array)$managedRoutes));
33 33
     }
34 34
 
35 35
     public function getManagerClass(): string
Please login to merge, or discard this patch.
src/Managers/Routes/RegisterManagedRoutes.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,13 +28,13 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $managedRoutes = $this->expandWithAssistantRoutes($manager, $managedRoutes);
30 30
 
31
-        $this->router->group(['prefix' => $this->routePrefix, 'middleware' => $this->routeMiddleware], function () use($managedRoutes, $controllerClass) {
32
-            foreach($managedRoutes as $route) {
31
+        $this->router->group(['prefix' => $this->routePrefix, 'middleware' => $this->routeMiddleware], function() use($managedRoutes, $controllerClass) {
32
+            foreach ($managedRoutes as $route) {
33 33
                 $this->router->addRoute(
34 34
                     $route->method,
35
-                    $managedRoutes->getPrefix() .'/'. $route->uri,
35
+                    $managedRoutes->getPrefix().'/'.$route->uri,
36 36
                     [$controllerClass, Str::camel($route->action)]
37
-                )->name('chief.' . $managedRoutes->getPrefix() . '.' . $route->action);
37
+                )->name('chief.'.$managedRoutes->getPrefix().'.'.$route->action);
38 38
             }
39 39
         });
40 40
     }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             }
49 49
         }
50 50
 
51
-        if(public_method_exists($manager, 'routes')) {
51
+        if (public_method_exists($manager, 'routes')) {
52 52
             $managedRoutes = $managedRoutes->push($manager->routes());
53 53
         }
54 54
 
Please login to merge, or discard this patch.