| 1 | { |
| 2 | "require-dev": { |
| 3 | "mediawiki/lua-sandbox": "4.1.2", |
| 4 | "mediawiki/mediawiki-codesniffer": "45.0.0", |
| 5 | "mediawiki/mediawiki-phan-config": "0.14.0", |
| 6 | "mediawiki/minus-x": "1.1.3", |
| 7 | "php-parallel-lint/php-console-highlighter": "1.0.0", |
| 8 | "php-parallel-lint/php-parallel-lint": "1.4.0" |
| 9 | }, |
| 10 | "repositories": [ |
| 11 | { |
| 12 | "type": "package", |
| 13 | "package": { |
| 14 | "name": "mediawiki/lua-sandbox", |
| 15 | "version": "4.1.2", |
| 16 | "source": { |
| 17 | "url": "https://gerrit.wikimedia.org/r/mediawiki/php/luasandbox.git", |
| 18 | "type": "git", |
| 19 | "reference": "tags/4.1.2" |
| 20 | } |
| 21 | } |
| 22 | } |
| 23 | ], |
| 24 | "scripts": { |
| 25 | "test": [ |
| 26 | "parallel-lint . --exclude vendor --exclude node_modules", |
| 27 | "@phpcs", |
| 28 | "minus-x check ." |
| 29 | ], |
| 30 | "fix": [ |
| 31 | "minus-x fix .", |
| 32 | "phpcbf" |
| 33 | ], |
| 34 | "phan": "phan -d . --long-progress-bar", |
| 35 | "phpcs": "phpcs -sp --cache" |
| 36 | }, |
| 37 | "config": { |
| 38 | "allow-plugins": { |
| 39 | "dealerdirect/phpcodesniffer-composer-installer": true |
| 40 | } |
| 41 | } |
| 42 | } |