|
2 | 2 | "name": "addwiki/mediawiki-api-base",
|
3 | 3 | "type": "library",
|
4 | 4 | "description": "A basic Mediawiki api base library",
|
5 |
| - "keywords": ["Mediawiki"], |
| 5 | + "keywords": [ |
| 6 | + "Mediawiki" |
| 7 | + ], |
| 8 | + "version": "2.5.0", |
6 | 9 | "license": "GPL-2.0+",
|
7 | 10 | "authors": [
|
8 |
| - { "name": "Addshore" } |
| 11 | + { |
| 12 | + "name": "Addshore" |
| 13 | + } |
9 | 14 | ],
|
10 | 15 | "require": {
|
11 | 16 | "php": ">=5.5",
|
|
14 | 19 | "psr/log": "~1.0"
|
15 | 20 | },
|
16 | 21 | "require-dev": {
|
17 |
| - "phpunit/phpunit": "~4.8.0|~5.3.0", |
18 | 22 | "jakub-onderka/php-parallel-lint": "0.9.2",
|
19 |
| - "mediawiki/mediawiki-codesniffer": "^13.0" |
| 23 | + "mediawiki/mediawiki-codesniffer": "^13.0", |
| 24 | + "phpunit/phpunit": "~4.8.0 || ~5.3.0" |
20 | 25 | },
|
21 | 26 | "suggest": {
|
22 | 27 | "etsy/phan": "Allows running static analysis on the package (requires PHP 7+)"
|
23 | 28 | },
|
24 |
| - "scripts": { |
25 |
| - "lint": "parallel-lint . --exclude vendor", |
26 |
| - "phpunit": "phpunit", |
27 |
| - "phpunit-unit": "phpunit --testsuite unit", |
28 |
| - "phpunit-integration": "phpunit --testsuite integration", |
29 |
| - "phpunit-coverage": "phpunit --coverage-clover=coverage.clover", |
30 |
| - "phpcs": "phpcs -ps", |
31 |
| - "test": [ |
32 |
| - "@lint", |
33 |
| - "@phpcs", |
34 |
| - "@phpunit" |
35 |
| - ] |
36 |
| - }, |
37 | 29 | "autoload": {
|
38 | 30 | "psr-4": {
|
39 | 31 | "Mediawiki\\Api\\": "src/"
|
|
44 | 36 | "tests/Integration/TestEnvironment.php"
|
45 | 37 | ]
|
46 | 38 | },
|
47 |
| - "extra": { |
48 |
| - "branch-alias": { |
49 |
| - "dev-master": "2.5.x-dev" |
50 |
| - } |
| 39 | + "scripts": { |
| 40 | + "lint": "parallel-lint . --exclude vendor", |
| 41 | + "phpcs": "phpcs -ps", |
| 42 | + "phpunit": "phpunit", |
| 43 | + "phpunit-coverage": "phpunit --coverage-clover=coverage.clover", |
| 44 | + "phpunit-integration": "phpunit --testsuite integration", |
| 45 | + "phpunit-unit": "phpunit --testsuite unit", |
| 46 | + "test": [ |
| 47 | + "@lint", |
| 48 | + "@phpcs", |
| 49 | + "@phpunit" |
| 50 | + ] |
51 | 51 | }
|
52 | 52 | }
|
0 commit comments