mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 05:23:03 +07:00
Bump minimum Xdebug version
This commit is contained in:
parent
a2b261d79a
commit
3376371dd8
@ -53,7 +53,7 @@ describe('Extension tests', () => {
|
|||||||
'7.4',
|
'7.4',
|
||||||
'linux'
|
'linux'
|
||||||
);
|
);
|
||||||
expect(linux).toContain('update_extension xdebug 2.9.2');
|
expect(linux).toContain('update_extension xdebug 2.9.3');
|
||||||
expect(linux).toContain('sudo $debconf_fix apt-get install -y php7.4-pcov');
|
expect(linux).toContain('sudo $debconf_fix apt-get install -y php7.4-pcov');
|
||||||
expect(linux).toContain(
|
expect(linux).toContain(
|
||||||
'sudo $debconf_fix apt-get install -y php7.4-sqlite3'
|
'sudo $debconf_fix apt-get install -y php7.4-sqlite3'
|
||||||
|
6
dist/index.js
vendored
6
dist/index.js
vendored
@ -2788,10 +2788,10 @@ async function addExtensionLinux(extension_csv, version, pipe) {
|
|||||||
' ' +
|
' ' +
|
||||||
version;
|
version;
|
||||||
return;
|
return;
|
||||||
// match 7.0xdebug..7.4xdebug
|
// match 7.1xdebug..7.4xdebug
|
||||||
case /^7\.[0-4]xdebug$/.test(version_extension):
|
case /^7\.[1-4]xdebug$/.test(version_extension):
|
||||||
script +=
|
script +=
|
||||||
'\nupdate_extension xdebug 2.9.2' +
|
'\nupdate_extension xdebug 2.9.3' +
|
||||||
pipe +
|
pipe +
|
||||||
'\n' +
|
'\n' +
|
||||||
(await utils.addLog('$tick', 'xdebug', 'Enabled', 'linux'));
|
(await utils.addLog('$tick', 'xdebug', 'Enabled', 'linux'));
|
||||||
|
@ -268,10 +268,10 @@ export async function addExtensionLinux(
|
|||||||
' ' +
|
' ' +
|
||||||
version;
|
version;
|
||||||
return;
|
return;
|
||||||
// match 7.0xdebug..7.4xdebug
|
// match 7.1xdebug..7.4xdebug
|
||||||
case /^7\.[0-4]xdebug$/.test(version_extension):
|
case /^7\.[1-4]xdebug$/.test(version_extension):
|
||||||
script +=
|
script +=
|
||||||
'\nupdate_extension xdebug 2.9.2' +
|
'\nupdate_extension xdebug 2.9.3' +
|
||||||
pipe +
|
pipe +
|
||||||
'\n' +
|
'\n' +
|
||||||
(await utils.addLog('$tick', 'xdebug', 'Enabled', 'linux'));
|
(await utils.addLog('$tick', 'xdebug', 'Enabled', 'linux'));
|
||||||
|
Loading…
Reference in New Issue
Block a user