Breaking: Set minimum PHP version to 8.1 #572
Merged
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.
Discussed in #568
Originally posted by caendesilva October 24, 2022
As PHP 8.1 is starting to become more widespread, and Hyde's dependencies are increasingly adopt it, it's only a matter of time before we need to drop support for PHP 8.0. The very latest we can do this is in February next year when Laravel 10 (or as I like to call it, Laravel X) is released, which drops support for PHP 8.0. As will we have to.
Since changing the minimum PHP version will be a breaking change, and Hyde 1.0 is due to be released relatively soon, we may have to think about dropping support for 8.0.
I'd love to get some community feedback on this. What PHP versions are you using, and do you think it makes sense for HydePHP to keep on supporting 8.0?