Skip to content

Chore(deps): Regenerate composer.lock on PHP 8.4 - #47

Merged
albertoarena merged 2 commits into
mainfrom
chore/restore-symfony-8-lock
Sep 1, 2026
Merged

Chore(deps): Regenerate composer.lock on PHP 8.4#47
albertoarena merged 2 commits into
mainfrom
chore/restore-symfony-8-lock

Conversation

@albertoarena

Copy link
Copy Markdown
Owner

Follow-up to #43, which advertised three minor/patch updates but also downgraded 22 Symfony packages from v8.1.x to the v7.4 LTS line.

Why it happened

Dependabot resolves against the composer.json PHP floor (^8.3), and Symfony 8.x requires php >=8.4.1. From a PHP 8.3 vantage point v7.4 genuinely is the newest installable Symfony, so the downgrade looked correct to the resolver. Regenerating on PHP 8.4.23 restores 8.1.x and picks up the newer point releases along the way.

symfony/console v7.4.17 → v8.1.6, and the same across http-kernel, serializer, string, yaml, routing, mime, uid and the rest of the 22.

The genuine majors from #43 are unaffected and stay put: guzzlehttp/guzzle 8.1.0, guzzlehttp/psr7 3.1.0, hamcrest/hamcrest-php v3.0.0.

Scope

Lockfile only — composer.json is untouched, so the supported PHP range is unchanged and consumers of the package are unaffected either way (a library's lock is never installed downstream).

Worth noting the blast radius is small in both directions: test.yml runs composer update with explicit laravel/framework / orchestra/testbench constraints and never reads composer.lock, so CI was green on the downgrade and will be green on this. The lock only shapes local development — which is exactly why it's worth keeping honest, since nothing else will catch it.

This will recur on the next grouped composer PR for the same reason. The durable options are raising the PHP floor (a breaking change, not proposed here) or re-running this regeneration when it happens.

Verification

Run locally on PHP 8.4.23 / Composer 2.10.2 against this branch:

  • composer test — 83 tests, 14030 assertions, OK
  • composer static — PHPStan, no errors
  • composer check — Pint, passed
  • composer update reported no security advisories

Dependabot resolves against the composer.json PHP floor (^8.3), and
Symfony 8.x requires php >=8.4.1, so #43 silently downgraded 22 Symfony
packages from v8.1.x to the v7.4 LTS line. Regenerating on PHP 8.4.23
restores them and picks up the newer point releases.

CI never reads composer.lock (test.yml runs composer update with explicit
laravel/testbench constraints), so this only affects local development.

Verified: 83 tests / 14030 assertions pass, PHPStan clean, Pint passes.
@socket-security

socket-security Bot commented Sep 1, 2026

Copy link
Copy Markdown

@albertoarena
albertoarena merged commit f4b812d into main Sep 1, 2026
39 checks passed
@albertoarena
albertoarena deleted the chore/restore-symfony-8-lock branch September 1, 2026 07:01
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