@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | $fh = fopen($tmpFile, 'w'); |
180 | 180 | |
181 | 181 | if (false !== $fh) { |
182 | - register_shutdown_function(static function () use ($tmpFile) { |
|
182 | + register_shutdown_function(static function() use ($tmpFile) { |
|
183 | 183 | unlink($tmpFile); |
184 | 184 | }); |
185 | 185 | |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | |
212 | 212 | $fh = fopen($tmpFile, 'w'); |
213 | 213 | if (false !== $fh) { |
214 | - register_shutdown_function(static function () use ($tmpFile) { |
|
214 | + register_shutdown_function(static function() use ($tmpFile) { |
|
215 | 215 | unlink($tmpFile); |
216 | 216 | }); |
217 | 217 |
@@ -33,7 +33,7 @@ |
||
33 | 33 | ); |
34 | 34 | |
35 | 35 | $arraySum = ''; |
36 | - array_walk_recursive($arr, static function ($item) use (&$arraySum) { |
|
36 | + array_walk_recursive($arr, static function($item) use (&$arraySum) { |
|
37 | 37 | $arraySum .= $item; |
38 | 38 | }); |
39 | 39 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | |
39 | 39 | protected function setUp(): void |
40 | 40 | { |
41 | - if (! class_exists(vfsStream::class)) { |
|
41 | + if (!class_exists(vfsStream::class)) { |
|
42 | 42 | $this->markTestSkipped('This test depends on the mikey179/vfsstream package being installed.'); |
43 | 43 | } |
44 | 44 | $this->parser = new IniFileParser(); |
@@ -32,7 +32,7 @@ |
||
32 | 32 | { |
33 | 33 | public function setUp(): void |
34 | 34 | { |
35 | - if (! class_exists('\Monolog\Logger')) { |
|
35 | + if (!class_exists('\Monolog\Logger')) { |
|
36 | 36 | $this->markTestSkipped('The Monolog tasks depend on the monolog/monolog package being installed.'); |
37 | 37 | } |
38 | 38 | } |
@@ -32,7 +32,7 @@ |
||
32 | 32 | { |
33 | 33 | public function setUp(): void |
34 | 34 | { |
35 | - if (! class_exists('VersionControl_Git')) { |
|
35 | + if (!class_exists('VersionControl_Git')) { |
|
36 | 36 | $this->markTestSkipped('The Git tasks depend on the pear/versioncontrol_git package being installed.'); |
37 | 37 | } |
38 | 38 | if (is_readable(PHING_TEST_BASE . '/tmp/git')) { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | { |
33 | 33 | public function setUp(): void |
34 | 34 | { |
35 | - if (! class_exists('VersionControl_Git')) { |
|
35 | + if (!class_exists('VersionControl_Git')) { |
|
36 | 36 | $this->markTestSkipped('The Git tasks depend on the pear/versioncontrol_git package being installed.'); |
37 | 37 | } |
38 | 38 | // set temp directory used by test cases |
@@ -101,7 +101,7 @@ |
||
101 | 101 | |
102 | 102 | public function setUp(): void |
103 | 103 | { |
104 | - if (! class_exists('VersionControl_Git')) { |
|
104 | + if (!class_exists('VersionControl_Git')) { |
|
105 | 105 | $this->markTestSkipped('The Git tasks depend on the pear/versioncontrol_git package being installed.'); |
106 | 106 | } |
107 | 107 | if (is_readable(PHING_TEST_BASE . '/tmp/git')) { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | |
36 | 36 | public function setUp(): void |
37 | 37 | { |
38 | - if (! class_exists('VersionControl_Git')) { |
|
38 | + if (!class_exists('VersionControl_Git')) { |
|
39 | 39 | $this->markTestSkipped('The Git tasks depend on the pear/versioncontrol_git package being installed.'); |
40 | 40 | } |
41 | 41 | $this->configureProject( |
@@ -26,7 +26,7 @@ |
||
26 | 26 | { |
27 | 27 | public function markTestAsSkippedWhenHgNotInstalled(): void |
28 | 28 | { |
29 | - if (! class_exists('\Siad007\VersionControl\HG\Factory')) { |
|
29 | + if (!class_exists('\Siad007\VersionControl\HG\Factory')) { |
|
30 | 30 | $this->markTestSkipped('The Git tasks depend on the siad007/versioncontrol_hg package being installed.'); |
31 | 31 | } |
32 | 32 |