Passed
Pull Request — master (#3)
by
unknown
03:16 queued 12s
created
tests/Camino/Path/DirectoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function testIsSubdirectoryPositive(): void
67 67
     {
68
-        $dir     = new Directory('/foo/bar/baz');
68
+        $dir = new Directory('/foo/bar/baz');
69 69
         $this->assertTrue($dir->isSubDirectoryOf(new Directory('/foo/bar')));
70 70
         $this->assertTrue($dir->isSubDirectoryOf(new Directory('/foo')));
71 71
         $this->assertTrue($dir->isSubDirectoryOf(new Directory('/')));
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public function testIsSubdirectoryNegative(): void
78 78
     {
79
-        $dir    = new Directory('/foo/bar');
79
+        $dir = new Directory('/foo/bar');
80 80
         $this->assertFalse($dir->isSubDirectoryOf(new Directory('/foo/bar/baz')));
81 81
         $this->assertFalse($dir->isSubDirectoryOf(new Directory('/fiz')));
82 82
         $this->assertFalse($dir->isSubDirectoryOf(new Directory('/fiz/baz')));
Please login to merge, or discard this patch.
src/Path/Base.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
             $path       = substr($path, 2);
109 109
         }
110 110
 
111
-		$slash = substr($path, 0, 1);
111
+        $slash = substr($path, 0, 1);
112 112
         if ($slash === '\\' || $slash === '/') {
113 113
             $this->root = trim($this->root, '/\\') . '/';
114 114
             $this->path = trim(str_replace('\\', '/', $path), '/');
Please login to merge, or discard this patch.