Completed
Push — master ( 817c3d...f287a4 )
by Vladimir
03:07
created
src/Bot.php 1 patch
Unused Use Statements   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -4,21 +4,21 @@
 block discarded – undo
4 4
 
5 5
 namespace FondBot;
6 6
 
7
-use FondBot\Traits\Loggable;
8 7
 use FondBot\Channels\Channel;
9
-use FondBot\Conversation\Context;
8
+use FondBot\Channels\Exceptions\InvalidChannelRequest;
9
+use FondBot\Contracts\Channels\Extensions\WebhookVerification;
10
+use FondBot\Contracts\Channels\OutgoingMessage;
10 11
 use FondBot\Contracts\Channels\User;
11
-use FondBot\Contracts\Drivers\Driver;
12
-use FondBot\Conversation\IntentManager;
13
-use FondBot\Conversation\ContextManager;
14 12
 use FondBot\Contracts\Container\Container;
15
-use FondBot\Contracts\Conversation\Intent;
16
-use FondBot\Contracts\Conversation\Keyboard;
17
-use FondBot\Contracts\Channels\OutgoingMessage;
18 13
 use FondBot\Contracts\Conversation\Conversable;
14
+use FondBot\Contracts\Conversation\Intent;
19 15
 use FondBot\Contracts\Conversation\Interaction;
20
-use FondBot\Channels\Exceptions\InvalidChannelRequest;
21
-use FondBot\Contracts\Channels\Extensions\WebhookVerification;
16
+use FondBot\Contracts\Conversation\Keyboard;
17
+use FondBot\Contracts\Drivers\Driver;
18
+use FondBot\Conversation\Context;
19
+use FondBot\Conversation\ContextManager;
20
+use FondBot\Conversation\IntentManager;
21
+use FondBot\Traits\Loggable;
22 22
 
23 23
 class Bot
24 24
 {
Please login to merge, or discard this patch.
src/Drivers/DriverManager.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 namespace FondBot\Drivers;
6 6
 
7 7
 use FondBot\Channels\Channel;
8
-use FondBot\Contracts\Drivers\Driver;
9 8
 use FondBot\Channels\Exceptions\InvalidConfiguration;
9
+use FondBot\Contracts\Drivers\Driver;
10 10
 
11 11
 class DriverManager
12 12
 {
Please login to merge, or discard this 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
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     private function validateParameters(Channel $channel, Driver $driver): void
56 56
     {
57
-        collect($driver->getConfig())->each(function (string $parameter) use ($channel) {
57
+        collect($driver->getConfig())->each(function(string $parameter) use ($channel) {
58 58
             if (!array_key_exists($parameter, $channel->getParameters())) {
59 59
                 throw new InvalidConfiguration('Invalid `'.$channel->getName().'` channel configuration.');
60 60
             }
Please login to merge, or discard this patch.
src/Drivers/Driver.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\Drivers;
6 6
 
Please login to merge, or discard this patch.
src/Drivers/Message/Location.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\Drivers\Message;
6 6
 
Please login to merge, or discard this patch.
src/Drivers/Message/Attachment.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\Drivers\Message;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Drivers/Driver.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\Drivers;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Drivers/Message/Location.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\Drivers\Message;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Drivers/Message/Attachment.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\Drivers\Message;
6 6
 
Please login to merge, or discard this patch.