Is it possible to configure PHP Composer to use a ~
prefix to constrain dependencies to patch-level updates (like 1.2.x) instead of the default ^
(1.x.x)?
The term used in their documentation is "Next Significant Release Operators," but I don't see any related options in their config
(NPM has similar behavior but you can configure it in your .npmrc file with save-prefix=~
. My rationale is that our build system can't trust every package author to use semantic versioning correctly, or at all.