From 2f8570b59e63f1931871ef8de25be93cc4a19975 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Thu, 4 Dec 2025 21:19:11 +0800 Subject: [PATCH] Implement missing legacy options --- src/StaticPHP/Command/DownloadCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/StaticPHP/Command/DownloadCommand.php b/src/StaticPHP/Command/DownloadCommand.php index 967d3885..ab8e00a8 100644 --- a/src/StaticPHP/Command/DownloadCommand.php +++ b/src/StaticPHP/Command/DownloadCommand.php @@ -68,7 +68,8 @@ class DownloadCommand extends BaseCommand } // resolve package dependencies and get artifacts directly - $resolved = DependencyResolver::resolve($packages, [], !$this->getOption('without-suggests')); + $suggests = !($this->getOption('without-suggests') || $this->getOption('without-suggestions')); + $resolved = DependencyResolver::resolve($packages, [], $suggests); foreach ($resolved as $pkg_name) { $pkg = PackageLoader::getPackage($pkg_name); if ($artifact = $pkg->getArtifact()) {