Completed
Pull Request — master (#448)
by
unknown
08:31
created
phpmetrics/tests/binary/BinTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /** @return void */
13 13
     public function setUp()
14 14
     {
15
-        $this->phar = __DIR__ . '/../../bin/phpmetrics';
15
+        $this->phar = __DIR__.'/../../bin/phpmetrics';
16 16
     }
17 17
 
18 18
     public function testICanRunBinFile()
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function testICanProvideOneDirectoryToParse()
26 26
     {
27
-        $command = sprintf('%s --exclude="" %s 2>&1', $this->phar, __DIR__ . '/examples/1');
27
+        $command = sprintf('%s --exclude="" %s 2>&1', $this->phar, __DIR__.'/examples/1');
28 28
         $r = shell_exec($command);
29 29
 
30 30
         $this->assertNotNull($r);
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
         $command = sprintf(
39 39
             '%s --exclude="" %s,%s  2>&1',
40 40
             $this->phar,
41
-            __DIR__ . '/examples/1',
42
-            __DIR__ . '/examples/2'
41
+            __DIR__.'/examples/1',
42
+            __DIR__.'/examples/2'
43 43
         );
44 44
         $r = shell_exec($command);
45 45
 
Please login to merge, or discard this patch.
phpmetrics/tests/binary/PharTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /** @return void */
13 13
     public function setUp()
14 14
     {
15
-        $this->phar = __DIR__ . '/../../releases/phpmetrics.phar';
15
+        $this->phar = __DIR__.'/../../releases/phpmetrics.phar';
16 16
     }
17 17
 
18 18
     public function testICanRunPhar()
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     public function testICanProvideOneDirectoryToParse()
28 28
     {
29
-        $command = sprintf('%s --exclude="" %s 2>&1', $this->phar, __DIR__ . '/examples/1');
29
+        $command = sprintf('%s --exclude="" %s 2>&1', $this->phar, __DIR__.'/examples/1');
30 30
         $r = shell_exec($command);
31 31
 
32 32
         $this->assertNotNull($r);
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
         $command = sprintf(
41 41
             '%s --exclude="" %s,%s  2>&1',
42 42
             $this->phar,
43
-            __DIR__ . '/examples/1',
44
-            __DIR__ . '/examples/2'
43
+            __DIR__.'/examples/1',
44
+            __DIR__.'/examples/2'
45 45
         );
46 46
         $r = shell_exec($command);
47 47
 
Please login to merge, or discard this patch.
phpmetrics/tests/binary/ReportTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /** @return void */
13 13
     public function setUp()
14 14
     {
15
-        $this->phar = __DIR__ . '/../../bin/phpmetrics';
15
+        $this->phar = __DIR__.'/../../bin/phpmetrics';
16 16
     }
17 17
 
18 18
     public function testICanRunBinFile()
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function testICanProvideOneDirectoryToParse()
26 26
     {
27
-        $command = sprintf('%s --exclude="" %s 2>&1', $this->phar, __DIR__ . '/examples/1');
27
+        $command = sprintf('%s --exclude="" %s 2>&1', $this->phar, __DIR__.'/examples/1');
28 28
         $r = shell_exec($command);
29 29
 
30 30
         $this->assertNotNull($r);
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
         $command = sprintf(
39 39
             '%s --exclude="" %s,%s  2>&1',
40 40
             $this->phar,
41
-            __DIR__ . '/examples/1',
42
-            __DIR__ . '/examples/2'
41
+            __DIR__.'/examples/1',
42
+            __DIR__.'/examples/2'
43 43
         );
44 44
         $r = shell_exec($command);
45 45
 
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
             '%s --report-csv="%s" %s,%s  2>&1',
60 60
             $this->phar,
61 61
             $destination,
62
-            __DIR__ . '/examples/1',
63
-            __DIR__ . '/examples/2'
62
+            __DIR__.'/examples/1',
63
+            __DIR__.'/examples/2'
64 64
         );
65 65
         shell_exec($command);
66 66
         $this->assertFileExists($destination);
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
             '%s --report-json="%s" %s,%s  2>&1',
77 77
             $this->phar,
78 78
             $destination,
79
-            __DIR__ . '/examples/1',
80
-            __DIR__ . '/examples/2'
79
+            __DIR__.'/examples/1',
80
+            __DIR__.'/examples/2'
81 81
         );
82 82
         shell_exec($command);
83 83
         $this->assertFileExists($destination);
Please login to merge, or discard this patch.