@@ -55,6 +55,4 @@ |
||
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 |
@@ -55,6 +55,4 @@ |
||
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 |
@@ -55,6 +55,4 @@ |
||
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 |
@@ -55,6 +55,4 @@ |
||
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 |
@@ -55,6 +55,4 @@ |
||
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 |
@@ -49,6 +49,4 @@ |
||
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 |
@@ -49,6 +49,4 @@ |
||
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 |
@@ -49,6 +49,4 @@ |
||
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 |
@@ -49,6 +49,4 @@ |
||
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 |
@@ -49,6 +49,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -56,6 +56,4 @@ |
||
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 |
@@ -1699,8 +1699,4 @@ |
||
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 |
@@ -1699,8 +1699,4 @@ |
||
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 |
@@ -1213,20 +1213,20 @@ discard block |
||
1213 | 1213 | */ |
1214 | 1214 | public function printTargets(Project $project) |
1215 | 1215 | { |
1216 | - $visibleTargets = array_filter($project->getTargets(), function (Target $target) { |
|
1216 | + $visibleTargets = array_filter($project->getTargets(), function(Target $target) { |
|
1217 | 1217 | return !$target->isHidden() && !empty($target->getName()); |
1218 | 1218 | }); |
1219 | - $padding = array_reduce($visibleTargets, function (int $carry, Target $target) { |
|
1219 | + $padding = array_reduce($visibleTargets, function(int $carry, Target $target) { |
|
1220 | 1220 | return max(strlen($target->getName()), $carry); |
1221 | 1221 | }, 0); |
1222 | 1222 | $categories = [ |
1223 | - 'Default target:' => array_filter($visibleTargets, function (Target $target) use ($project) { |
|
1223 | + 'Default target:' => array_filter($visibleTargets, function(Target $target) use ($project) { |
|
1224 | 1224 | return trim(strval($target)) === $project->getDefaultTarget(); |
1225 | 1225 | }), |
1226 | - 'Main targets:' => array_filter($visibleTargets, function (Target $target) { |
|
1226 | + 'Main targets:' => array_filter($visibleTargets, function(Target $target) { |
|
1227 | 1227 | return !empty($target->getDescription()); |
1228 | 1228 | }), |
1229 | - 'Subtargets:' => array_filter($visibleTargets, function (Target $target) { |
|
1229 | + 'Subtargets:' => array_filter($visibleTargets, function(Target $target) { |
|
1230 | 1230 | return empty($target->getDescription()); |
1231 | 1231 | }), |
1232 | 1232 | ]; |
@@ -1246,7 +1246,7 @@ discard block |
||
1246 | 1246 | */ |
1247 | 1247 | private function generateTargetList(string $title, array $targets, int $padding): string |
1248 | 1248 | { |
1249 | - usort($targets, function (Target $a, Target $b) { |
|
1249 | + usort($targets, function(Target $a, Target $b) { |
|
1250 | 1250 | return $a->getName() <=> $b->getName(); |
1251 | 1251 | }); |
1252 | 1252 | |
@@ -1699,8 +1699,4 @@ discard block |
||
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 |
@@ -1699,8 +1699,4 @@ |
||
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 |
@@ -1699,8 +1699,4 @@ |
||
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 |