Skip to content

Fix PHPCS errors in Behat test files - #130

Merged
swissspidy merged 2 commits into
mainfrom
fix/tests-lint
Sep 1, 2026
Merged

Fix PHPCS errors in Behat test files#130
swissspidy merged 2 commits into
mainfrom
fix/tests-lint

Conversation

@swissspidy

@swissspidy swissspidy commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Style
    • Reformatted embedded PHP setup code in cache-related feature scenarios for improved consistency and readability.
    • Standardized spacing, indentation, array/object literals, and anonymous function declarations.
    • No behavior, cache data, or test expectations were changed.

Copilot AI lite review requested due to automatic review settings September 1, 2026 10:34
@swissspidy
swissspidy requested a review from a team as a code owner September 1, 2026 10:34
@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

Next included review available in 51 minutes.

Check out review usage here.

View limit details

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

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

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 52707665-8e8b-4601-9d0e-2a1addaa1b19

📥 Commits

Reviewing files that changed from the base of the PR and between 8a78b0f and 2993b98.

📒 Files selected for processing (1)
  • features/cache.feature

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: b849da82-e2c5-4866-ba00-af314e851b82

📥 Commits

Reviewing files that changed from the base of the PR and between ab1efd8 and 8a78b0f.

📒 Files selected for processing (3)
  • features/cache-patch.feature
  • features/cache-pluck.feature
  • features/cache.feature

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The pull request reformats embedded PHP fixtures in three Gherkin feature files. Cache keys, values, groups, control flow, and test expectations remain unchanged.

Changes

Cache fixture formatting

Layer / File(s) Summary
Reformat embedded PHP fixtures
features/cache-patch.feature, features/cache-pluck.feature, features/cache.feature
The cache-seeding closures and flush_group methods now use consistent spacing, brace placement, and indentation. Behavior and test data remain unchanged.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 8a78b

This change only reformats Behat test code without changing cache behavior or production functionality. No actionable merge-blocking risk remains beyond normal checks and review.

Suggested reviewers: brianhenryie

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: formatting Behat test files to resolve PHPCS errors.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/tests-lint

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.

@github-actions github-actions Bot added the scope:testing Related to testing label Sep 1, 2026
@swissspidy swissspidy added this to the 3.0.1 milestone Sep 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread features/cache.feature Outdated
@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@swissspidy
swissspidy merged commit 7d21cb5 into main Sep 1, 2026
7 of 8 checks passed
@swissspidy
swissspidy deleted the fix/tests-lint branch September 1, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants