Skip to content

Conversation

@felixarntz
Copy link
Member

@felixarntz felixarntz commented Dec 6, 2025

Fixes #138.

Relevant technical choices

  • The problem in Composer dependency setup is broken #138 is caused due to some issues with the brittle plugin-check plugin inclusion just to use its PHPCS rules. That approach leads to problems because of including a plugin that itself depends on other PHPCS foundational pieces, without being able to declare that (since it's a plugin served from wpackagist, so it can't express its own dependencies properly).
  • The PR replaces the setup with a proper plugin-check.yml GitHub workflow that uses wordpress/plugin-check-action to run the full Plugin Check scanner. In addition to fixing the issue, it is more comprehensive.

Test using WordPress Playground

The changes in this pull request can be previewed and tested using this WordPress Playground instance:

Click here to test this pull request.

@felixarntz felixarntz marked this pull request as ready for review December 6, 2025 01:43
@github-actions
Copy link

github-actions bot commented Dec 6, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: felixarntz <[email protected]>
Co-authored-by: JasonTheAdams <[email protected]>
Co-authored-by: dkotter <[email protected]>
Co-authored-by: jeffpaul <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@felixarntz felixarntz added the [Type] Bug Something isn't working label Dec 6, 2025
fail-fast: true
matrix:
php:
- '8.3' # Currently the wordpress/plugin-check-action always uses the latest PHP version anyway.
Copy link
Member

Choose a reason for hiding this comment

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

If it's the latest version then should this be 8.4, @felixarntz?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Composer dependency setup is broken

3 participants