Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] throw file-system exceptions by default #6030

Closed
wants to merge 1 commit into from
Closed

[10.x] throw file-system exceptions by default #6030

wants to merge 1 commit into from

Conversation

ankurk91
Copy link
Contributor

@ankurk91 ankurk91 commented Nov 14, 2022

Ref laravel/framework#41308

Laravel 8 used to throw file-system excretions but
Laravel 9 changed this behaviour and made it configurable instead.

This PR brings back the Laravel 8 behaviour and throw exceptions by default.
I think most of Laravel 9 developers are living in dark and unknown about this behaviour.

Exceptions are good :)

@driesvints
Copy link
Member

I'd personally vote against this breaking change as it'd involve a lot of changes to existing apps that use the filesystem.

@ankurk91
Copy link
Contributor Author

ankurk91 commented Nov 14, 2022

@driesvints
It will not impact on existing apps, since their config file will still have this toggle as false.

The exceptions are still configurable, and can be disabled to reduce the change need to upgrade to v10

@driesvints
Copy link
Member

@ankurk91 that's true.

@taylorotwell
Copy link
Member

We can think about this closer to release but there hasn't been a huge demand for it or anything.

@ankurk91
Copy link
Contributor Author

@taylorotwell
Would you consider this change now?

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.

3 participants