Completed
Pull Request — master (#36)
by Théo
02:54
created
fixtures/set002/original/file.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace MyNamespace;
Please login to merge, or discard this patch.
fixtures/set002/scoped/file.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare (strict_types=1);
3
+declare (strict_types = 1);
4 4
 namespace MyPrefix\MyNamespace;
5 5
 
Please login to merge, or discard this patch.
fixtures/set001/file.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace MyNamespace;
Please login to merge, or discard this patch.
src/Logger/ConsoleLogger.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 humbug/php-scoper package.
Please login to merge, or discard this patch.
src/Console/Command/AddPrefixCommand.php 2 patches
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 humbug/php-scoper package.
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $fileSystem = $this->fileSystem;
107 107
 
108 108
         $paths = array_map(
109
-            function (string $path) use ($cwd, $fileSystem) {
109
+            function(string $path) use ($cwd, $fileSystem) {
110 110
                 if (false === $fileSystem->isAbsolutePath($path)) {
111 111
                     return $cwd.DIRECTORY_SEPARATOR.$path;
112 112
                 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 use Symfony\Component\Console\Input\InputInterface;
23 23
 use Symfony\Component\Console\Input\InputOption;
24 24
 use Symfony\Component\Console\Output\OutputInterface;
25
-use Symfony\Component\Console\Question\ConfirmationQuestion;
26 25
 use Symfony\Component\Console\Style\OutputStyle;
27 26
 use Symfony\Component\Console\Style\SymfonyStyle;
28 27
 use Symfony\Component\Filesystem\Filesystem;
Please login to merge, or discard this patch.
src/NodeVisitor/UseNamespaceScoperNodeVisitor.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 humbug/php-scoper package.
Please login to merge, or discard this patch.
src/NodeVisitor/GroupUseNamespaceScoperNodeVisitor.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 humbug/php-scoper package.
Please login to merge, or discard this patch.
src/NodeVisitor/NamespaceScoperNodeVisitor.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 humbug/php-scoper package.
Please login to merge, or discard this patch.
src/NodeVisitor/ParentNodeVisitor.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 humbug/php-scoper package.
Please login to merge, or discard this patch.