Skip to content

build!: require PHP ^8.2 and adopt PER-CS - #1

Merged
muhammetsafak merged 2 commits into
mainfrom
build/require-php82-per-cs
Nov 22, 2026
Merged

muhammetsafak merged 2 commits into
mainfrom
build/require-php82-per-cs

Conversation

@muhammetsafak

Copy link
Copy Markdown
Contributor

Summary

  • Require PHP ^8.2 (was >=8.1) and run CI on PHP 8.2, 8.3, 8.4 and 8.5.
  • Replace the package-specific style config with the shared PER-CS .php-cs-fixer.dist.php template and reformat the sources.
  • Update README and CHANGELOG.

Breaking change

PHP versions below 8.2 are no longer supported.

Raise the PHP requirement from >=8.1 to ^8.2, run CI on PHP 8.2-8.5 and switch to the shared PER-CS php-cs-fixer configuration (ADR-001, ADR-005). Legacy style configs are removed and the sources are reformatted.

BREAKING CHANGE: PHP versions below 8.2 are no longer supported.
The shared config uses @PHP8x2Migration, which php-cs-fixer only ships since v3.88.0. Also tidy changelogs and style references flagged in review.
@muhammetsafak
muhammetsafak merged commit a95060e into main Nov 22, 2026
9 checks passed
@muhammetsafak
muhammetsafak deleted the build/require-php82-per-cs branch November 22, 2026 10:58
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