Completed
Push — develop ( db9af5...942a5f )
by Mattias
05:43
created
spec/BotFactorySpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use TelegramBot\BotInterface;
6 6
 use TelegramBot\BotFactory;
7 7
 use PhpSpec\ObjectBehavior;
8
-use Prophecy\Argument;
9 8
 
10 9
 class BotFactorySpec extends ObjectBehavior
11 10
 {
Please login to merge, or discard this patch.
spec/BotSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use TelegramBot\Bot;
6 6
 use TelegramBot\APIPollClient;
7 7
 use PhpSpec\ObjectBehavior;
8
-use Prophecy\Argument;
9 8
 
10 9
 class BotSpec extends ObjectBehavior
11 10
 {
Please login to merge, or discard this patch.
spec/ReactRunnerSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace spec\TelegramBot;
4 4
 
5
-use TelegramBot\BotInterface;
6 5
 use TelegramBot\ReactRunner;
7 6
 use PhpSpec\ObjectBehavior;
8
-use Prophecy\Argument;
9 7
 
10 8
 class ReactRunnerSpec extends ObjectBehavior
11 9
 {
Please login to merge, or discard this patch.
src/ReactRunner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
         $this->loop->addPeriodicTimer(
54 54
           $this->loopTimeout,
55
-          function (\React\EventLoop\Timer\Timer $timer) use ($bot, $maxTimesToPoll) {
55
+          function(\React\EventLoop\Timer\Timer $timer) use ($bot, $maxTimesToPoll) {
56 56
             $bot->poll();
57 57
             $this->loopCounter++;
58 58
             if (!is_null($maxTimesToPoll) && ($maxTimesToPoll >= $this->loopCounter)) {
Please login to merge, or discard this patch.