Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / console / Descriptor / ApplicationDescription.php
index 89961b9cae7da57b4e890108d4f9a4e40834f4ad..4c4a267fe09ceb87c39a3ee9a19081444aab7f28 100644 (file)
@@ -112,7 +112,7 @@ class ApplicationDescription
 
             /** @var Command $command */
             foreach ($commands as $name => $command) {
-                if (!$command->getName()) {
+                if (!$command->getName() || $command->isHidden()) {
                     continue;
                 }