Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solves #1319
The Class
Symfony\Component\Debug\Exception\FatalThrowableError
no longer exists, therefor I just removed it and directly throw the Error instead of wrapping it in another Exception.From Laravel 7 onwards the report and render function also support
Throwable
instead of onlyException
This may also be a point where support for Laravel 7 can be dropped. (If you want only PHP ^8.0 Support, than it could also be considered to drop Laravel 8)
Laravel 6 gets security fixes until September 6th, 2022
Laravel 8 gets bugfixes until July 26th, 2022, security fixes until January 24th, 2023
See https://laravel.com/docs/9.x/releases#support-policy
How you can test these changes: