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
|
{
"name": "addwiki/mediawiki-api-base",
"type": "library",
"description": "A basic Mediawiki api base library",
"keywords": ["Mediawiki"],
"license": "GPL-2.0+",
"authors": [
{ "name": "Addshore" }
],
"require": {
"php": ">=5.5",
"guzzlehttp/guzzle": "~6.0",
"guzzlehttp/promises": "~1.0",
"psr/log": "~1.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8.0|~5.3.0",
"jakub-onderka/php-parallel-lint": "0.9.2",
"mediawiki/mediawiki-codesniffer": "^13.0"
},
"suggest": {
"etsy/phan": "Allows running static analysis on the package (requires PHP 7+)"
},
"scripts": {
"lint": "parallel-lint . --exclude vendor",
"phpunit": "phpunit",
"phpunit-unit": "phpunit --testsuite unit",
"phpunit-integration": "phpunit --testsuite integration",
"phpunit-coverage": "phpunit --coverage-clover=coverage.clover",
"phpcs": "phpcs -ps",
"test": [
"@lint",
"@phpcs",
"@phpunit"
]
},
"autoload": {
"psr-4": {
"Mediawiki\\Api\\": "src/"
}
},
"autoload-dev": {
"files": [
"tests/Integration/TestEnvironment.php"
]
},
"extra": {
"branch-alias": {
"dev-master": "2.4.x-dev"
}
}
}
|