Skip to content

Dependency major-version upgrades (PHPUnit 13, Symfony 8, relay 3, predis 3, pheanstalk 8, PHP_CodeSniffer 4) #209

Description

@tonydspaniard

Tracker for the major dependency bumps that sit outside current constraints. None are urgent — composer.lock is gitignored, so CI already resolves the latest within each constraint (minor/patch updates need no action). These are the cross-major migrations, each deliberate.

Surfaced during #129 (test infra). composer outdated --direct on master.

Candidates (~ = newer major available)

Package Current Latest Notes / what it unblocks
phpunit/phpunit 11.x 13.x Skips 12. Unblocks brianium/paratest 7.22 (latest paratest requires PHPUnit 13 / php-code-coverage ^14); we're pinned to paratest 7.8.5 by PHPUnit 11. Largest migration.
relay/relay 2.1 3.0 3.0 allows psr/http-message ~1.0 || ~2.0 — a step toward PSR-7 v2 (see below).
neomerx/cors-psr7 3.0.2 3.0.2 Hard blocker for psr/http-message ^2: latest still requires ^1.0, no PSR-7-v2 release. The CORS middleware would need a replacement/fork to move off it.
psr/http-message 1.1 2.0 Gated by both relay 3 and resolving neomerx. Unblocking it would in turn make testcontainers-php installable (its Docker client needs psr/http-message ^2 — the reason #129 uses a docker-CLI helper instead).
symfony/console messenger serializer uid yaml 7.4 8.1 Symfony 8 line; coordinated bump across all five.
predis/predis 2.4 3.5 Pure-PHP Redis client; check API deltas for Cache/Session Predis storage.
pda/pheanstalk 5.1 8.0 Beanstalk client; check Messaging transport usage.
squizlabs/php_codesniffer 3.13 4.0 Lint tooling; php-cs-fixer is the primary style gate so impact is small.

Suggested sequencing

  1. PHPUnit 11 → 13 (own PR) — biggest surface; also unlocks paratest 7.22 for Parallel + container-backed test infra: paratest + testcontainers-php #129.
  2. relay 2 → 3 + decide CORS path (replace/fork neomerx/cors-psr7) → then psr/http-message 1 → 2. This combination unblocks testcontainers-php; revisit the Parallel + container-backed test infra: paratest + testcontainers-php #129 docker-CLI-vs-testcontainers decision afterward.
  3. Symfony 7 → 8 (coordinated), then predis/pheanstalk/php_codesniffer independently.

Each gets its own PR with the suite green on the 8.3 + 8.4 matrix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions