Completed
Pull Request — master (#671)
by Antonio
10:42 queued 07:34
created
src/ClassDiscovery/RelativeNamespaceDiscovery.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@
 block discarded – undo
91 91
     {
92 92
         $finder = new Finder();
93 93
         $finder->files()
94
-          ->name($pattern)
95
-          ->in($directories);
94
+            ->name($pattern)
95
+            ->in($directories);
96 96
 
97 97
         return $finder;
98 98
     }
Please login to merge, or discard this patch.
tests/unit/ClassDiscovery/RelativeNamespaceDiscoveryTest.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -47,10 +47,10 @@  discard block
 block discarded – undo
47 47
     public function testConvertPathToNamespaceData()
48 48
     {
49 49
         return [
50
-          ['/A/B/C', $this->normalizePath('A\B\C')],
51
-          ['A/B/C', $this->normalizePath('A\B\C')],
52
-          ['A/B/C', $this->normalizePath('A\B\C')],
53
-          ['A/B/C.php', $this->normalizePath('A\B\C')],
50
+            ['/A/B/C', $this->normalizePath('A\B\C')],
51
+            ['A/B/C', $this->normalizePath('A\B\C')],
52
+            ['A/B/C', $this->normalizePath('A\B\C')],
53
+            ['A/B/C.php', $this->normalizePath('A\B\C')],
54 54
         ];
55 55
     }
56 56
 
@@ -70,9 +70,9 @@  discard block
 block discarded – undo
70 70
     public function testConvertNamespaceToPathData()
71 71
     {
72 72
         return [
73
-          ['A\B\C', $this->normalizePath('/A/B/C')],
74
-          ['\A\B\C\\', $this->normalizePath('/A/B/C')],
75
-          ['A\B\C\\', $this->normalizePath('/A/B/C')],
73
+            ['A\B\C', $this->normalizePath('/A/B/C')],
74
+            ['\A\B\C\\', $this->normalizePath('/A/B/C')],
75
+            ['A\B\C\\', $this->normalizePath('/A/B/C')],
76 76
         ];
77 77
     }
78 78
 
Please login to merge, or discard this patch.