Skip to content

chore(deps): allow utopia-php/validators ^2.0 - #1025

Merged
HarshMN2345 merged 1 commit into
mainfrom
chore/allow-validators-2
Oct 15, 2026
Merged

HarshMN2345 merged 1 commit into
mainfrom
chore/allow-validators-2

Conversation

@HarshMN2345

@HarshMN2345 HarshMN2345 commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Widens the utopia-php/validators constraint to ^1.0 || ^2.0 and updates the lock (validators 2.0.0, servers 0.4.12).

2.0 keeps Utopia\Validator as an alias of the moved base class, and every validator this package uses still exists. PHPStan passes against 2.0.0.

Needed so the appwrite monorepo's migration package check resolves when validators is linked from packages/validators.

Summary by CodeRabbit

  • Chores
    • Expanded compatibility with newer versions of the validation tools used by the application. This change does not alter any publicly exposed features or behavior.

@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: utopia-php/database/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f9f782b3-bb9b-49d0-b21f-5801972d57cc
📥 Commits

Reviewing files that changed from the base of the PR and between b92964b and d506db9.

⛔ Files ignored due to path filters: 1
  • composer.lock is excluded by !**/*.lock
📒 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.

📝 Walkthrough

The utopia-php/validators dependency constraint now permits versions ^1.0 and ^2.0.

Changes: Validator Dependency Constraint

Layer / File(s) Summary
Expand validator version constraint
composer.json
The dependency constraint now permits ^2.0 in addition to ^1.0.

Priority: ⬇️ Low

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

Change: Other

Suggested reviewers: abnegate

Merge Risk: ⚪ Minimal · up to d506d

The expanded dependency range is compatible with this package’s declared PHP version and validator usage, so no actionable merge-blocking risk remains.

Pre-merge checks: Passed 5
Passed 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 and concisely describes the main change: allowing the utopia-php/validators ^2.0 dependency.
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.
✨ 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

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

@HarshMN2345
HarshMN2345 merged commit 17042a6 into main Oct 15, 2026
24 checks passed
@HarshMN2345
HarshMN2345 deleted the chore/allow-validators-2 branch October 15, 2026 13:05
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