@@ -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 |