Skip to content

Conversation

cosmastech
Copy link
Contributor

@cosmastech cosmastech commented Sep 30, 2025

relying on the result of require_once doesn't work if multiple packages are being uninstalled 😓 require_once returns true the second time it's called (TIL).

Instead, we leverage Container::getInstance() and live happily ever after. 🤞

See discussion: #57220

Thanks to @htulibacki for reporting this and helping test.

Co-authored-by: htulibacki <[email protected]>
@taylorotwell taylorotwell merged commit 0d1344c into laravel:12.x Sep 30, 2025
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants