filp / whoops

PHP errors for cool kids
http://filp.github.io/whoops/
MIT License
13.17k stars 602 forks source link

PHP 8.4 Beta - Implicitly marking parameter $system as nullable is deprecated #764

Open 3kbest opened 2 weeks ago

3kbest commented 2 weeks ago

Seen in: "filp/whoops": "2.15.4" and php:8.4.0beta4

PHP message: PHP Deprecated: Whoops\Run::__construct(): Implicitly marking parameter $system as nullable is deprecated, the explicit nullable type must be used instead in /vendor-dev/filp/whoops/src/Whoops/Run.php on line 84

https://github.com/filp/whoops/blob/a139776fa3f5985a50b509f2a02ff0f709d2a546/src/Whoops/Run.php#L84

Can be fixed by adding ? before SystemFacade