Test Setup Failed
Push — master ( 4d40dc...98541d )
by
unknown
09:21
created
src/Controllers/ChannelController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Controllers;
6 6
 
Please login to merge, or discard this patch.
src/Drivers/TemplateCompiler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Drivers;
6 6
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         // If template can compile itself we recursively compile subelements
68 68
         if ($template instanceof Arrayable) {
69 69
             $array = $template->toArray();
70
-            $transformer = function ($value) use (&$transformer, $args) {
70
+            $transformer = function($value) use (&$transformer, $args) {
71 71
                 if (is_array($value)) {
72 72
                     return array_map($transformer, $value);
73 73
                 }
Please login to merge, or discard this patch.
src/Foundation/ServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Foundation;
6 6
 
@@ -49,10 +49,10 @@  discard block
 block discarded – undo
49 49
 
50 50
     private function registerChannelManager(): void
51 51
     {
52
-        $this->app->singleton(ChannelManager::class, function () {
52
+        $this->app->singleton(ChannelManager::class, function() {
53 53
             /** @var array $channels */
54 54
             $channels = collect(array_get($this->config(), 'channels', []))
55
-                ->mapWithKeys(function (array $parameters, string $name) {
55
+                ->mapWithKeys(function(array $parameters, string $name) {
56 56
                     return [$name => $parameters];
57 57
                 })
58 58
                 ->toArray();
@@ -66,14 +66,14 @@  discard block
 block discarded – undo
66 66
 
67 67
     private function registerConversationManager(): void
68 68
     {
69
-        $this->app->singleton(ConversationManager::class, function () {
69
+        $this->app->singleton(ConversationManager::class, function() {
70 70
             return new ConversationManager;
71 71
         });
72 72
     }
73 73
 
74 74
     private function registerSessionManager(): void
75 75
     {
76
-        $this->app->singleton(SessionManager::class, function () {
76
+        $this->app->singleton(SessionManager::class, function() {
77 77
             return new SessionManager(
78 78
                 $this->app,
79 79
                 $this->app->make(Store::class)
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
     private function registerIntentManager(): void
85 85
     {
86
-        $this->app->singleton(IntentManager::class, function () {
86
+        $this->app->singleton(IntentManager::class, function() {
87 87
             $intents = array_get($this->config(), 'intents', []);
88 88
             $fallbackIntent = array_get($this->config(), 'fallback_intent', FallbackIntent::class);
89 89
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
     private function registerKernel(): void
98 98
     {
99
-        $this->app->singleton(Kernel::class, function () {
99
+        $this->app->singleton(Kernel::class, function() {
100 100
             return Kernel::createInstance($this->app);
101 101
         });
102 102
     }
Please login to merge, or discard this patch.
src/Events/WebhookVerification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Events;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Contracts;
6 6
 
Please login to merge, or discard this patch.
src/Events/MessageReceived.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Events;
6 6
 
Please login to merge, or discard this patch.
src/Events/Unknown.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Events;
6 6
 
Please login to merge, or discard this patch.
src/Jobs/SendAttachment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Jobs;
6 6
 
Please login to merge, or discard this patch.
src/Jobs/SendRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Jobs;
6 6
 
Please login to merge, or discard this patch.