mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-12 15:54:08 +07:00
Fix xdebug setup
Co-authored-by: Owen Voke <development@voke.dev> Co-authored-by: Shivam Mathur <shivam_jpr@hotmail.com>
This commit is contained in:
@ -30,14 +30,7 @@ export async function addCoverageXdebug(
|
||||
'Xdebug enabled as coverage driver',
|
||||
os_version
|
||||
);
|
||||
switch (true) {
|
||||
case /^xdebug3$/.test(extension):
|
||||
case /^8\.\d$/.test(version):
|
||||
return '\n' + xdebug + '\n' + ini + '\n' + log;
|
||||
case /^xdebug$/.test(extension):
|
||||
default:
|
||||
return xdebug + '\n' + log;
|
||||
}
|
||||
return [xdebug, ini, log].join('\n');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user