Commit 2756613
committed
composer: use caret instead of tilde for semver
Composer deviates from how npm handles semver for tilde constraints,
treating `~m.n` the same as `^m.n`. Let’s switch to the latter,
as it is less confusing for people switching between languages
and also what `composer require` defaults to these days.
https://jubianchi.github.io/semver-check/#/constraint/~3.0
https://getcomposer.org/doc/articles/versions.md#next-significant-release-operators
composer/composer#5396
While at it, also sort the packages.1 parent a7996ba commit 2756613
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments