composer-normalize
composer-normalize copied to clipboard
Normalization does not happen automatically when using composer require
It could be that this is just not supported, but I noticed that when doing something like
composer require --dev phpstan/phpstan-webmozart-assert
normalization wouldn't happen automatically.
I have to manually do composer normalize.
You can add something like this to your root composer.json
"scripts": {
"post-require": ["@php composer normalize"],
"post-update-cmd": ["@php composer normalize"]
}
Isn't it the goal of this plugin to do this automatically?
Don't know, but had the same issue and didn't find any option in the plugin to set a flag.