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

Add warning when the latest version of a package cannot be auto-selected in require/init/create-project #10896

Merged
merged 1 commit into from Jun 23, 2022

Conversation

Seldaek
Copy link
Member

@Seldaek Seldaek commented Jun 23, 2022

Fixes #10884

Outputs something like this, which highlights the problem in case that is one:

image

@cafferata
Copy link
Contributor

Very valuable! Thanks! 👏

@Seldaek Seldaek merged commit eba4914 into composer:main Jun 23, 2022
@Seldaek Seldaek deleted the req_warnings branch June 23, 2022 12:37
Copy link

@Tony201273 Tony201273 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve the changes you suggested and I am depending on your system to get me up and running yours sincerely Tony Edmunds ps I am waiting for your reply thanks for your help and support I really appreciate it yours sincerely Tony Edmunds

@@ -434,7 +434,7 @@ protected function installRootPackage(IOInterface $io, Config $config, string $p

// find the latest version if there are multiple
$versionSelector = new VersionSelector($repositorySet, $platformRepo);
$package = $versionSelector->findBestCandidate($name, $packageVersion, $stability, $platformRequirementFilter);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi its Tony Edmunds ere I am depending on your system to help me to get access to my product account please help me I am a complete newbie and I will be great full for your help and support I really appreciate it yours sincerely Tony Edmunds ps I am waiting to hear from you soon I hope, thanks for your help and support

emahorvat52 pushed a commit to emahorvat52/composer that referenced this pull request Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

defaults to wrong version of php81_bc/strftime on some systems
4 participants