Skip to content

Commit fed8596

Browse files
localheinzondrejmirtes
authored andcommitted
Enhancement: Keep packages sorted in composer.json
1 parent 1ca9a03 commit fed8596

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"require": {
1313
"php": "~7.1",
14-
"phpstan/phpstan": "^0.11",
15-
"nikic/php-parser": "^4.0"
14+
"nikic/php-parser": "^4.0",
15+
"phpstan/phpstan": "^0.11"
1616
},
1717
"require-dev": {
1818
"consistence/coding-standard": "^3.0.1",
@@ -34,5 +34,8 @@
3434
"tests/Rules/Functions/data/missing-function-parameter-typehint.php",
3535
"tests/Rules/Functions/data/missing-function-return-typehint.php"
3636
]
37+
},
38+
"config": {
39+
"sort-packages": true
3740
}
3841
}

0 commit comments

Comments
 (0)