mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Show xdebug.mode=coverage log for Xdebug 3.0
This commit is contained in:
parent
1d50c4a8cd
commit
f64dddeeb4
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -3007,8 +3007,7 @@ const config = __importStar(__webpack_require__(641));
|
|||||||
async function addCoverageXdebug(extension, version, os_version, pipe) {
|
async function addCoverageXdebug(extension, version, os_version, pipe) {
|
||||||
const xdebug = (await extensions.addExtension(extension, version, os_version, true)) +
|
const xdebug = (await extensions.addExtension(extension, version, os_version, true)) +
|
||||||
pipe;
|
pipe;
|
||||||
const ini = (await config.addINIValues('xdebug.mode=coverage', os_version, true)) +
|
const ini = await config.addINIValues('xdebug.mode=coverage', os_version, true);
|
||||||
pipe;
|
|
||||||
const log = await utils.addLog('$tick', extension, 'Xdebug enabled as coverage driver', os_version);
|
const log = await utils.addLog('$tick', extension, 'Xdebug enabled as coverage driver', os_version);
|
||||||
switch (true) {
|
switch (true) {
|
||||||
case /^xdebug3$/.test(extension):
|
case /^xdebug3$/.test(extension):
|
||||||
|
@ -19,9 +19,11 @@ export async function addCoverageXdebug(
|
|||||||
const xdebug =
|
const xdebug =
|
||||||
(await extensions.addExtension(extension, version, os_version, true)) +
|
(await extensions.addExtension(extension, version, os_version, true)) +
|
||||||
pipe;
|
pipe;
|
||||||
const ini =
|
const ini = await config.addINIValues(
|
||||||
(await config.addINIValues('xdebug.mode=coverage', os_version, true)) +
|
'xdebug.mode=coverage',
|
||||||
pipe;
|
os_version,
|
||||||
|
true
|
||||||
|
);
|
||||||
const log = await utils.addLog(
|
const log = await utils.addLog(
|
||||||
'$tick',
|
'$tick',
|
||||||
extension,
|
extension,
|
||||||
|
Loading…
Reference in New Issue
Block a user