Completed
Pull Request — master (#671)
by Antonio
05:52
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
@@ -49,10 +49,10 @@  discard block
 block discarded – undo
49 49
     public function testConvertPathToNamespaceData()
50 50
     {
51 51
         return [
52
-          ["{$this->separator}A{$this->separator}B{$this->separator}C", 'A\B\C'],
53
-          ["A{$this->separator}B{$this->separator}C", 'A\B\C'],
54
-          ["A{$this->separator}B{$this->separator}C", 'A\B\C'],
55
-          ["A{$this->separator}B{$this->separator}C.php", 'A\B\C'],
52
+            ["{$this->separator}A{$this->separator}B{$this->separator}C", 'A\B\C'],
53
+            ["A{$this->separator}B{$this->separator}C", 'A\B\C'],
54
+            ["A{$this->separator}B{$this->separator}C", 'A\B\C'],
55
+            ["A{$this->separator}B{$this->separator}C.php", 'A\B\C'],
56 56
         ];
57 57
     }
58 58
 
@@ -72,9 +72,9 @@  discard block
 block discarded – undo
72 72
     public function testConvertNamespaceToPathData()
73 73
     {
74 74
         return [
75
-          ['A\B\C', "{$this->separator}A{$this->separator}B{$this->separator}C"],
76
-          ['\A\B\C\\', "{$this->separator}A{$this->separator}B{$this->separator}C"],
77
-          ['A\B\C\\', "{$this->separator}A{$this->separator}B{$this->separator}C"],
75
+            ['A\B\C', "{$this->separator}A{$this->separator}B{$this->separator}C"],
76
+            ['\A\B\C\\', "{$this->separator}A{$this->separator}B{$this->separator}C"],
77
+            ['A\B\C\\', "{$this->separator}A{$this->separator}B{$this->separator}C"],
78 78
         ];
79 79
     }
80 80
 
Please login to merge, or discard this patch.