Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Do not apply non-string package link constraints in ArrayLoader#11009

Merged
Seldaek merged 1 commit into
composer:mainfrom
zanbaldwin:z/invalid-package-links-elements-config
Aug 20, 2022
Merged

Do not apply non-string package link constraints in ArrayLoader#11009
Seldaek merged 1 commit into
composer:mainfrom
zanbaldwin:z/invalid-package-links-elements-config

Conversation

@zanbaldwin
Copy link
Copy Markdown
Contributor

Fix type error when a non-array package link is provided in config array.
Encountered when the following composer.json was submitted:

{
    ...,
    "require": {
        "psr/log": {
            "random-string": ""
        }
    }
}

@Seldaek Seldaek added this to the 2.4 milestone Aug 20, 2022
@Seldaek Seldaek added the Bug label Aug 20, 2022
@Seldaek Seldaek merged commit 5177469 into composer:main Aug 20, 2022
@Seldaek
Copy link
Copy Markdown
Member

Seldaek commented Aug 20, 2022

Thanks

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.

2 participants