Completed
Push — feature/decoupled ( 5e8293...cc31bd )
by Webysther
02:21
created
src/Command/Clean.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
 /*
6 6
  * This file is part of the Packagist Mirror.
Please login to merge, or discard this patch.
src/Command/Base.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
 /*
6 6
  * This file is part of the Packagist Mirror.
Please login to merge, or discard this patch.
src/Command/Create.php 1 patch
Spacing   +5 added lines, -5 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
 /*
6 6
  * This file is part of the Packagist Mirror.
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
      *
172 172
      * @return bool True if work, false otherside
173 173
      */
174
-    protected function switch():Create
174
+    protected function switch ():Create
175 175
     {
176 176
         // If .packages.json dont exists
177 177
         if (!$this->filesystem->has(self::DOT)) {
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 
201 201
         $this->progressBar->start(count($this->providerIncludes));
202 202
 
203
-        $success = function ($body, $path) {
203
+        $success = function($body, $path) {
204 204
             $this->filesystem->write($path, $body);
205 205
         };
206 206
 
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      */
223 223
     protected function getClosureComplete():Closure
224 224
     {
225
-        return function () {
225
+        return function() {
226 226
             $this->progressBar->progress();
227 227
         };
228 228
     }
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
         $this->http->pool(
429 429
             $generator,
430 430
             // Success
431
-            function ($body, $path) {
431
+            function($body, $path) {
432 432
                 $this->filesystem->write($path, $body);
433 433
                 $this->package->setDownloaded($path);
434 434
             },
Please login to merge, or discard this patch.
src/IProgressBar.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
 /*
6 6
  * This file is part of the Packagist Mirror.
Please login to merge, or discard this patch.
src/Package.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
 /*
6 6
  * This file is part of the Packagist Mirror.
Please login to merge, or discard this patch.
src/ShortName.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
 /*
6 6
  * This file is part of the Packagist Mirror.
Please login to merge, or discard this patch.
src/Console.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
 /*
6 6
  * This file is part of the Packagist Mirror.
Please login to merge, or discard this patch.
src/Filesystem.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
 /*
6 6
  * This file is part of the Packagist Mirror.
Please login to merge, or discard this patch.
src/ProgressBar.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
 /*
6 6
  * This file is part of the Packagist Mirror.
Please login to merge, or discard this patch.