-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
55 lines (55 loc) · 1.69 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
{
"name": "mediawiki/semantic-drilldown",
"type": "mediawiki-extension",
"description": "Provides a page for drilling down into the category-based and semantic data of a site, using easily-created filters",
"keywords": [
"SD",
"Semantic Drilldown",
"SMW",
"Semantic MediaWiki",
"Wiki",
"MediaWiki"
],
"homepage": "https://www.mediawiki.org/wiki/Extension:Semantic_Drilldown",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.4"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "44.0.0",
"mediawiki/mediawiki-phan-config": "0.14.0",
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"phpstan/phpstan": "^1.7",
"vimeo/psalm": "^4.23"
},
"scripts": {
"test": [
"@analyze",
"@phpunit"
],
"test-coverage": [
"@analyze",
"@phpunit-coverage"
],
"analyze": [
"@lint",
"@phpcs"
],
"fix": [
"@phpcs-fix"
],
"lint": "parallel-lint includes languages tests/phpunit",
"phpcs": "phpcs -ps",
"phpcs-fix": "phpcbf -p",
"phpstan": "phpstan analyse --configuration=phpstan.neon --memory-limit=2G",
"phpstan-baseline": "phpstan analyse --configuration=phpstan.neon --memory-limit=2G --generate-baseline",
"psalm": "psalm --config=psalm.xml",
"psalm-baseline": "psalm --config=psalm.xml --set-baseline=psalm-baseline.xml",
"phpunit": "php ${MW_INSTALL_PATH:-../..}/tests/phpunit/phpunit.php -c phpunit.xml.dist",
"phpunit-coverage": "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist --testdox --coverage-text --coverage-html coverage/php --coverage-clover coverage/php/coverage.xml",
"minus-x": "minus-x check .",
"minus-x-fix": "minus-x fix ."
}
}