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

Require minimum PHP 8.0 #239

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

kimpepper
Copy link
Contributor

Description

PHP 7.4 was EOL 2 years ago (Nov 2022). We want to use modern PHP features such as static return types. This requires PHP 8.0+

Issues Resolved

Fixes build failure in #238

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Kim Pepper <kim@pepper.id.au>
@dblock
Copy link
Member

dblock commented Nov 8, 2024

Good with me. Add to CHANGELOG ("Removed support for PHP 7.x.").

Generally this is considered a breaking change, we tend to do those if there's a real reason to do it (e.g. unnecessarily difficult to maintain, etc.). Static types is a good reason.

Signed-off-by: Kim Pepper <kim@pepper.id.au>
@dblock dblock merged commit f78f215 into opensearch-project:main Nov 13, 2024
47 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