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

ci: remove php 7.2 add 8.1 and 8.2 #255

Merged
merged 3 commits into from
Apr 19, 2023

Conversation

johnhooks
Copy link
Collaborator

@johnhooks johnhooks commented Apr 12, 2023

What?

Remove PHP 7.2 from CI test-suite.yml workflow.

Add PHP 8.1 and 8.2 to CI test-suite.yml workflow.

Also lint-staged formatted the yaml files to match the prettier rules for yaml, which uses 4 spaces for tabs.

Also remove set-output, there was a warning it is depreciated and will be removed soon.

Why?

The plugin header specifies minimum PHP support is 7.4.

@johnhooks johnhooks requested a review from erikyo April 12, 2023 04:20
@johnhooks johnhooks added the [Type] development tools Setting up and cofniguring tools to help with the development process. label Apr 12, 2023
erikyo
erikyo previously approved these changes Apr 12, 2023
Copy link
Collaborator

@erikyo erikyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@johnhooks
Copy link
Collaborator Author

@Sephsekla we need your review on this one.

@johnhooks johnhooks requested a review from Sephsekla April 12, 2023 17:19
@johnhooks johnhooks marked this pull request as draft April 12, 2023 19:47
@johnhooks johnhooks mentioned this pull request Apr 12, 2023
38 tasks
Sephsekla
Sephsekla previously approved these changes Apr 13, 2023
Copy link
Collaborator

@Sephsekla Sephsekla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am slightly wary that we'll need to enable support for older versions somewhere down the line due to WordPress' own support for ancient stuff. But for now happy to drop 7.2.

Can we add 8.2? Should be supported in beta as of WordPess 6.1.

@johnhooks johnhooks marked this pull request as ready for review April 13, 2023 12:08
@johnhooks
Copy link
Collaborator Author

@Sephsekla absolutely I will add 8.2. Also I think you can feel comfortable dropping 7.2, WP's minimum requirement right now is 7.4
https://wordpress.org/about/requirements/

@johnhooks johnhooks dismissed stale reviews from Sephsekla and erikyo via 7e2802a April 13, 2023 12:12
Sephsekla
Sephsekla previously approved these changes Apr 13, 2023
@johnhooks
Copy link
Collaborator Author

johnhooks commented Apr 13, 2023

@Sephsekla I can't squash and merge it. Do you think @erikyo and I could have permissions to override the checks? They are super helpful in most context, but there have been a lot of situations like this that we haven't be able to override them when necessary.

Required statuses must pass before merging

@johnhooks johnhooks changed the title ci: remove php 7.2 add 8.1 ci: remove php 7.2 add 8.1 and 8.2 Apr 16, 2023
@Sephsekla Sephsekla merged commit 0bc9c36 into WordPress:develop Apr 19, 2023
@johnhooks johnhooks deleted the ci/remove-php-72 branch April 19, 2023 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] development tools Setting up and cofniguring tools to help with the development process.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants