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

Lock file is not updated in at least one scenario #98

Closed
localheinz opened this issue Oct 26, 2018 · 0 comments
Closed

Lock file is not updated in at least one scenario #98

localheinz opened this issue Oct 26, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@localheinz
Copy link
Member

localheinz commented Oct 26, 2018

Steps required to reproduce the problem

  1. Require localheinz/composer-normalize

    $ composer global require localheinz/composer-normalize:0.9.0
    
  2. Clone https://github.com/Jan0707/phpstan-prophecy:

    $ git clone [email protected]:Jan0707/phpstan-prophecy.git
    
  3. Apply composer normalize to phpstan-prophecy

    $ cd phpstan-prophecy
    $ composer normalize
    
  4. Validate composer.json

    $ composer validate
    

Expected Result

  • Validation passes

Actual Result

  • Validation fails (as composer.lock has not been updated).

💁‍♂️ Not sure what is wrong, running

$ composer update --lock

works (of course), but triggering the update from within the NormalizeCommand fails (at least for this project).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant