Skip to content

chore(harness): update to v0.1.44, lift the PHPStan cap to ^2.4 - #31

Merged
ogorzalka merged 2 commits into
mainfrom
chore/phpstan-2.4-harness-0.1.44
Dec 6, 2026
Merged

ogorzalka merged 2 commits into
mainfrom
chore/phpstan-2.4-harness-0.1.44

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

Same approach as Pollora/framework#770, development only.

  • phpstan/phpstan ^2.4 (cap below 2.3.6 lifted), pestphp/pest-plugin-type-coverage ^3.6.1 (resolves to v3.6.1), pollora/harness ^0.1.44, workflow ref @v0.1.44.
  • cweagans/composer-patches ^2.0 as a dev dependency with a root-only patches.json applying the PHPStan 2.4 fix for pest-plugin-type-coverage (upstream Support PHPStan 2.4 in type coverage pestphp/pest-plugin-type-coverage#84). patches.json, patches.lock.json and patches/ are export-ignored, and the plugin is require-dev, so a user installing pollora/cli receives neither.
  • rector.php: removed the deprecated earlyReturn option. InlineIfToExplicitIfRector needs no skip here (dry-run reports no change).
  • No CHANGELOG.md exists in this repository, so no entry.

Proved locally (PHP 8.4.27, memory_limit 2G, real versions): composer qa (Every gate passed, type coverage 100 %), test:type-coverage 100 %, test:unit 234 passed, test:refacto, test:lint, test:types. Archive gate: 17 files, none for development.
Not proved here: line coverage and mutation ratchets (no report locally; CI measures them).

Pollora maintainer added 2 commits December 6, 2026 18:42
Development only. Carries the dev-only patch for pest-plugin-type-coverage (upstream pestphp/pest-plugin-type-coverage#84) through a root-only patches.json kept out of the archive, and drops the deprecated Rector earlyReturn option.
@ogorzalka
ogorzalka merged commit 6740b4f into main Dec 6, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant