Skip to content

Commit 3d7924f

Browse files
authored
[TASK] Add some Composer settings (MyIntervals#441)
- prefer packages over Git - sort the dependencies Also actually sort the dependencies.
1 parent b0c1403 commit 3d7924f

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

composer.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"ext-iconv": "*"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "^8.5.36",
3130
"codacy/coverage": "^1.4.3",
32-
"phpstan/phpstan": "^1.10.57"
31+
"phpstan/phpstan": "^1.10.57",
32+
"phpunit/phpunit": "^8.5.36"
3333
},
3434
"suggest": {
3535
"ext-mbstring": "for parsing UTF-8 CSS"
@@ -39,16 +39,20 @@
3939
"Sabberworm\\CSS\\": "src/"
4040
}
4141
},
42-
"config": {
43-
"allow-plugins": {
44-
"phpstan/extension-installer": true
45-
}
46-
},
4742
"autoload-dev": {
4843
"psr-4": {
4944
"Sabberworm\\CSS\\Tests\\": "tests/"
5045
}
5146
},
47+
"config": {
48+
"allow-plugins": {
49+
"phpstan/extension-installer": true
50+
},
51+
"preferred-install": {
52+
"*": "dist"
53+
},
54+
"sort-packages": true
55+
},
5256
"extra": {
5357
"branch-alias": {
5458
"dev-master": "9.0.x-dev"

0 commit comments

Comments
 (0)