Skip to content

Releases: maksimovic/simple-fork-php

2.0.5

17 Mar 08:35
f798295

Choose a tag to compare

PHP 8.5 support, bug fix, and CI improvements

Bug Fix

  • Fixed Semaphore::remove() on PHP 8+ — the method was broken on PHP 8.0+ due to semaphore handles changing from resources to SysvSemaphore objects, causing is_resource() to return false. Now correctly handles both PHP 7 and 8+ using sem_remove().

PHP 8.5 Support

  • Added PHP 8.5 to the CI test matrix
  • Fixed implicit nullable parameter deprecation in Process::__construct() (string $name = null -> ?string $name = null)

CI Improvements

  • Replaced Docker-based php-actions/composer and php-actions/phpunit with direct CLI calls for faster builds
  • Code coverage now runs only on PHP 8.5 (other matrix jobs skip Xdebug)
  • CI triggers on push to master + pull requests (no more duplicate runs)
  • Bumped actions/checkout to v4, codecov-action to v4
  • PHP extensions installed via setup-php instead of the phpunit action

Test Coverage

  • Added tests for Process::getPid(), name(), isStarted(), isStopped()
  • Added tests for PipeQueue empty queue reads
  • Added tests for Semaphore double-remove error handling
  • Fixed assertFileDoesNotExist() for PHPUnit 8.5 compatibility (PHP 7.2)

What's Changed

  • PHP 8.5 support, CI improvements, and test coverage by @maksimovic in #5

Full Changelog: 2.0.3...2.0.5

2.0.3

25 Oct 13:11
c519533

Choose a tag to compare

Ensure support for PHP 8.3 and 8.4

What's Changed

  • update CI pipelines; a bit more test coverage by @maksimovic in #4

Full Changelog: 2.0.2...2.0.3

2.0.2

01 Sep 13:37
20e98e9

Choose a tag to compare

What's Changed

Full Changelog: 2.0.1...2.0.2

v2.0.1

29 Aug 23:08
7de68aa

Choose a tag to compare

What's Changed

Full Changelog: 2.0.0...2.0.1

v2.0.0

29 Aug 23:02
2acbffe

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.2.2...2.0.0