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

Update 10up/phpcs-composer to version 3 and fix all newly flagged issues #641

Merged
merged 4 commits into from
Jan 8, 2024

Conversation

dkotter
Copy link
Collaborator

@dkotter dkotter commented Dec 14, 2023

Description of the Change

We utilize the 10up/phpcs-composer package and it recently pushed out a major update to 3.0.0. This update brings in major updates from multiple other packages, including much better support for PHP 8+. As such we should be using this in our projects whenever possible.

In making that update, lots of new issues were getting flagged which I've fixed in this PR. Majority of these are very minor things, like needing an extra space or deleting an extra space. But I know these sorts of fixes have caused problems in the past so definitely need a thorough eye on things here.

How to test the Change

  1. Ensure all changes look correct
  2. A thorough top-to-bottom testing of the plugin to ensure things still work as expected

Changelog Entry

Changed - Update 10up/phpcs-composer to version 3.0.0
Fixed - Address all new PHPCS issues

Credits

Props @dkotter

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@dkotter dkotter added this to the 3.0.0 milestone Dec 14, 2023
@dkotter dkotter self-assigned this Dec 14, 2023
@dkotter dkotter requested a review from a team as a code owner December 14, 2023 22:54
@dkotter dkotter removed the request for review from jeffpaul December 14, 2023 22:54
@jeffpaul jeffpaul requested review from a team and faisal-alvi and removed request for a team January 2, 2024 17:48
Copy link
Member

@faisal-alvi faisal-alvi left a comment

Choose a reason for hiding this comment

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

@dkotter thanks for the PR. LGTM.

Tested features:

  • ✅ Tagging
  • ✅ Excerpt Generation
  • ✅ Audio Transcripts
  • ✅ Title Generation
  • ✅ Expand or Condense Text
  • ✅ Text to Speech
  • ✅ Image Alt Text
  • ✅ Image Tagging
  • ✅ Generate Images

@dkotter dkotter merged commit cfed77f into develop Jan 8, 2024
13 checks passed
@dkotter dkotter deleted the feature/update-phpcs branch January 8, 2024 16:04
@dkotter dkotter modified the milestones: 3.0.0, 2.5.1 Jan 9, 2024
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