summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UserFunctions/composer.json')
-rw-r--r--UserFunctions/composer.json21
1 files changed, 15 insertions, 6 deletions
diff --git a/UserFunctions/composer.json b/UserFunctions/composer.json
index 245bc692..7ea613cd 100644
--- a/UserFunctions/composer.json
+++ b/UserFunctions/composer.json
@@ -7,22 +7,31 @@
"User"
],
"homepage": "https://www.mediawiki.org/wiki/Extension:UserFunctions",
- "license": "GPL-2.0+",
+ "license": "GPL-2.0-or-later",
"require": {
"php": ">=5.3.0",
"composer/installers": "1.*,>=1.0.1"
},
"autoload": {
- "files": ["UserFunctions.php"],
- "classmap": ["UserFunctions_body.php"]
+ "files": [
+ "UserFunctions.php"
+ ],
+ "classmap": [
+ "UserFunctions_body.php"
+ ]
},
"require-dev": {
- "jakub-onderka/php-parallel-lint": "0.9.2",
- "jakub-onderka/php-console-highlighter": "0.3.2"
+ "jakub-onderka/php-parallel-lint": "1.0.0",
+ "jakub-onderka/php-console-highlighter": "0.3.2",
+ "mediawiki/minus-x": "0.3.1"
},
"scripts": {
"test": [
- "parallel-lint . --exclude vendor"
+ "parallel-lint . --exclude vendor --exclude node_modules",
+ "minus-x check ."
+ ],
+ "fix": [
+ "minus-x fix ."
]
}
}