Install the stable release of xdebug even on PHP 7.4RC

This commit is contained in:
Michele Locati
2019-11-25 16:35:11 +01:00
parent 981c662f5d
commit 0be846de83
3 changed files with 17 additions and 10 deletions

View File

@ -50,13 +50,7 @@ export async function addExtensionWindows(
let script = '\n';
await utils.asyncForEach(extensions, async function(extension: string) {
// add script to enable extension is already installed along with php
let minimum_stability = 'stable';
switch (version + extension.toLowerCase()) {
case '7.4xdebug':
minimum_stability = 'beta';
break;
}
script += '\nAdd-Extension ' + extension + ' ' + minimum_stability;
script += '\nAdd-Extension ' + extension;
});
return script;
}