Your Environment
- OS and Version: nginx-fpm (version nginx/1.28.0)
- PHP Version: 8.4.7
- Sentinel Version: 9.0.0
Actual behaviour
After upgrading PHP to 8.4 and Laravel to version 12, when running any Composer or Artisan command in the terminal, multiple Implicitly marking parameter xxx as nullable is deprecated warnings are displayed.
For example:
PHP Deprecated: Cartalyst\Sentinel\Activations\IlluminateActivationRepository::get(): Implicitly marking parameter $code as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/cartalyst/sentinel/src/Activations/IlluminateActivationRepository.php on line 84
Your Environment
Actual behaviour
After upgrading PHP to 8.4 and Laravel to version 12, when running any Composer or Artisan command in the terminal, multiple
Implicitly marking parameter xxx as nullable is deprecatedwarnings are displayed.For example:
PHP Deprecated: Cartalyst\Sentinel\Activations\IlluminateActivationRepository::get(): Implicitly marking parameter $code as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/cartalyst/sentinel/src/Activations/IlluminateActivationRepository.php on line 84