Passed
Branch master (f22fa7)
by Stan
04:08
created
tests/Feature/Sentry/SentryIntegrationTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 {
11 11
     public function testExceptionIsReportedToSentry()
12 12
     {
13
-        $this->mock(SentryService::class, function ($mock) {
13
+        $this->mock(SentryService::class, function($mock) {
14 14
             $mock->shouldReceive('captureException')
15 15
                 ->once()
16
-                ->withArgs(function ($exception) {
16
+                ->withArgs(function($exception) {
17 17
                     return $exception instanceof Exception && $exception->getMessage() === 'Test exception';
18 18
                 });
19 19
         });
Please login to merge, or discard this patch.
tests/Feature/Notifications/NotificationFlowTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $sentryNotifierMock->shouldReceive('reportSentryNotification')
37 37
             ->once()
38 38
             ->with(Mockery::type(Exception::class))
39
-            ->andReturnUsing(function () {
39
+            ->andReturnUsing(function() {
40 40
                 Notification::send(new NotifableTelegramChannel(123), new TelegramSentryNotification());
41 41
             });
42 42
 
Please login to merge, or discard this patch.
tests/Unit/Services/Messengers/Clients/Telegram/TelegramClientTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,11 +44,11 @@
 block discarded – undo
44 44
 
45 45
         $notifableEntityMock = $this->createMock(NotifableEntityInterface::class);
46 46
 
47
-        $container->bind(MessageFormatterInterface::class, function () use ($formatterMock) {
47
+        $container->bind(MessageFormatterInterface::class, function() use ($formatterMock) {
48 48
             return $formatterMock;
49 49
         });
50 50
 
51
-        $container->bind(NotifableEntityInterface::class, function () use ($notifableEntityMock) {
51
+        $container->bind(NotifableEntityInterface::class, function() use ($notifableEntityMock) {
52 52
             return $notifableEntityMock;
53 53
         });
54 54
     }
Please login to merge, or discard this patch.