Completed
Pull Request — master (#1)
by Théo
02:53 queued 01:18
created
src/Application.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
 /*
6 6
  * This file is part of the box project.
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     {
40 40
         // convert errors to exceptions
41 41
         set_error_handler(
42
-            function ($code, $message, $file, $line): void {
42
+            function($code, $message, $file, $line): void {
43 43
                 if (error_reporting() & $code) {
44 44
                     throw new ErrorException($message, 0, $code, $file, $line);
45 45
                 }
Please login to merge, or discard this patch.
src/Command/Info.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 box project.
Please login to merge, or discard this patch.
src/Command/Verify.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 box project.
Please login to merge, or discard this patch.
src/Command/Configurable.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 box project.
Please login to merge, or discard this patch.
src/Command/AbstractCommand.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 box project.
Please login to merge, or discard this patch.
src/Command/Validate.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 box project.
Please login to merge, or discard this patch.
fixtures/Command/TestConfigurable.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 box project.
Please login to merge, or discard this patch.
src/Command/Build.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
 /*
6 6
  * This file is part of the box project.
@@ -682,7 +682,7 @@  discard block
 block discarded – undo
682 682
         return $main;
683 683
     }
684 684
 
685
-    private function registerStub(Configuration $config, Box $box, ?string $main, BuildLogger $logger): void
685
+    private function registerStub(Configuration $config, Box $box, ?string $main, BuildLogger $logger) : void
686 686
     {
687 687
         if (true === $config->isStubGenerated()) {
688 688
             $logger->log(
@@ -830,7 +830,7 @@  discard block
 block discarded – undo
830 830
         ?string $message,
831 831
         bool $binary,
832 832
         BuildLogger $logger
833
-    ): void {
833
+    ) : void {
834 834
         static $count = 0;
835 835
 
836 836
         if (null === $iterator) {
@@ -878,7 +878,7 @@  discard block
 block discarded – undo
878 878
         }
879 879
     }
880 880
 
881
-    private function createStub(Configuration $config, ?string $main, BuildLogger $logger): StubGenerator
881
+    private function createStub(Configuration $config, ?string $main, BuildLogger $logger) : StubGenerator
882 882
     {
883 883
         $stub = StubGenerator::create()
884 884
             ->alias($config->getAlias())
Please login to merge, or discard this patch.
src/Helper/ConfigurationHelper.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
 /*
6 6
  * This file is part of the box project.
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         return realpath(self::FILE_NAME);
67 67
     }
68 68
 
69
-    public function loadFile(?string $file): Configuration
69
+    public function loadFile(?string $file) : Configuration
70 70
     {
71 71
         if (null === $file) {
72 72
             $file = $this->findDefaultPath();
Please login to merge, or discard this patch.