Skip to content

Update ESLint to 10, eslint-plugin-unicorn to 80, Psalm, Rector, PHPUnit, Biome - #177

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
ESLint 9.39.5 10.15.0
eslint-plugin-unicorn 65.0.1 80.0.0
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
  • ESLint 10 and eslint-plugin-unicorn 80 go together: unicorn 80 needs ESLint 10.4 or later, and @wordpress/eslint-plugin 28.2.0 supports ESLint 9 and 10. Both ESLint configs (eslint.config.mjs, which Codacy reads, and eslint.wordpress.config.mjs) pass without changes.
  • 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:

  • Stylelint 18: @wordpress/stylelint-config 27.2.0 requires Stylelint 17.
  • Releases under 7 days old: ESLint 10.16, globals 17.15, 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), npm run lint:js, ESLint with eslint.config.mjs, npm run lint:css, npm run lint:biome, npm run lint:md, npm test, and gitleaks.

🤖 Generated with Claude Code

…nit, Biome

Each at the newest release that is at least 7 days old, as Dependabot's
cooldown asks:

- ESLint 9.39.5 to 10.15.0, with eslint-plugin-unicorn 65.0.1 to 80.0.0
  (it needs ESLint 10.4 or later). @wordpress/eslint-plugin 28.2.0 supports
  ESLint 9 and 10. Both ESLint configs pass without changes.
- Psalm 7.16.0 to 7.21.0, Rector 2.8.5 to 2.9.2, PHPUnit 12.5.42 to 12.5.45.
- Biome 2.6.8 to 2.6.9; biome.json's schema named 2.5.14.
- rector.php: Rector 2.9 no longer applies withPreparedSets(earlyReturn),
  whose rules moved to codeQuality (on) and codingStyle.

Not updated: Stylelint 18 (@wordpress/stylelint-config 27.2.0 needs
Stylelint 17), and releases under 7 days old (ESLint 10.16, globals 17.15,
Psalm 7.22+, pylint 4.1.5). PHPUnit 13 needs PHP 8.4; the plugin supports 8.3.

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 (a61df3d) 2613 1673 64.03%
Head commit (d3f56dd) 2613 (+0) 1673 (+0) 64.03% (+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 (#177) 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 Exporter!

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 creates site export archives, 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