You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently ran composer update, which pulled in the latest Laravel version. My tests started reported errors that didn't previously exist, which indicates a breaking change.
After some investigation, I discovered that it was caused by #49433, which no longer accepts null as a valid value for functions like app_path, base_path, public_path, etc.
While substituting an empty string instead of null fixes the issue, I wouldn't expect to have to update my project like this unless I was making a major Laravel upgrade (e.g. L11).
Steps To Reproduce
Within php artisan tinker:
base_path(null); // Works on Laravel 10.38.0; throws exception on Laravel 10.38.1