Skip to content

Invalid version string "master.9999999" #1016

Closed
@candyman1332

Description

@candyman1332

Hi,

i'm using private recipes. During development i add a master version instaead of "1.0".
It's cool and Flex found the version and installed it. But in the symfony.lock File in the Version it is

    "XXX/YYY": {
        "version": "master.9999999",
        "recipe": {
            "repo": "XXX.YYY",
            "branch": "master",
            "version": "master",
            "ref": "15ed78413939e240efb1037133e852ac3bdc293c"
        }
    },

When i now add a new package oder update an existing Symfony/Flex throws the Error

In VersionParser.php line 186:

  [UnexpectedValueException]
  Invalid version string "master.9999999"  

When i remove the entry from the symfony.lock file i can update/add my packages, but Symfony/Flex added the bad lines again.

I'm using symfony/flex v2.4.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions