Skip to content

1.1.2

Choose a tag to compare

@deminy deminy released this 28 Aug 21:41
· 2 commits to master since this release
8c55cf6

Bug-fix release for the 1.x series. Supported versions are unchanged (~12.5.24 on PHP >= 8.3, ~13.0 on
PHP >= 8.4.1), and no test or consumer project needs changing.

Bug fixes

  • Process-isolated tests no longer break when counit runs through its Composer bin proxy (vendor/bin/counit
    how every consumer invokes it). PHPUnit replays the parent's included files into a global-state-preserving
    isolated child, dropping the entry script but special-casing only its own bin proxy — so counit's real binary,
    the second included file behind the proxy, was re-executed in the child, and every such test errored with "Test
    was run in child process and ended unexpectedly". The counit script now registers its paths in
    $GLOBALS['__PHPUNIT_ISOLATION_EXCLUDE_LIST']; the autoloader and counit's classes still reach the child, which
    keeps its plain blocking behavior. Swoole-independent, pinned by a new compatibility test rebuilding the proxy
    shape. Isolation still gains nothing from counit; docs/compatibility.md has details.
    (ad211fc)

Full changelog: 1.1.1...1.1.2