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

Skip to content

config extra command does not work with --json when a key is a quoted numeric #11945

@joachim-n

Description

@joachim-n

When I run this command:

composer config extra.patches.drupal/typogrify --merge --json '{"3398815":"patches/typogrify.3398815.patch"}'

I get this added to composer.json

    "extra": {
        "patches": {
            "drupal/typogrify": ["patches/typogrify.3398815.patch"]
        },

The "3398815" has been ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions