Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
michaelarnauts opened this issue Mar 29, 2024 · 2 comments

Comments

@michaelarnauts
Copy link

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

@dbu
Copy link
Contributor

dbu commented Mar 29, 2024

#264 is not included in the release. the regression happened in #255 - the #264 fixes it again. i will tag a new patch release now

@dbu
Copy link
Contributor

dbu commented Mar 29, 2024

fixed in release https://github.com/php-http/discovery/releases/tag/1.19.4

@dbu dbu closed this as completed Mar 29, 2024
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

No branches or pull requests

2 participants