Completed
Push — master ( 1e74ba...85d930 )
by Vladimir
03:47
created
src/Toolbelt/Commands/InstallDriver.php 1 patch
Spacing   +4 added lines, -4 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
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         $name = $this->getArgument('name');
25 25
         $drivers = collect($this->kernel->getDrivers());
26 26
 
27
-        $driver = $drivers->first(function ($item) use ($name) {
27
+        $driver = $drivers->first(function($item) use ($name) {
28 28
             return $item['name'] === $name;
29 29
         });
30 30
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $composer = json_decode($this->filesystem()->read('composer.json'), true);
47 47
         $installed = collect($composer['require'])
48 48
             ->merge($composer['require-dev'])
49
-            ->search(function ($_, $item) use ($package) {
49
+            ->search(function($_, $item) use ($package) {
50 50
                 return hash_equals($item, $package);
51 51
             });
52 52
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
         $process = new Process('composer require '.$package, $this->kernel->getPath());
63 63
         $output = '';
64
-        $result = $process->run(function ($_, $line) use (&$output) {
64
+        $result = $process->run(function($_, $line) use (&$output) {
65 65
             $output .= $line;
66 66
         });
67 67
 
Please login to merge, or discard this patch.
src/Queue/Adapter.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\Queue;
6 6
 
Please login to merge, or discard this patch.
src/Queue/Job.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\Queue;
6 6
 
Please login to merge, or discard this patch.
src/Cache/Adapters/FilesystemAdapter.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\Cache\Adapters;
6 6
 
Please login to merge, or discard this patch.
src/Cache/Adapter.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\Cache;
6 6
 
Please login to merge, or discard this patch.
src/Toolbelt/Commands/Log.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
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $path = $this->kernel->resolve('application_log');
30 30
         $command = 'tail -f -n 1000 '.escapeshellarg($path);
31 31
 
32
-        (new Process($command))->setTimeout(null)->run(function ($type, $line) {
32
+        (new Process($command))->setTimeout(null)->run(function($type, $line) {
33 33
             $this->line($line);
34 34
         });
35 35
     }
Please login to merge, or discard this patch.
src/Cache/CacheServiceProvider.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\Cache;
6 6
 
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 = $this->kernel->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/Contracts/Queue.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\Contracts;
6 6
 
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @return Job
23 23
      */
24
-    public function next(): ?Job;
24
+    public function next(): ? Job;
25 25
 
26 26
     /**
27 27
      * Push command onto the queue.
Please login to merge, or discard this patch.