Completed
Pull Request — master (#148)
by Théo
05:46
created
requirement-checker/tests/CheckerTest.php 1 patch
Spacing   +10 added lines, -10 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.
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $phpVersion = PHP_VERSION;
65 65
 
66
-        yield (function () use ($phpVersion) {
66
+        yield (function() use ($phpVersion) {
67 67
             return [
68 68
                 new RequirementCollection(),
69 69
                 IO::VERBOSITY_DEBUG,
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             ];
89 89
         })();
90 90
 
91
-        yield (function () use ($phpVersion) {
91
+        yield (function() use ($phpVersion) {
92 92
             return [
93 93
                 new RequirementCollection(),
94 94
                 IO::VERBOSITY_VERY_VERBOSE,
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         })();
115 115
 
116 116
         foreach ([IO::VERBOSITY_VERBOSE, IO::VERBOSITY_NORMAL, IO::VERBOSITY_QUIET] as $verbosity) {
117
-            yield (function () use ($verbosity) {
117
+            yield (function() use ($verbosity) {
118 118
                 return [
119 119
                     new RequirementCollection(),
120 120
                     $verbosity,
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             })();
125 125
         }
126 126
 
127
-        yield (function () use ($phpVersion) {
127
+        yield (function() use ($phpVersion) {
128 128
             $requirements = new RequirementCollection();
129 129
 
130 130
             $requirements->addRequirement(
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
             ];
165 165
         })();
166 166
 
167
-        yield (function () use ($phpVersion) {
167
+        yield (function() use ($phpVersion) {
168 168
             $requirements = new RequirementCollection();
169 169
 
170 170
             $requirements->addRequirement(
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
         })();
205 205
 
206 206
         foreach ([IO::VERBOSITY_VERBOSE, IO::VERBOSITY_NORMAL, IO::VERBOSITY_QUIET] as $verbosity) {
207
-            yield (function () use ($verbosity) {
207
+            yield (function() use ($verbosity) {
208 208
                 $requirements = new RequirementCollection();
209 209
 
210 210
                 $requirements->addRequirement(
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
             })();
228 228
         }
229 229
 
230
-        yield (function () use ($phpVersion) {
230
+        yield (function() use ($phpVersion) {
231 231
             $requirements = new RequirementCollection();
232 232
 
233 233
             $requirements->addRequirement(
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
         })();
276 276
 
277 277
         foreach ([IO::VERBOSITY_VERY_VERBOSE, IO::VERBOSITY_VERBOSE, IO::VERBOSITY_NORMAL] as $verbosity) {
278
-            yield (function () use ($verbosity, $phpVersion) {
278
+            yield (function() use ($verbosity, $phpVersion) {
279 279
                 $requirements = new RequirementCollection();
280 280
 
281 281
                 $requirements->addRequirement(
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
             })();
322 322
         }
323 323
 
324
-        yield (function () use ($phpVersion) {
324
+        yield (function() use ($phpVersion) {
325 325
             $requirements = new RequirementCollection();
326 326
 
327 327
             $requirements->addRequirement(
Please login to merge, or discard this patch.
requirement-checker/tests/PrinterTest.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.
requirement-checker/tests/IOTest.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.
requirement-checker/scoper.inc.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/RequirementChecker/AppRequirementsFactory.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/RequirementChecker/RequirementsDumper.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/Console/Command/Compile.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.
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
             'Registering compactors'
325 325
         );
326 326
 
327
-        $logCompactors = function (Compactor $compactor) use ($logger): void {
327
+        $logCompactors = function(Compactor $compactor) use ($logger): void {
328 328
             $compactorClassParts = explode('\\', get_class($compactor));
329 329
 
330 330
             if ('_HumbugBox' === substr($compactorClassParts[0], 0, strlen('_HumbugBox'))) {
Please login to merge, or discard this patch.