Skip to content

Update Psalm, Rector, PHPUnit, and Biome - #191

Open
PDowney wants to merge 1 commit into
mainfrom
dependency-updates-2026-12
Open

PDowney wants to merge 1 commit into
mainfrom
dependency-updates-2026-12

Conversation

@PDowney

@PDowney PDowney commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Summary

The development tools, each at the newest release that is at least 7 days old (the cooldown Dependabot uses here):

Tool Before After
Psalm 7.16.0 7.21.0
Rector 2.8.5 2.9.2
PHPUnit 12.5.42 12.5.45
Biome 2.6.8 2.6.9
  • biome.json's schema address named 2.5.14; it now names 2.6.9.
  • rector.php: Rector 2.9 no longer applies withPreparedSets(earlyReturn: true); its rules moved to codeQuality (already on) and codingStyle.

Not updated:

  • Releases under 7 days old: Psalm 7.22 and later, pylint 4.1.5.
  • PHPUnit 13 needs PHP 8.4; the plugin supports PHP 8.3, and Dependabot's PHPUnit proposals stop at 13 for that reason.
  • Slevomat 8.23 and later need PHP_CodeSniffer 4, which WordPress Coding Standards 3 does not support.

Testing

Run locally before and after the update, all passing: composer check-all (PHPCS, PHPMD, Psalm, Psalm taint analysis, PHPStan, Rector with no changes and no warnings, and the PHPUnit suite, 224 tests), npm run lint:biome, npm run lint:md, and gitleaks.

🤖 Generated with Claude Code

Each at the newest release that is at least 7 days old, as Dependabot's
cooldown asks: Psalm 7.16.0 to 7.21.0, Rector 2.8.5 to 2.9.2, PHPUnit
12.5.42 to 12.5.45, and Biome 2.6.8 to 2.6.9 (biome.json's schema address
now matches it).

rector.php: Rector 2.9 no longer applies withPreparedSets(earlyReturn),
whose rules moved to codeQuality (on) and codingStyle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codacy-production

codacy-production Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (eae34a0) 1998 1923 96.25%
Head commit (0eef02b) 1998 (+0) 1923 (+0) 96.25% (+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 (#191) 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.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Thanks for contributing to EngineScript Site Optimizer!

Before we review:

  • Have you tested your changes with WordPress 7.0+?
  • Are your changes compatible with PHP 8.3+?
  • Have you followed WordPress coding standards?
  • Did you update the CHANGELOG.md if needed?

Security Reminder
This plugin stores per-site settings and emits browser resource hints, so please ensure:

  • All user input is properly sanitized
  • All output is properly escaped
  • No security vulnerabilities are introduced

We'll review your PR soon.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant