php-simple-captcha icon indicating copy to clipboard operation
php-simple-captcha copied to clipboard

Support for PHP 8.4

Open CatoTH opened this issue 1 year ago • 1 comments

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)

CatoTH avatar Nov 23 '24 08:11 CatoTH

I'll look into it, thanks!

S1SYPHOS avatar Nov 23 '24 21:11 S1SYPHOS