Skip to content

Use caret constraints for dev dependencies - #19

Merged
veewee merged 1 commit into
mainfrom
dev-deps-caret
Nov 20, 2026
Merged

veewee merged 1 commit into
mainfrom
dev-deps-caret

Conversation

@veewee

@veewee veewee commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

The dev dependencies used tilde constraints. A three-part one like ~3.88.0 only allows 3.88.x, so Dependabot opened a ~3.88.0 || ~3.95.0 PR for every new minor. With ^3.88 the minors are allowed, and Dependabot only opens a PR for a new major. Runtime constraints are unchanged.

Summary by CodeRabbit

  • Chores
    • Updated development tooling version ranges to allow compatible releases. No end-user-facing changes are included in this update.

A tilde with a patch part locks a minor, so Dependabot opened a widening PR for every new minor. With a caret, minors are allowed and only a new major gets a PR.
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The PHPUnit and Psalm development dependency constraints in composer.json change from tilde ranges to caret ranges.

Changes: Development dependency constraints

Layer / File(s) Summary
Update development dependency constraints
composer.json
The PHPUnit constraint changes from ~12.3 to ^12.3. The Psalm constraint changes from ~7.12 to ^7.12.

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

Change: Other

Suggested reviewers: arnedesmedt

Merge Risk: Minimal · up to 4f23b

This is a cosmetic change to development dependency constraints. It does not alter the resolved versions or any runtime behavior, so it is safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Use caret constraints for dev dependencies" matches the change in composer.json, where phpunit/phpunit and vimeo/psalm move from tilde ranges to caret ranges. It names the main change and t…
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: Title check

Explanation

The title "Use caret constraints for dev dependencies" matches the change in composer.json, where phpunit/phpunit and vimeo/psalm move from tilde ranges to caret ranges. It names the main change and the scope (development dependencies). It does not describe runtime constraints, which are unchanged, but the title does not need to cover every detail.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 99840239-1682-4116-8ca3-0584273caad2
Commits

Reviewing files that changed from the base of the PR and between 415bf5b and 4f23b6d.

Files selected for processing: 1

  • composer.json

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

@veewee
veewee merged commit fa7a106 into main Nov 20, 2026
19 checks passed
@veewee
veewee deleted the dev-deps-caret branch November 20, 2026 14:48
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