Open Ocramius opened 2 years ago
PHPDBG support has been removed right now: https://github.com/sebastianbergmann/php-code-coverage/commit/c304be7d8aa00a71cf8fe763a4b92e14d3f67f4d
PHPUnit 10 pulled the plug and switched over: will prepare a patch for this, since we can otherwise no longer run coverage reports (which breaks mutation tests)
I still lack time/mood to combine matrix + action in one repository as I am still not that deep into the whole container registry push stuff, etc.
This change will introduce BC break to almost any project running infection.
We may also need to remove
phpdbg
, since runningphpdbg
withpcov
installed leads to segfaults.
phpdbg
is just an executable while pcov
is an extension. I wonder if there is a way to have dedicated phpdbg
php.ini which just does not load the pcov
extension?
I still lack time/mood to combine matrix + action in one repository as I am still not that deep into the whole container registry push stuff, etc.
Same: mostly trying to reduce the dependency upgrade noise caused by PHPUnit 10.
This change will introduce BC break to almost any project running infection.
I will go for 2.0.0
then :+1:
phpdbg
is just an executable whilepcov
is an extension. I wonder if there is a way to have dedicatedphpdbg
php.ini which just does not load thepcov
extension?
If we roll 2.0.0
and drop PHPDBG and PHP:<8.0
, I think we can get rid of the problem overall: WDYT?
If we roll 2.0.0 and drop PHPDBG and PHP:<8.0, I think we can get rid of the problem overall: WDYT? Yah, I think that might work.
Only thing I don't like about this is that this will then lead to upgrade maintenance in all repositories, including those which still have support for 7.4 which then have to release with a new version dropping 7.4 just because we dropped it as some extension is not properly installable in docker.
So I know that dropping old PHP versions usually provide "easy fixes" but since we are providing a CI pipeline here, it feels kinda weird that we start dropping "old" PHP versions. I still think it could be possible to have both phpdbg and pcov available, might just be a problem with enabling the pcov extension for the dbg SAPI which can probably be fixed in here:
Anyways, thats not the time to discuss this further. I'm fine with a new release - lets see how it will end. Maybe I'm just the panicking dude again while there is no reason to cry. 😅
Well, 7.x is gonna be in oldstable anyway, no?
The fact that we keep this to a new major is OK IMO :+1:
I just need to find the willpower to coordinate the releases xD
Hello guys, both this issue and https://github.com/laminas/laminas-continuous-integration-action/issues/149 seem have been addressed.
Can milestone 2.0.0
be closed then?
Hello, same question as @Slamdunk , can it be release ? thanks
See https://github.com/sebastianbergmann/php-code-coverage/issues/945
According to upstream maintainers,
phpdbg
coverage support is not really maintained, and we should therefore migrate away from it.We will likely need to ship
pcov
with our container, and use that for running tests.We may also need to remove
phpdbg
, since runningphpdbg
withpcov
installed leads to segfaults.