Skip to content

Restore the quality gate and align 8.0.x with the package baseline - #3

Merged
MoamenEltouny merged 6 commits into
8.0.xfrom
fix/audit-baseline-8.0.x
Dec 1, 2026
Merged

MoamenEltouny merged 6 commits into
8.0.xfrom
fix/audit-baseline-8.0.x

Conversation

@MoamenEltouny

@MoamenEltouny MoamenEltouny commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

composer check failed with PHPStan 2.3.7, the highest version the line allows. This fixes that and brings 8.0.x up to the current repository baseline.

Changes

  • Rewrite hunk grouping in Text\Hunks so PHPStan 2.3.7 analyses it without errors; hunks are unchanged.
  • Move the internal Support\ classes into Engine\ and Paths\ and remove the unused Support\Missing.
  • Replace the build workflow with the staged one: validate, style, analysis, tests on lowest/highest × Ubuntu/Windows, security, archive, and a final Quality gate. Pin the labeler action, label Dependabot PRs, require PHPUnit ^9.6.33, use one test suite.
  • Add the upgrade guide (last in the sidebar, linking the changelog) and pin the README build badge to 8.0.x.
  • Make the round-trip and time zone tests independent of the platform, so they pass on the new Windows jobs.
  • Record in MAINTAINING.md that the root public classes and Exceptions\DiffException stay where they are.

Compatibility

No public API change: every moved or removed class is @internal.

@MoamenEltouny MoamenEltouny self-assigned this Dec 1, 2026
@MoamenEltouny
MoamenEltouny merged commit 142fcd7 into 8.0.x Dec 1, 2026
11 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