Repository navigation
Drop VIP's deprecated DynamicCalls sniff; skip deleted branches - #184
Conversation
The VIP job's ruleset loads WordPress-VIP-Go, which excludes WordPressVIPMinimum.Functions.DynamicCalls, then added the whole Functions category back, so every run printed VIPCS 3.1's deprecation warning for that sniff. It now names the category's other three sniffs. The findings on the plugin's files are the same before and after. Branch Cleanup failed after merges that had already deleted their branch. Like the other three plugin repositories, it now checks that the branch exists first, and treats a missing branch as done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Coverage variation | ✅ +0.00% coverage variation (-1.00%) |
| Diff coverage | ✅ ∅ diff coverage |
Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (e1faacb) 871 841 96.56% Head commit (6e25e40) 871 (+0) 841 (+0) 96.56% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>
Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#184) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
|
Thanks for contributing to EngineScript Site Optimizer! Before we review:
Security Reminder
We'll review your PR soon. |
Summary
WordPress-VIP-Go, which excludesWordPressVIPMinimum.Functions.DynamicCalls, and then added the wholeFunctionscategory back. So every run printed VIPCS 3.1's warning that the standard "uses 1 deprecated sniff". The category reference is replaced by its other three sniffs:CheckReturnValue,RestrictedFunctions, andStripTags.release-2.3.0andcodacy-phpcs4failed with "Failed to delete branch", because the merge had already deleted the branch. The repository'sdelete_branch_on_mergesetting is off. The workflow now checks that the branch exists first and treats a missing branch as done, like the other three plugin repositories.git push --deleteno longer hides its own error output.The same VIP change goes to the other three plugin repositories in their own pull requests.
Testing
main), check-jsonschema (vendor.github-workflows), yamllint, and checkov are all clean.No changelog entry, because this changes CI only.
🤖 Generated with Claude Code