Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"require": {
"php": ">=8.5",
"utopia-php/validators": "0.2.*"
"utopia-php/validators": "0.2.* || 0.3.*"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Validator Contract May Be Incompatible

This constraint lets downstream Composer updates select validators 0.3.x for Conditions, which directly extends Utopia\Validator. If 0.3.x changed an abstract method signature, added an abstract method, or removed TYPE_ARRAY, loading or calling Conditions will fail with a PHP fatal error; compatibility with both allowed release lines should be confirmed before publishing the widened constraint.

Prompt To Fix With AI
This is a comment left during a code review.
Path: composer.json
Line: 8

Comment:
**Validator Contract May Be Incompatible**

This constraint lets downstream Composer updates select validators 0.3.x for `Conditions`, which directly extends `Utopia\Validator`. If 0.3.x changed an abstract method signature, added an abstract method, or removed `TYPE_ARRAY`, loading or calling `Conditions` will fail with a PHP fatal error; compatibility with both allowed release lines should be confirmed before publishing the widened constraint.

How can I resolve this? If you propose a fix, please make it concise.

Fix in Claude Code Fix in Codex

},
"require-dev": {
"laravel/pint": "^1.18",
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading