Skip to content

Resolve Composer dependencies for PHP 8.5 - #101

Merged
rbruhn merged 1 commit into
developmentfrom
100-resolve-composer-dependencies-for-php-85
Oct 11, 2026
Merged

rbruhn merged 1 commit into
developmentfrom
100-resolve-composer-dependencies-for-php-85

Conversation

@rbruhn

@rbruhn rbruhn commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Closes #100.

Sets config.platform.php to 8.5 in composer.json. Composer and Dependabot now resolve dependencies for PHP 8.5, which the servers and CI run, instead of the lowest version "php": "^8.4" allows. That's why Dependabot's #90 downgraded 11 Symfony packages from 8.1.x to 8.0.x: Symfony 8.1 needs PHP 8.4.1 or newer.

composer.lock changes only in metadata, with no package versions changed:

  • the new content-hash and a platform-overrides entry
  • phpdotenv's repository URL, which moved from vlucas/phpdotenv to phpdotenv/phpdotenv (same commit, refreshed from Packagist)

composer validate passes, and the tests pass locally.

After merging: @dependabot recreate #90, then check its package list again.

Without a platform PHP version, Dependabot resolved for PHP 8.4.0 and downgraded Symfony from 8.1 to 8.0. The servers and CI run PHP 8.5.
@rbruhn
rbruhn merged commit f149a3c into development Oct 11, 2026
2 checks passed
@rbruhn
rbruhn deleted the 100-resolve-composer-dependencies-for-php-85 branch October 11, 2026 23:39
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