Skip to content

Since 1.19.3, this package is downgrading dependencies due to sebastian/comparator #265

Closed
@michaelarnauts

Description

@michaelarnauts

PHP version: 8.3.4

Description
Since the release of 1.19.3 (with this change: #264), it seems the composer doesn't allow sebastian/comparator 5.x anymore and insists on downgrading sebastian/comparator to 4.0.8, dragging a lot of dependencies with it.

I wonder if the conflicts before didn't actually work, and still allowed sebastian/comparator 5.0.1.

$ composer update --dry-run
Composer could not detect the root package (dstny/doss-ordering) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 25 updates, 0 removals
  - Downgrading codeception/lib-innerbrowser (4.0.3 => 3.1.3)
  - Upgrading php-http/discovery (1.19.2 => 1.19.3)
  - Downgrading phpunit/php-code-coverage (10.1.14 => 9.2.31)
  - Downgrading phpunit/php-file-iterator (4.1.0 => 3.0.6)
  - Downgrading phpunit/php-invoker (4.0.0 => 3.1.1)
  - Downgrading phpunit/php-text-template (3.0.1 => 2.0.4)
  - Downgrading phpunit/php-timer (6.0.0 => 5.0.3)
  - Downgrading phpunit/phpunit (10.5.14 => 9.6.18)
  - Downgrading sebastian/cli-parser (2.0.1 => 1.0.2)
  - Downgrading sebastian/code-unit (2.0.0 => 1.0.8)
  - Downgrading sebastian/code-unit-reverse-lookup (3.0.0 => 2.0.3)
  - Downgrading sebastian/comparator (5.0.1 => 4.0.8)
  - Downgrading sebastian/complexity (3.2.0 => 2.0.3)
  - Downgrading sebastian/diff (5.1.1 => 4.0.6)
  - Downgrading sebastian/environment (6.0.1 => 5.1.5)
  - Downgrading sebastian/exporter (5.1.2 => 4.0.6)
  - Downgrading sebastian/global-state (6.0.2 => 5.0.7)
  - Downgrading sebastian/lines-of-code (2.0.2 => 1.0.4)
  - Downgrading sebastian/object-enumerator (5.0.0 => 4.0.4)
  - Downgrading sebastian/object-reflector (3.0.0 => 2.0.4)
  - Downgrading sebastian/recursion-context (5.0.0 => 4.0.5)
  - Downgrading sebastian/type (4.0.0 => 3.2.1)
  - Downgrading sebastian/version (4.0.1 => 3.0.2)
  - Downgrading symfony/browser-kit (v7.0.3 => v6.4.3)
  - Downgrading symfony/dom-crawler (v7.0.4 => v6.4.4)

How to reproduce

do a composer update on a project that is using this package (as a dependency somewhere)

Possible Solution

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions