Completed
Pull Request — master (#671)
by Antonio
10:42 queued 07:34
created
tests/unit/ClassDiscovery/RelativeNamespaceDiscoveryTest.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     public function testGetClasses()
14 14
     {
15 15
         $classLoader = new ClassLoader();
16
-        $classLoader->addPsr4('\\Robo\\', [realpath(__DIR__.'/../../src')]);
16
+        $classLoader->addPsr4('\\Robo\\', [realpath(__DIR__ . '/../../src')]);
17 17
         $service = new RelativeNamespaceDiscovery($classLoader);
18 18
         $service->setRelativeNamespace('\Commands');
19 19
         $classes = $service->getClasses();
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     public function testGetFile()
26 26
     {
27 27
         $classLoader = new ClassLoader();
28
-        $classLoader->addPsr4('\\Robo\\', [realpath(__DIR__.'/../../src')]);
28
+        $classLoader->addPsr4('\\Robo\\', [realpath(__DIR__ . '/../../src')]);
29 29
         $service = new RelativeNamespaceDiscovery($classLoader);
30 30
         $service->setRelativeNamespace('\Commands');
31 31
 
Please login to merge, or discard this patch.