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

@muhammetsafak muhammetsafak commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Run CI on PHP 8.2, 8.3, 8.4 and 8.5 (the ^8.2 requirement is already in place).
  • Replace the package-specific .php-cs-fixer.php with the shared PER-CS .php-cs-fixer.dist.php template and reformat the sources.
  • Update CHANGELOG.

Breaking change

Code style moves from PSR-12 to PER-CS.

Run CI on PHP 8.2-8.5 and switch to the shared PER-CS php-cs-fixer configuration (ADR-001, ADR-005). The PHP requirement is already ^8.2. The legacy .php-cs-fixer.php is removed and the sources are reformatted.

BREAKING CHANGE: the code style moves from PSR-12 to PER-CS.
@muhammetsafak
muhammetsafak force-pushed the build/require-php82-per-cs branch from a5722be to 97204b0 Compare November 22, 2026 10:31
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 40a5107 into main Nov 22, 2026
10 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