mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 01:45:36 +08:00
Add filelist downloader debug message
This commit is contained in:
@@ -20,6 +20,7 @@ class FileList implements DownloadTypeInterface
|
|||||||
throw new DownloaderException("Failed to get {$name} file list from {$config['url']}");
|
throw new DownloaderException("Failed to get {$name} file list from {$config['url']}");
|
||||||
}
|
}
|
||||||
$versions = [];
|
$versions = [];
|
||||||
|
logger()->debug('Matched ' . count($matches['version']) . " versions for {$name}");
|
||||||
foreach ($matches['version'] as $i => $version) {
|
foreach ($matches['version'] as $i => $version) {
|
||||||
$lower = strtolower($version);
|
$lower = strtolower($version);
|
||||||
foreach (['alpha', 'beta', 'rc', 'pre', 'nightly', 'snapshot', 'dev'] as $beta) {
|
foreach (['alpha', 'beta', 'rc', 'pre', 'nightly', 'snapshot', 'dev'] as $beta) {
|
||||||
|
|||||||
Reference in New Issue
Block a user