@@ -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 | 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 | if (is_readable(PHING_TEST_BASE . '/tmp/git')) { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | { |
| 32 | 32 | public function setUp(): void |
| 33 | 33 | { |
| 34 | - if (! class_exists('VersionControl_Git')) { |
|
| 34 | + if (!class_exists('VersionControl_Git')) { |
|
| 35 | 35 | $this->markTestSkipped('The Git tasks depend on the pear/versioncontrol_git package being installed.'); |
| 36 | 36 | } |
| 37 | 37 | 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 |