Skip to content

Commit d4ad18f

Browse files
committed
Merge branch 'master' of github.com:botman/botman
2 parents 09e4a02 + 7486043 commit d4ad18f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/BotMan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace BotMan\BotMan;
44

5-
use BotMan\BotMan\Interfaces\Middleware\Heard;
65
use Closure;
76
use Illuminate\Support\Collection;
87
use BotMan\BotMan\Commands\Command;
@@ -22,6 +21,7 @@
2221
use BotMan\BotMan\Messages\Attachments\Video;
2322
use BotMan\BotMan\Messages\Outgoing\Question;
2423
use Psr\Container\NotFoundExceptionInterface;
24+
use BotMan\BotMan\Interfaces\Middleware\Heard;
2525
use BotMan\BotMan\Interfaces\StorageInterface;
2626
use BotMan\BotMan\Traits\HandlesConversations;
2727
use Symfony\Component\HttpFoundation\Response;

tests/BotManTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace BotMan\BotMan\tests;
44

5-
use BotMan\BotMan\Tests\Fixtures\Middleware\Matching;
65
use Mockery as m;
76
use BotMan\BotMan\BotMan;
87
use Mockery\MockInterface;
@@ -29,6 +28,7 @@
2928
use BotMan\BotMan\Exceptions\Base\BotManException;
3029
use BotMan\BotMan\Tests\Fixtures\TestConversation;
3130
use BotMan\BotMan\Messages\Incoming\IncomingMessage;
31+
use BotMan\BotMan\Tests\Fixtures\Middleware\Matching;
3232
use BotMan\BotMan\Tests\Fixtures\TestMatchMiddleware;
3333
use BotMan\BotMan\Messages\Conversations\Conversation;
3434
use BotMan\BotMan\Tests\Fixtures\TestAdditionalDriver;

tests/Fixtures/Middleware/Matching.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
class Matching implements MatchingInterface
99
{
10-
1110
/**
1211
* @param IncomingMessage $message
1312
* @param string $pattern
@@ -18,4 +17,4 @@ public function matching(IncomingMessage $message, $pattern, $regexMatched)
1817
{
1918
return $message->getText()[0] === 'o';
2019
}
21-
}
20+
}

0 commit comments

Comments
 (0)