@@ -12,7 +12,7 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -12,7 +12,7 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -12,7 +12,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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); |