Test Failed
Push — master ( 2775f1...e031e9 )
by Vladimir
02:56
created
src/Toolbelt/ToolbeltServiceProvider.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\Toolbelt;
6 6
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function register(): void
35 35
     {
36
-        $this->container->share('toolbelt', function () {
36
+        $this->container->share('toolbelt', function() {
37 37
             $application = new Application('FondBot', Kernel::VERSION);
38 38
             $application->addCommands([
39 39
                 new Commands\MakeIntent,
Please login to merge, or discard this patch.
src/Toolbelt/Commands/Log.php 1 patch
Spacing   +3 added lines, -3 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\Toolbelt\Commands;
6 6
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         $logger = resolve(Logger::class);
34 34
 
35 35
         /** @var StreamHandler|null $handler */
36
-        $handler = collect($logger->getHandlers())->first(function (HandlerInterface $item) {
36
+        $handler = collect($logger->getHandlers())->first(function(HandlerInterface $item) {
37 37
             return $item instanceof StreamHandler;
38 38
         });
39 39
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
         $command = 'tail -f -n 1000 '.escapeshellarg($handler->getUrl());
47 47
 
48
-        (new Process($command))->setTimeout(null)->run(function ($_, $line) {
48
+        (new Process($command))->setTimeout(null)->run(function($_, $line) {
49 49
             $this->line($line);
50 50
         });
51 51
     }
Please login to merge, or discard this patch.
src/Toolbelt/Commands/ListChannels.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\Toolbelt\Commands;
6 6
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         $manager = resolve(ChannelManager::class);
29 29
 
30 30
         $channels = collect($manager->all())
31
-            ->map(function ($item, $name) {
31
+            ->map(function($item, $name) {
32 32
                 return [$name, $item['driver'], '/channels/'.$name];
33 33
             })
34 34
             ->toArray();
Please login to merge, or discard this patch.
src/Toolbelt/Commands/ListDrivers.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\Toolbelt\Commands;
6 6
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         $items = json_decode((string) $response, true);
26 26
 
27 27
         $drivers = collect($items)
28
-            ->map(function ($item) {
28
+            ->map(function($item) {
29 29
                 return [$item['name'], $item['package'], $item['official'] ? '✅' : '❌'];
30 30
             })
31 31
             ->toArray();
Please login to merge, or discard this patch.