Skip to content

Upgrade PHP to 8.5 and validators to 0.3.*#168

Merged
Meldiron merged 4 commits into
mainfrom
upgrade-validators-0.3
Jul 13, 2026
Merged

Upgrade PHP to 8.5 and validators to 0.3.*#168
Meldiron merged 4 commits into
mainfrom
upgrade-validators-0.3

Conversation

@Meldiron

Copy link
Copy Markdown
Contributor

Upgrades utopia-php/validators from 0.2.* to 0.3.* and bumps PHP requirement to >=8.5.

@greptile-apps

greptile-apps Bot commented Jul 13, 2026

Copy link
Copy Markdown

Greptile Summary

This PR bumps the PHP platform requirement from >=8.1 to >=8.5 and upgrades utopia-php/validators from 0.2.* to 0.3.*, with the Dockerfile's build/runtime image updated to match (php:8.5-cli-alpine). The validators 0.3.0 release introduces no breaking changes to the Validator base class interface that this library extends.

  • Dockerfile: All build stages now inherit from php:8.5-cli-alpine; PHP extension version pins (zstd, brotli, snappy, lz4) updated to commits/tags compatible with PHP 8.5.
  • composer.json / composer.lock: PHP constraint and validators dependency updated consistently; validators 0.3.0 itself now declares php: >=8.5, aligning with the new platform requirement.

Confidence Score: 5/5

Straightforward dependency and platform version bump with all three files updated consistently — safe to merge.

The Dockerfile, composer manifest, and lock file are all aligned on PHP 8.5. The validators 0.3.0 upgrade introduces no breaking changes to the Validator base class, which is the only part of that library this codebase depends on. No logic changes were made.

No files require special attention.

Important Files Changed

Filename Overview
Dockerfile Base image for compile stage (and all inheriting stages) updated from php:8.3-cli-alpine to php:8.5-cli-alpine; PHP extension version pins updated to newer commits/tags compatible with PHP 8.5.
composer.json PHP platform requirement raised from >=8.1 to >=8.5; utopia-php/validators bumped from 0.2.* to 0.3.* which has no breaking changes to the Validator base class used by this library.
composer.lock Lock file regenerated to reflect utopia-php/validators 0.3.0 (now requiring php: >=8.5, consistent with the updated platform constraint) and updated content-hash.

Reviews (3): Last reviewed commit: "Update extension versions for PHP 8.5 co..." | Re-trigger Greptile

Comment thread composer.json
@Meldiron Meldiron merged commit 00503eb into main Jul 13, 2026
8 of 9 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.

1 participant