Skip to content

ci: align code style setup with spiral/code-style - #47

Merged
roxblnfk merged 2 commits into
3.xfrom
ci/code-style
Oct 9, 2026
Merged

roxblnfk merged 2 commits into
3.xfrom
ci/code-style

Conversation

@roxblnfk

@roxblnfk roxblnfk commented Oct 9, 2026

Copy link
Copy Markdown
Member

🔍 What was changed

  • spiral/code-style bumped to ^2.3.1; the fixer now covers tests, keeps its cache in runtime/ (ignored) and runs with risky rules off.
  • Fix Code Style workflow runs on PHP 8.4, the cs:diff script matches other packages.
  • tests/ reformatted in a separate style: commit — formatting, import and member-order changes only.

Checklist

  • How was this tested:
    • composer cs:diff is clean and the Testo suite passes locally after the reformat

@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 17075812-97c9-40a1-815c-524f0cf138d4

📥 Commits

Reviewing files that changed from the base of the PR and between 3ce5476 and 009693d.


📒 Files selected for processing (12)
  • .github/workflows/cs-fix.yml
  • .gitignore
  • .php-cs-fixer.dist.php
  • composer.json
  • tests/Unit/EnvironmentTest.php
  • tests/Unit/PayloadFactoryTest.php
  • tests/Unit/PayloadTest.php
  • tests/Unit/StreamResponseTest.php
  • tests/Unit/Stub/TestRelay.php
  • tests/Unit/VersionTest.php
  • tests/Unit/WorkerPoolTest.php
  • tests/Unit/WorkerTest.php


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

The fixer now also covers `tests`, keeps its cache in `runtime/` and runs without risky rules.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
@roxblnfk
roxblnfk requested a review from a team as a code owner October 9, 2026 18:54
@roxblnfk
roxblnfk merged commit 0677fc3 into 3.x Oct 9, 2026
13 checks passed
@roxblnfk
roxblnfk deleted the ci/code-style branch October 9, 2026 18:55
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