Remove explicit phpunit constraint to avoid CI failure on core 11.2.x-dev

Created on 10 July 2025, 11 days ago

Problem/Motivation

The pipeline fails when testing against drupal/core-dev: 11.2.x-dev due to a dependency conflict between phpunit/phpunit and sebastian/diff.
This is caused by an explicit constraint in require-dev that allows phpunit/phpunit ^10.5, which requires sebastian/diff ^5, while Drupal core 11.2.x-dev requires sebastian/diff ~6.0.2.

Steps to reproduce

  1. Run the "composer (next minor)" pipeline for a merge request.
  2. Observe that composer install fails due to conflicting versions of sebastian/diff. ee https://git.drupalcode.org/project/og/-/jobs/5846073

Proposed resolution

Remove the explicit phpunit/phpunit version constraint from composer.json and let Drupal core manage it.

Remaining tasks

  • Update composer.json to remove phpunit/phpunit from require-dev.
  • Re-run the pipeline to confirm successful installation.
📌 Task
Status

Active

Version

2.0

Component

og.module

Created by

🇨🇦Canada joelpittet Vancouver

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024