From 269d4fa5177f33740d03d4a8f35a306871ebdfb1 Mon Sep 17 00:00:00 2001 From: Doug Wright Date: Sun, 15 Sep 2024 19:02:41 +0100 Subject: [PATCH 1/2] #25 Pass `$branchPathConfig` during both passes --- src/Extension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extension.php b/src/Extension.php index 0b3b930..1b6febe 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -195,7 +195,7 @@ public function process(ContainerBuilder $container): void $canCollectCodeCoverage = true; try { - $this->initCodeCoverage(new Filter(), $filterConfig, null, $cacheDir, $output); + $this->initCodeCoverage(new Filter(), $filterConfig, $branchPathConfig, $cacheDir, $output); $codeCoverageDefinition = $container->getDefinition(CodeCoverage::class); $filterDefinition = $container->getDefinition(Filter::class); From bb785d553dd44643102bccb4054cdfad85bb1795 Mon Sep 17 00:00:00 2001 From: Doug Wright Date: Sun, 15 Sep 2024 19:04:02 +0100 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3d3dd9..be162ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] - 2024-xx-xx +## [5.3.2.1] - 2024-09-15 +### Fixed +- Better handling of PCOV and Xdebug running side by side + ## [5.3.2] - 2023-12-09 ### Added - Support for Symfony 7 @@ -107,8 +111,9 @@ - Support for Symfony components older than `<3.4` - Support for HHVM -[Unreleased]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.2..master +[Unreleased]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.2.1..master +[5.3.2.1]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.2..v5.3.2.1 [5.3.2]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.1..v5.3.2 [5.3.1]: https://github.com/dvdoug/behat-code-coverage/compare/v5.3.0..v5.3.1 [5.3.0]: https://github.com/dvdoug/behat-code-coverage/compare/v5.2.2..v5.3.0