Skip to content

Update validators dependency to 0.3#6

Merged
premtsd-code merged 1 commit into
mainfrom
fix/validators-0.3
Jul 14, 2026
Merged

Update validators dependency to 0.3#6
premtsd-code merged 1 commit into
mainfrom
fix/validators-0.3

Conversation

@premtsd-code

Copy link
Copy Markdown
Contributor

What

  • Updates utopia-php/validators from 0.2.* to 0.3.*
  • Aligns the package PHP constraint and CI matrix with validators 0.3 (>=8.5)

Why

Cloud main now uses validators 0.3, so WAF must allow the same dependency version.

Tests

  • composer validate --strict --no-interaction
  • php vendor/laravel/pint/builds/pint --test
  • php vendor/phpstan/phpstan/phpstan analyse -c phpstan.neon --memory-limit 512M
  • composer test

@greptile-apps

greptile-apps Bot commented Jul 14, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates utopia-php/validators from 0.2.* to 0.3.* and aligns the package's PHP minimum constraint and CI matrix with the new dependency requirement of PHP ≥8.5.

  • composer.json: utopia-php/validators bumped to 0.3.*, PHP constraint raised from >=8.2 to >=8.5.
  • composer.lock: Regenerated to pin validators at 0.3.0 (which itself declares php: ">=8.5") and update the platform entry.
  • .github/workflows/test.yml: CI matrix updated from ['8.2', '8.3', '8.4', '8.5'] to ['8.5', '8.6'], removing PHP versions that no longer satisfy the dependency constraint.

Confidence Score: 5/5

Straightforward dependency version bump with all three changed files (composer.json, composer.lock, CI matrix) in full agreement.

All changes are consistent: the PHP minimum, the validators version constraint, the lock file pin, and the CI matrix all align on PHP ≥8.5 and validators 0.3. The WAF's sole use of the validators package (Conditions extends Validator) relies only on the stable base-class interface (getDescription, isArray, isValid, getType), which is unchanged between 0.2 and 0.3.

No files require special attention.

Important Files Changed

Filename Overview
composer.json Bumps utopia-php/validators to 0.3.* and raises the PHP minimum to >=8.5, matching the dependency's own constraint.
composer.lock Lock file regenerated to pin utopia-php/validators at 0.3.0 and update the platform PHP constraint accordingly.
.github/workflows/test.yml CI matrix trimmed to ['8.5', '8.6']; older PHP versions dropped since validators 0.3 requires PHP >=8.5.

Reviews (2): Last reviewed commit: "Update validators dependency to 0.3" | Re-trigger Greptile

Comment thread .github/workflows/test.yml Outdated
@premtsd-code
premtsd-code merged commit ad47660 into main Jul 14, 2026
5 checks passed
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