Skip to content

Add support for PhpUnit >= 12.5.21 & >= 13.1.5#552

Merged
tenzap merged 1 commit into
kalkun-sms:develfrom
tenzap:feature-phpunit-13.1
May 9, 2026
Merged

Add support for PhpUnit >= 12.5.21 & >= 13.1.5#552
tenzap merged 1 commit into
kalkun-sms:develfrom
tenzap:feature-phpunit-13.1

Conversation

@tenzap

@tenzap tenzap commented May 7, 2026

Copy link
Copy Markdown
Collaborator

See: sebastianbergmann/phpunit#6451

Summary by CodeRabbit

  • Chores
    • Updated PHP Unit version requirement constraints in test suite to use standardized semantic versioning format for improved consistency.

@coderabbitai

coderabbitai Bot commented May 7, 2026

Copy link
Copy Markdown

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 0ed1e34d-264b-441d-9ace-a9c30ce92065

📥 Commits

Reviewing files that changed from the base of the PR and between 66983b3 and a84cc78.

📒 Files selected for processing (1)
  • tests/plugins/Jsonrpc_test.php

Walkthrough

This PR updates the PHPUnit version requirement attributes in the JSON-RPC plugin test file. Two #[RequiresPhpunit('>= 6')] attributes are changed to #[RequiresPhpunit('>= 6.0.0')] for explicit semantic versioning. No test logic or behavior is altered.

Changes

PHPUnit Version Requirements

Layer / File(s) Summary
Version Constraint Updates
tests/plugins/Jsonrpc_test.php
#[RequiresPhpunit('>= 6')] attributes updated to #[RequiresPhpunit('>= 6.0.0')] in two test methods for explicit semantic versioning.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • kingster
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title mentions support for PhpUnit >= 12.5.21 & >= 13.1.5, but the actual change only updates the version constraint from '>= 6' to '>= 6.0.0', which is unrelated to the versions specified in the title. Revise the title to accurately reflect the actual change, such as 'Update PhpUnit version requirement format to >= 6.0.0' or clarify what specific PhpUnit versions the PR is intended to support.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 Microsoft Presidio Analyzer (2.2.362)
tests/plugins/Jsonrpc_test.php

Microsoft Presidio Analyzer failed to scan this file

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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 and usage tips.

@tenzap tenzap merged commit 5255b90 into kalkun-sms:devel May 9, 2026
16 checks passed
@tenzap tenzap deleted the feature-phpunit-13.1 branch May 9, 2026 10:31
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.

2 participants