Repository navigation
Run CI from PHP 7.4, the minimum the plugin declares - #209
Merged
Merged
Conversation
The plugin header and readme say PHP 7.4, but CI started at 8.2 and composer.json required 8.2. Lint now runs on 7.4 through 8.5, the tests get a PHP 7.4 leg, and composer.json requires 7.4 to match the header. The dev tools still need a newer PHP, so the lint job installs them on 8.3 first and the test job leaves out the tools it does not use. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Test on Playground |
🔍 WordPress Plugin Check Report
📊 Report
|
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
0 |
textdomain_mismatch | The "Text Domain" header in the plugin file does not match the slug. Found "yoast-comment-hacks", expected "comment-hacks". |
🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The plugin header and
readme.txtdeclare PHP 7.4 as the minimum, but CI started at PHP 8.2 andcomposer.jsonrequired 8.2, so 7.4 to 8.1 were never exercised."php": ">=8.2"becomes">=7.4"to match the header.composer.lockonly changes its hash and platform entry.Locally, every PHP file passes
php -lon PHP 7.4.33.🤖 Generated with Claude Code