Files
pest/tests/Features
Caleb White fc17365bd1 fix(tia): suppress PHPUnit XML coverage during recording (#1845)
When phpunit.xml has <coverage> and <source> sections, PHPUnit
auto-initializes its code coverage driver which takes over
xdebug's coverage APIs. TIA's recorder then gets empty data
from xdebug_get_code_coverage(), resulting in zero recorded
edges and no graph being saved.

Inject --no-coverage into the arguments when TIA enters its
own recording mode (not piggybacking on an explicit coverage
report). This tells PHPUnit to ignore XML-configured coverage
reports, leaving xdebug free for TIA's per-test recording.

Having <coverage> and <source> in phpunit.xml is standard for
any project that generates coverage reports. Without this fix,
users must manually pass --no-coverage alongside --tia, which
is an unnecessary footgun.
2026-08-26 01:25:57 +05:30
..
2026-08-07 15:26:55 +01:00
2026-07-18 01:10:01 +01:00
2026-08-07 14:52:56 +01:00
2026-07-18 01:10:01 +01:00
2026-08-24 09:39:08 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00
2026-08-07 15:26:55 +01:00
2026-08-07 14:52:56 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00
2026-07-19 03:41:57 +01:00
2026-07-19 00:42:29 +01:00
2026-07-19 00:42:29 +01:00
2026-07-18 01:10:01 +01:00
2026-08-24 09:31:34 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00
2026-08-24 09:39:08 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00
2026-08-24 09:39:08 +01:00
2026-07-18 01:10:01 +01:00
2026-08-24 09:39:08 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00
2024-01-11 15:46:50 +00:00
2026-07-19 03:41:57 +01:00
2026-07-18 01:10:01 +01:00
2026-08-24 09:39:08 +01:00
2026-08-24 09:39:08 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00
2026-07-18 01:10:01 +01:00