Skip to content

Restore PHP 8.1 randomizer compatibility - #2

Merged
Gruven merged 1 commit into
developfrom
fix/php-randomizer-compatibility
Aug 25, 2026
Merged

Gruven merged 1 commit into
developfrom
fix/php-randomizer-compatibility

Conversation

@Gruven

@Gruven Gruven commented Aug 25, 2026

Copy link
Copy Markdown
Member

Summary

  • add the Arokettu Random extension polyfill for PHP 8.1
  • keep native Randomizer::getFloat() on PHP 8.3+ and use an exact gamma-section fallback on PHP 8.1/8.2
  • verify the fallback against deterministic sequences captured from PHP 8.3

Testing

  • full Docker PHPUnit suite on PHP 8.1: 3680 tests, 16511 assertions, 2 skipped
  • targeted analyzer and parity tests on PHP 8.1, 8.2, and 8.3
  • Docker PHPStan analysis
  • Docker PHP_CodeSniffer standards
  • Composer validation

@Gruven Gruven self-assigned this Aug 25, 2026
@Gruven
Gruven merged commit 6384225 into develop Aug 25, 2026
20 checks passed
@Gruven
Gruven deleted the fix/php-randomizer-compatibility branch August 25, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant