Test Failed
Push — master ( 263ebe...700def )
by Vladimir
03:17
created
src/Contracts/Driver.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\Contracts;
6 6
 
Please login to merge, or discard this patch.
src/Drivers/DriverServiceProvider.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\Drivers;
6 6
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function register(): void
26 26
     {
27
-        $this->container->share(DriverManager::class, function () {
27
+        $this->container->share(DriverManager::class, function() {
28 28
             // Here we will discover all drivers installed
29 29
             // And add all found drivers to the manager
30 30
 
Please login to merge, or discard this patch.
src/Drivers/DriverManager.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\Drivers;
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
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $items = json_decode((string) $response->getBody(), true);
37 37
 
38 38
         $drivers = collect($items)
39
-            ->transform(function ($item) use ($installedDrivers) {
39
+            ->transform(function($item) use ($installedDrivers) {
40 40
                 return [
41 41
                     $item['name'],
42 42
                     $item['package'],
Please login to merge, or discard this patch.
src/Application/Composer.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\Application;
6 6
 
Please login to merge, or discard this patch.
src/Application/Assets.php 1 patch
Spacing   +6 added lines, -6 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\Application;
6 6
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         if ($type !== null) {
35 35
             return collect($assets)
36
-                ->filter(function ($_, $key) use ($type) {
36
+                ->filter(function($_, $key) use ($type) {
37 37
                     return $key === $type;
38 38
                 })
39 39
                 ->flatten()
@@ -62,10 +62,10 @@  discard block
 block discarded – undo
62 62
         $assets = [];
63 63
 
64 64
         collect($files)
65
-            ->filter(function (array $file) {
65
+            ->filter(function(array $file) {
66 66
                 return $file['type'] === 'file' && $file['basename'] === 'composer.json';
67 67
             })
68
-            ->transform(function ($file) {
68
+            ->transform(function($file) {
69 69
                 $contents = $this->filesystem->get($file['path'])->read();
70 70
                 $manifest = json_decode($contents, true);
71 71
 
@@ -75,10 +75,10 @@  discard block
 block discarded – undo
75 75
 
76 76
                 return null;
77 77
             })
78
-            ->filter(function ($item) {
78
+            ->filter(function($item) {
79 79
                 return $item !== null;
80 80
             })
81
-            ->each(function ($item) use (&$assets) {
81
+            ->each(function($item) use (&$assets) {
82 82
                 $type = key($item);
83 83
 
84 84
                 $assets[$type][] = $item[$type];
Please login to merge, or discard this patch.
src/Filesystem/FilesystemServiceProvider.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\Filesystem;
6 6
 
@@ -38,11 +38,11 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function register(): void
40 40
     {
41
-        $this->container->share(Filesystem::class, function () {
41
+        $this->container->share(Filesystem::class, function() {
42 42
             return new Filesystem(new Local($this->container->get('base_path'), LOCK_EX, Local::SKIP_LINKS));
43 43
         });
44 44
 
45
-        $this->container->share(MountManager::class, function () {
45
+        $this->container->share(MountManager::class, function() {
46 46
             $filesystems = [
47 47
                 'local' => $this->container->get(Filesystem::class),
48 48
             ];
Please login to merge, or discard this patch.
src/Conversation/Activators/WithPayload.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\Conversation\Activators;
6 6
 
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
 
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      *
17 17
      * @return Job
18 18
      */
19
-    public function pull(): ?Job;
19
+    public function pull(): ? Job;
20 20
 
21 21
     /**
22 22
      * Push command onto the queue.
Please login to merge, or discard this patch.