Completed
Push — master ( a00967...7520aa )
by Vladimir
13:32
created
src/Toolbelt/Kernel.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\Toolbelt;
6 6
 
Please login to merge, or discard this patch.
src/Toolbelt/Commands/MakeInteraction.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\Toolbelt\Commands;
6 6
 
Please login to merge, or discard this patch.
src/Toolbelt/Factory.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\Toolbelt;
6 6
 
Please login to merge, or discard this patch.
src/Toolbelt/Command.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\Toolbelt;
6 6
 
Please login to merge, or discard this patch.
src/helpers.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
 if (!function_exists('env')) {
6 6
     /**
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
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public function handle(): void
20 20
     {
21 21
         $drivers = collect($this->kernel->getDrivers())
22
-            ->map(function ($item) {
22
+            ->map(function($item) {
23 23
                 return [$item['name'], $item['package'], $item['official'] ? '✅' : '❌'];
24 24
             })
25 25
             ->toArray();
Please login to merge, or discard this patch.
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.