Completed
Pull Request — master (#671)
by Antonio
03:05
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
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
     public function testConvertPathToNamespaceData()
54 54
     {
55 55
         return [
56
-          ['/A/B/C', $this->getPath('A\B\C')],
57
-          ['A/B/C', $this->getPath('A\B\C')],
58
-          ['A/B/C', $this->getPath('A\B\C')],
59
-          ['A/B/C.php', $this->getPath('A\B\C')],
56
+            ['/A/B/C', $this->getPath('A\B\C')],
57
+            ['A/B/C', $this->getPath('A\B\C')],
58
+            ['A/B/C', $this->getPath('A\B\C')],
59
+            ['A/B/C.php', $this->getPath('A\B\C')],
60 60
         ];
61 61
     }
62 62
 
@@ -77,9 +77,9 @@  discard block
 block discarded – undo
77 77
     public function testConvertNamespaceToPathData()
78 78
     {
79 79
         return [
80
-          ['A\B\C', $this->getPath('/A/B/C')],
81
-          ['\A\B\C\\', $this->getPath('/A/B/C')],
82
-          ['A\B\C\\', $this->getPath('/A/B/C')],
80
+            ['A\B\C', $this->getPath('/A/B/C')],
81
+            ['\A\B\C\\', $this->getPath('/A/B/C')],
82
+            ['A\B\C\\', $this->getPath('/A/B/C')],
83 83
         ];
84 84
     }
85 85
 
Please login to merge, or discard this patch.