Skip to content

Bump validators dependency to 0.2#3

Merged
TorstenDittmann merged 2 commits intofeat/command-validationfrom
fix/validators-0.2
Apr 20, 2026
Merged

Bump validators dependency to 0.2#3
TorstenDittmann merged 2 commits intofeat/command-validationfrom
fix/validators-0.2

Conversation

@TorstenDittmann
Copy link
Copy Markdown
Contributor

Summary

  • update utopia-php/console to require utopia-php/validators ^0.2.0
  • regenerate composer.lock against validators 0.2.0
  • keep the dependency aligned with downstream consumers such as utopia-php/queue

Testing

  • composer test
  • composer check

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 20, 2026

Greptile Summary

This PR bumps utopia-php/validators from ^0.1.0 to ^0.2.0 in composer.json and regenerates composer.lock accordingly. The lock regeneration also pulled in updated versions of several dev dependencies.

  • doctrine/instantiator was resolved to 2.2.x-dev (a transitive dev dependency via PHPUnit), which requires php: \"^8.4\" — but the project declares php: \">=8.0\". Developers and CI runners on PHP 8.0–8.3 will fail at composer install --dev, breaking composer test and composer check on those versions.

Confidence Score: 4/5

Safe to merge if the team has standardised on PHP 8.4 for development/CI; otherwise the lock file needs to be regenerated on a lower PHP version or doctrine/instantiator pinned to a PHP 8.1-compatible release.

The composer.json change itself is clean and correct. The P1 concern is in the lock file: a transitive dev dependency now requires PHP ^8.4, silently raising the minimum PHP version for running tests beyond the declared >=8.0 support range.

composer.lock — specifically the doctrine/instantiator resolution at line 71.

Important Files Changed

Filename Overview
composer.json Straightforward version constraint bump for utopia-php/validators from ^0.1.0 to ^0.2.0; no other changes.
composer.lock Lock regenerated against validators 0.2.0; doctrine/instantiator resolved to 2.2.x-dev which requires PHP ^8.4, conflicting with the project's stated >=8.0 support.

Reviews (2): Last reviewed commit: "Update composer.lock" | Re-trigger Greptile

Comment thread composer.lock
@TorstenDittmann TorstenDittmann merged commit d5e1b24 into feat/command-validation Apr 20, 2026
7 checks passed
@TorstenDittmann TorstenDittmann deleted the fix/validators-0.2 branch April 20, 2026 10:51
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