Skip to content

Align quality tooling, CI and docs with current template#3

Merged
rasuvaeff merged 1 commit into
masterfrom
chore/package-quality-alignment
Jun 7, 2026
Merged

Align quality tooling, CI and docs with current template#3
rasuvaeff merged 1 commit into
masterfrom
chore/package-quality-alignment

Conversation

@rasuvaeff

Copy link
Copy Markdown
Owner

Summary

Bring the package in line with the current monorepo template. Every check below was run locally before opening the PR.

Changes

  • composer.json: add roave/backward-compatibility-check, bc-check and release-check scripts; add ext-bcmath/ext-intl platform pins (required to resolve roave in the composer:2 image); drop psalm/plugin-phpunit
  • Makefile: pcov bootstrap for test-coverage/mutation, plus bc-check and release-check targets
  • build.yml: concurrency, Composer cache, prefer-lowest and backward-compatibility jobs
  • static-analysis.yml: concurrency, Composer cache
  • psalm: analyse src only with findUnusedCode=false (Yii convention) — fixes false PossiblyUnusedMethod on test methods under prefer-lowest; existing issueHandlers preserved
  • AGENTS.md / README.md: unify make command names (cs-fix)

Verification

composer build green locally (validate, normalize, require-checker, cs, psalm, phpunit). No functional package API changes.

- composer.json: add roave/backward-compatibility-check, bc-check and
  release-check scripts, ext-bcmath/ext-intl platform pins (required to resolve
  roave), drop psalm/plugin-phpunit
- Makefile: pcov bootstrap for coverage/mutation, bc-check and release-check
  targets
- build.yml: concurrency, Composer cache, prefer-lowest and backward
  compatibility jobs
- static-analysis.yml: concurrency, Composer cache
- psalm: analyse src only with findUnusedCode=false (Yii convention) — fixes
  false PossiblyUnusedMethod on test methods under prefer-lowest
- AGENTS.md / README.md: unify make command names (cs-fix)
@codecov

codecov Bot commented Jun 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rasuvaeff rasuvaeff merged commit ec4a1d2 into master Jun 7, 2026
8 checks passed
@rasuvaeff rasuvaeff deleted the chore/package-quality-alignment branch June 7, 2026 09:10
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