Skip to content

False negative when not updating .lock correctly #406

@Jean85

Description

@Jean85

Today I was bitten by one mistake that this tool unfortunately didn't catch.

To reproduce:

  • start using a dev dependency under src
  • move the dependency manually in the composer.json
  • run the checker

This happened with 3.8, but I switched to the shim and I can confirm it happens on the latest version too; I've patched my CI with a composer validate which will alert me of the issue, but I would expect this tool to fail too in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions