Skip to content

2.2.1

Choose a tag to compare

@Chrico Chrico released this 25 May 11:28
· 56 commits to master since this release
5edb344

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.