Passed
Push — dependabot/composer/aws/aws-sd... ( d1ac1c...15f0b9 )
by Siad
15:20 queued 08:05
created
src/Phing/Phing.php 5 patches
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.
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.
Spacing   +7 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1213,20 +1213,20 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 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.
Braces   +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.
Upper-Lower-Casing   +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.