Skip to content

0.3.2

Choose a tag to compare

@deminy deminy released this 28 Aug 21:41
· 79 commits to master since this release
76b5fb2

Bug-fix release for the PHPUnit 8/9 maintenance series, mirroring 1.1.2. Supported versions are unchanged
(PHPUnit ~8.0 / ~9.0 on PHP >= 7.2), and no test or consumer project needs changing.

Bug fixes

  • Any process-isolated test hung the run when counit ran through its Composer bin proxy (vendor/bin/counit),
    spawning child processes without bound until killed. Same root cause as 1.1.2 — the replay of the parent's
    included files re-executed counit's binary in the child — but PHPUnit 8/9 preserve global state by default, so
    every isolated test was affected, and the child's PHPUnit run re-discovered the isolated test class and recursed
    (observed downstream in swoole/library). The exclude-list registration covers both spellings —
    __PHPUNIT_ISOLATION_EXCLUDE_LIST as of PHPUnit 9.3, __PHPUNIT_ISOLATION_BLACKLIST since 8.0.0 — so every
    supported version is fixed; on PHP < 8 Composer's proxy includes through its phpvfscomposer:// wrapper, a shape
    that was never affected. Verified across the support matrix, with and without Swoole. (9c34927, 76b5fb2)

Full changelog: 0.3.1...0.3.2