-
Notifications
You must be signed in to change notification settings - Fork 52
/
composer.json
60 lines (60 loc) · 1.6 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "wikimedia/mediawiki-config",
"description": "MediaWiki configuration for the Wikimedia farm",
"config": {
"platform": {
"php": "7.4.3"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "1.4.0",
"mediawiki/mediawiki-codesniffer": "43.0.0",
"phpunit/phpunit": "9.6.19",
"phpunit/php-code-coverage": "9.2.31",
"mediawiki/minus-x": "1.1.3",
"symfony/yaml": "5.4.39",
"wikimedia/ip-utils": "5.0.0"
},
"scripts": {
"lint": "parallel-lint --exclude vendor --exclude multiversion/vendor --ignore-fails .",
"phpcs": "phpcs -p -s",
"typos": "sh -c \"! git grep -E -I -f typos -- . ':(exclude)typos'\"",
"fix": [
"phpcbf",
"minus-x fix ."
],
"phpunit": [
"phpunit"
],
"test": [
"@typos",
"@lint",
"@phpunit",
"@phpcs",
"minus-x check .",
"@manage-dblist update",
"@checkclean"
],
"manage-dblist": "php multiversion/bin/manage-dblist",
"buildLogoHTML": "php -e multiversion/buildLogoHTML.php",
"buildConfigCache": "php -e tests/buildConfigCache.php",
"diffConfig": [
"@putenv GIT_AUTHOR_EMAIL=diffConfig@localhost",
"@putenv GIT_COMMITTER_EMAIL=diffConfig@localhost",
"@buildConfigCache",
"git checkout -q HEAD~1",
"git add -f tests/data/config-cache/",
"git stash",
"@buildConfigCache",
"git add -f tests/data/config-cache/",
"git stash",
"git diff stash@{0} stash@{1} --minimal --color --exit-code",
"git stash drop",
"git stash drop"
],
"checkclean": "git diff --exit-code wmf-config/ dblists/ dblists-index.php"
}
}