Passed
Push — master ( 16d5db...b99896 )
by Pol
02:19
created
src/Command/Touch.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 drupol\phpvfs\Command;
6 6
 
Please login to merge, or discard this patch.
src/Command/Exist.php 1 patch
Spacing   +2 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 drupol\phpvfs\Command;
6 6
 
@@ -25,8 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
             /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
27 27
             $cwd = $path->isAbsolute() ?
28
-                $vfs->getCwd()->root() :
29
-                $vfs->getCwd();
28
+                $vfs->getCwd()->root() : $vfs->getCwd();
30 29
 
31 30
             foreach ($path->getIterator() as $pathPart) {
32 31
                 $pathPartExist = false;
Please login to merge, or discard this patch.
src/Command/Cd.php 1 patch
Spacing   +2 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 drupol\phpvfs\Command;
6 6
 
@@ -24,8 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
         /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
26 26
         $cwd = $path->isAbsolute() ?
27
-            $vfs->getCwd()->root() :
28
-            $vfs->getCwd();
27
+            $vfs->getCwd()->root() : $vfs->getCwd();
29 28
 
30 29
         if ($path->isRoot()) {
31 30
             $vfs->setCwd($cwd);
Please login to merge, or discard this patch.
src/Command/CommandInterface.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 drupol\phpvfs\Command;
6 6
 
Please login to merge, or discard this patch.
src/Command/Get.php 1 patch
Spacing   +2 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 drupol\phpvfs\Command;
6 6
 
@@ -28,8 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
         /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
30 30
         $child = $path->isAbsolute() ?
31
-            $vfs->getCwd()->root() :
32
-            $vfs->getCwd();
31
+            $vfs->getCwd()->root() : $vfs->getCwd();
33 32
 
34 33
         foreach ($path->getIterator() as $pathPart) {
35 34
             $child = $child->containsAttributeId($pathPart);
Please login to merge, or discard this patch.
src/Utils/PathInterface.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 drupol\phpvfs\Utils;
6 6
 
Please login to merge, or discard this patch.
src/StreamWrapperInterface.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 drupol\phpvfs;
6 6
 
Please login to merge, or discard this patch.
src/Node/Directory.php 1 patch
Spacing   +5 added lines, -9 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 drupol\phpvfs\Node;
6 6
 
@@ -32,8 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
34 34
         $cwd = $path->isAbsolute() ?
35
-            $this->root() :
36
-            $this;
35
+            $this->root() : $this;
37 36
 
38 37
         foreach ($path->getIterator() as $pathPart) {
39 38
             $cwd = $cwd->containsAttributeId($pathPart);
@@ -111,8 +110,7 @@  discard block
 block discarded – undo
111 110
 
112 111
             /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
113 112
             $cwd = $path->isAbsolute() ?
114
-                $this->root() :
115
-                $this;
113
+                $this->root() : $this;
116 114
 
117 115
             foreach ($path->getIterator() as $pathPart) {
118 116
                 $pathPartExist = false;
@@ -150,8 +148,7 @@  discard block
 block discarded – undo
150 148
 
151 149
         /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
152 150
         $child = $path->isAbsolute() ?
153
-            $this->root() :
154
-            $this;
151
+            $this->root() : $this;
155 152
 
156 153
         foreach ($path->getIterator() as $pathPart) {
157 154
             $child = $child->containsAttributeId($pathPart);
@@ -195,8 +192,7 @@  discard block
 block discarded – undo
195 192
 
196 193
         /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
197 194
         $cwd = $path->isAbsolute() ?
198
-            $this->root() :
199
-            $this;
195
+            $this->root() : $this;
200 196
 
201 197
         $last = $path->getLastPart();
202 198
 
Please login to merge, or discard this patch.