Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for PHP 8.4 #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Support for PHP 8.4 #6

wants to merge 2 commits into from

Conversation

CatoTH
Copy link

@CatoTH CatoTH commented Nov 23, 2024

Hi!
It would be great if your library would support PHP 8.4 (without deprecations). Here would be my suggestion:

  • Use \Random\Randomizer::getRandom() instead of lcg_value (if available)
  • Added nullability to parameters when appropriate
  • Removed some null values if I couldn't find a nullable use (expect for from within test cases)
  • Removed default parameters before mandatory parameters
  • One unused import (unreleated)

@S1SYPHOS
Copy link
Owner

I'll look into it, thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants