Skip to content

Commit bb6a91f

Browse files
committed
chore(composer): enable sort-packages config
Keep require/require-dev sections alphabetically sorted on each composer update to reduce noise in future dependency diffs.
1 parent 748816d commit bb6a91f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
include:
16+
- php: 8.3
17+
symfony-version: 7.2.*
18+
composer-flags: '--prefer-stable --ignore-platform-req=php+'
1619
- php: 8.3
1720
symfony-version: 7.3.*
1821
composer-flags: '--prefer-stable --ignore-platform-req=php+'

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"phpstan/phpstan-phpunit": "^2.0"
3232
},
3333
"config": {
34+
"sort-packages": true,
3435
"allow-plugins": {
3536
"phpstan/extension-installer": true
3637
}

0 commit comments

Comments
 (0)