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

Composer installs incompatible package versions #75

Closed
1 of 4 tasks
manarth opened this issue May 25, 2019 · 2 comments
Closed
1 of 4 tasks

Composer installs incompatible package versions #75

manarth opened this issue May 25, 2019 · 2 comments
Assignees

Comments

@manarth
Copy link

manarth commented May 25, 2019

How is drupal-check installed?

  • drupal-check is installed using the phar
  • drupal-check is installed globally via Composer
  • drupal-check is installed globally using consolidation/cgr
  • drupal-check is installed as a dependency to my project

Environment:

  • OS: Linux
  • PHP Version: 7.3.5
  • Drupal core: 8.7.2

Describe the bug

Invoking composer require mglaman/drupal-check installs 0.11.2 from mglaman/phpstan-drupal instead of the latest 0.11.7.

Tag 0.11.3 declare a conflict with nette/di >=3.0 The conflict appears to exist in 0.11.2, but as it's not declared (nette/di hadn't released 3.0.0 at that point), rather than installing the latest version of drupal-check and installing nette/di 2.4.15, it installs phpstan-drupal 0.11.2 and nette/di 3.0.0.

I'm not sure what the preferred resolution would be:

  • Unpublishing phpstan-drupal below 0.11.2?
  • Marking versions <= 0.11.2 as a conflict?
  • Something else?
@mglaman mglaman added this to Needs triage in Issue triage Jun 12, 2019
@mglaman mglaman self-assigned this Jun 12, 2019
@mglaman
Copy link
Owner

mglaman commented Jun 12, 2019

Interesting! thanks for the catch.

@mglaman
Copy link
Owner

mglaman commented Jun 12, 2019

This should be a non-issue after mglaman/phpstan-drupal#73, actually. The conflict no longer exists.

@mglaman mglaman closed this as completed Jun 12, 2019
Issue triage automation moved this from Needs triage to Closed Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Issue triage
  
Closed
Development

No branches or pull requests

2 participants