2.2.1
Fix: Virtual Packages in DownloadCommand
This release fixes an issue with the newly introduced virtual-packages
which were not used in the composer wp-translation-downloader:download
command. To reduce duplicated code, a new method Plugin::availablePackages(Composer $composer): array
was introduced, which is being used internally in Plugin
and in DownloadCommand
to guarantee the same collection of Composer\Package\PackageInterface
, when executing the command or using "auto-run": true
in configuration.