Passed
Push — siad007-patch-1 ( fc763d...159b8c )
by Siad
06:05
created
src/Phing/Task/System/Retry.php 1 patch
Switch Indentation   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -141,9 +141,4 @@
 block discarded – undo
141 141
                 $errorMessages .= PHP_EOL;
142 142
 
143 143
                 if ($this->retryDelay > 0) {
144
-                    sleep($this->retryDelay);
145
-                }
146
-            }
147
-        }
148
-    }
149
-}
144
+                    sleep($this->retryDelay
150 145
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Phing/Task/Optional/PDODelimitersTest.php 1 patch
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -210,6 +210,4 @@
 block discarded – undo
210 210
         $this->project->setProperty('bar.value', "some value");
211 211
         $this->project->executeTarget('test');
212 212
 
213
-        $this->assertEquals($expected, $this->queries);
214
-    }
215
-}
213
+        $this->assertEquals($expected, $this->queries
216 214
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Phing/Task/Optional/PHPStan/PHPStanListCommandBuilderTest.php 1 patch
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,6 +56,4 @@
 block discarded – undo
56 56
             The ' characters around the executable and arguments are not part of the command.
57 57
             CMD;
58 58
 
59
-        $this->assertEquals($expectedCommand, str_replace("\r", '', $task->getCommandline()->describeCommand()));
60
-    }
61
-}
59
+        $this->assertEquals($expectedCommand, str_replace("\r", '', $task->getCommandline
62 60
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Phing/Task/System/EchoXMLTest.php 1 patch
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,6 +55,4 @@
 block discarded – undo
55 55
 
56 56
     public function testEmpty(): void
57 57
     {
58
-        $this->expectBuildException('testEmpty', 'No nested XML specified');
59
-    }
60
-}
58
+        $this->expectBuildException
61 59
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Phing/Filter/StripWhitespaceTest.php 1 patch
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,6 +49,4 @@
 block discarded – undo
49 49
 
50 50
         $result = file_get_contents($resultFile->getAbsolutePath());
51 51
 
52
-        $this->assertEquals($expected, $result, "Files don't match!");
53
-    }
54
-}
52
+        $this->assertEquals($expected, $result
55 53
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Phing/Task/Optional/PHPStan/PHPStanAnalyseCommandBuilderTest.php 1 patch
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,6 +56,4 @@
 block discarded – undo
56 56
             The ' characters around the executable and arguments are not part of the command.
57 57
             CMD;
58 58
 
59
-        $this->assertEquals($expectedCommand, str_replace("\r", '', $task->getCommandline()->describeCommand()));
60
-    }
61
-}
59
+        $this->assertEquals($expectedCommand, str_replace("\r", '', $task->getCommandline
62 60
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Phing/Task/Optional/PHPStan/PHPStanHelpCommandBuilderTest.php 1 patch
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,6 +56,4 @@
 block discarded – undo
56 56
             The ' characters around the executable and arguments are not part of the command.
57 57
             CMD;
58 58
 
59
-        $this->assertEquals($expectedCommand, str_replace("\r", '', $task->getCommandline()->describeCommand()));
60
-    }
61
-}
59
+        $this->assertEquals($expectedCommand, str_replace("\r", '', $task->getCommandline
62 60
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Phing/Task/Optional/PHPStan/PHPStanCommandBuilderTest.php 1 patch
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,6 +56,4 @@
 block discarded – undo
56 56
             The ' characters around the executable and arguments are not part of the command.
57 57
             CMD;
58 58
 
59
-        $this->assertEquals($expectedCommand, str_replace("\r", '', $task->getCommandline()->describeCommand()));
60
-    }
61
-}
59
+        $this->assertEquals($expectedCommand, str_replace("\r", '', $task->getCommandline
62 60
\ No newline at end of file
Please login to merge, or discard this patch.
src/Phing/Phing.php 1 patch
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1699,8 +1699,4 @@
 block discarded – undo
1699 1699
     public static function shutdown(): void
1700 1700
     {
1701 1701
         FileSystem::getFileSystem()::deleteFilesOnExit();
1702
-        self::$msgOutputLevel = Project::MSG_INFO;
1703
-        self::restoreIni();
1704
-        self::getTimer()->stop();
1705
-    }
1706
-}
1702
+        self::$msgOutputLevel
1707 1703
\ No newline at end of file
Please login to merge, or discard this patch.