@@ -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 |
@@ -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 |
@@ -1690,8 +1690,4 @@ |
||
1690 | 1690 | public static function shutdown(): void |
1691 | 1691 | { |
1692 | 1692 | FileSystem::getFileSystem()::deleteFilesOnExit(); |
1693 | - self::$msgOutputLevel = Project::MSG_INFO; |
|
1694 | - self::restoreIni(); |
|
1695 | - self::getTimer()->stop(); |
|
1696 | - } |
|
1697 | -} |
|
1693 | + self::$msgOutputLevel |
|
1698 | 1694 | \ No newline at end of file |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | public static function formatTime(float $seconds): string |
335 | 335 | { |
336 | 336 | /** @var int|float $number */ |
337 | - $getPlural = function ($number): string { |
|
337 | + $getPlural = function($number): string { |
|
338 | 338 | return $number == 1 ? '' : 's'; |
339 | 339 | }; |
340 | 340 | $chunks = []; |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | $chunks[] = intdiv($seconds, self::A_DAY); |
347 | 347 | $chunks[] = $getPlural(end($chunks)); |
348 | 348 | $seconds = fmod($seconds, self::A_DAY); |
349 | - $format .= '%u day%s '; |
|
349 | + $format .= '%u day%s '; |
|
350 | 350 | // Hours |
351 | 351 | case ($seconds >= self::AN_HOUR): |
352 | 352 | $chunks[] = intdiv($seconds, self::AN_HOUR); |
@@ -358,13 +358,13 @@ discard block |
||
358 | 358 | $chunks[] = intdiv($seconds, self::A_MINUTE); |
359 | 359 | $chunks[] = $getPlural(end($chunks)); |
360 | 360 | $seconds = fmod($seconds, self::A_MINUTE); |
361 | - $format .= '%u minute%s '; |
|
361 | + $format .= '%u minute%s '; |
|
362 | 362 | $precision = 2; |
363 | 363 | // Seconds |
364 | 364 | default: |
365 | 365 | $chunks[] = $seconds; |
366 | 366 | $chunks[] = $getPlural(end($chunks)); |
367 | - $format .= "%.{$precision}F second%s"; |
|
367 | + $format .= "%.{$precision}F second%s"; |
|
368 | 368 | break; |
369 | 369 | } |
370 | 370 |