forked from wikimedia/operations-mediawiki-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
38 lines (38 loc) · 1.07 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "wikimedia/mediawiki-config",
"description": "MediaWiki configuration for the Wikimedia farm",
"require-dev": {
"jakub-onderka/php-parallel-lint": "1.0.0",
"mediawiki/mediawiki-codesniffer": "29.0.0",
"phpunit/phpunit": "^8.5",
"mediawiki/minus-x": "1.0.0",
"symfony/yaml": "4.3.4"
},
"scripts": {
"lint": "parallel-lint --exclude vendor --exclude multiversion/vendor --ignore-fails .",
"phpcs": "phpcs -p -s",
"fix": [
"phpcbf",
"minus-x fix ."
],
"test": [
"composer lint",
"phpunit",
"composer phpcs",
"minus-x check .",
"composer buildDBLists",
"composer checkclean"
],
"buildDBLists": "php -e multiversion/buildDBLists.php",
"buildConfigCache": "php -e multiversion/buildConfigCache.php",
"diffConfig": [
"composer buildConfigCache",
"git checkout -q HEAD~1",
"git add -f wmf-config/config-cache/",
"composer buildConfigCache",
"git diff -R --minimal --color --exit-code wmf-config/config-cache/",
"git reset wmf-config/config-cache/"
],
"checkclean": "git diff --exit-code wmf-config/ dblists/"
}
}