phpro / grumphp

A PHP code-quality tool
MIT License
4.12k stars 430 forks source link

Add support to specify --no-check-lock option for composer_normalize task #944

Closed RoSk0 closed 2 years ago

RoSk0 commented 2 years ago
Q A
Version GrumPHP 1.5.0
Bug? no
New feature? yes
Question? no
Documentation? no
Related tickets #595 , #596 , #645

composer-normalize introduced --no-check-lock option in 2.7.0 release back in August 2020.

This option is very useful when you work on a library project and you only concerned about the composer.json file but not that much about the lock file that only exists in the development environment for the library itself.

It would be awesome to see it available via configuration for the composer_normalize task.