Skip to content

Commit 5fff580

Browse files
committed
Add yaml-sort-checker to dev dependencies
1 parent e4acfdc commit 5fff580

File tree

2 files changed

+964
-26
lines changed

2 files changed

+964
-26
lines changed

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"ext-curl": "*",
3838
"phpunit/phpunit": "9.6.20",
3939
"mediawiki/mediawiki-codesniffer": "47.0.0",
40-
"mustangostang/spyc": "0.6.3"
40+
"mustangostang/spyc": "0.6.3",
41+
"mhujer/yaml-sort-checker": "^1.5"
4142
},
4243

4344
"support": {
@@ -53,11 +54,12 @@
5354
"scripts": {
5455
"fix": "phpcbf",
5556
"cs": "phpcs -sp",
56-
"yaml-sort-check": "composer require mhujer/yaml-sort-checker; yaml-sort-checker",
57+
"yaml-sort-check": "yaml-sort-checker",
5758
"test": [
5859
"@composer validate --no-interaction",
5960
"phpunit",
60-
"@cs"
61+
"@cs",
62+
"@yaml-sort-check"
6163
]
6264
},
6365
"config": {

0 commit comments

Comments
 (0)