Passed
Push — dev-1817 ( 07e35d )
by Michiel
08:39
created
tests/Phing/Test/Task/Ext/Analyzer/SonarConfigurationFileParserTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Phing/Test/Task/System/PhpEvalTaskTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Phing/Test/Io/IniFileParserTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
tests/Phing/Test/Listener/MonologListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
tests/Phing/Test/Task/Ext/Git/GitBranchTaskTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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')) {
Please login to merge, or discard this patch.
tests/Phing/Test/Task/Ext/Git/GitCloneTaskTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
tests/Phing/Test/Task/Ext/Git/GitLogTaskTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
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')) {
Please login to merge, or discard this patch.
tests/Phing/Test/Task/Ext/Git/GitBaseTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
tests/Phing/Test/Task/Ext/Hg/HgTaskTestSkip.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.